examplev1

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// repeated int32 abs_not_in = 1800;
	E_AbsNotIn = &file_tests_example_v1_predefined_proto_extTypes[0]
)

Extension fields to validate.Int32Rules.

View Source
var File_tests_example_v1_example_proto protoreflect.FileDescriptor
View Source
var File_tests_example_v1_legacy_proto protoreflect.FileDescriptor
View Source
var File_tests_example_v1_predefined_proto protoreflect.FileDescriptor
View Source
var File_tests_example_v1_validations_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CelMapOnARepeated added in v0.4.2

type CelMapOnARepeated struct {
	Values []*CelMapOnARepeated_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/bufbuild/protovalidate/issues/92

func (*CelMapOnARepeated) Descriptor deprecated added in v0.4.2

func (*CelMapOnARepeated) Descriptor() ([]byte, []int)

Deprecated: Use CelMapOnARepeated.ProtoReflect.Descriptor instead.

func (*CelMapOnARepeated) GetValues added in v0.4.2

func (x *CelMapOnARepeated) GetValues() []*CelMapOnARepeated_Value

func (*CelMapOnARepeated) ProtoMessage added in v0.4.2

func (*CelMapOnARepeated) ProtoMessage()

func (*CelMapOnARepeated) ProtoReflect added in v0.4.2

func (x *CelMapOnARepeated) ProtoReflect() protoreflect.Message

func (*CelMapOnARepeated) Reset added in v0.4.2

func (x *CelMapOnARepeated) Reset()

func (*CelMapOnARepeated) String added in v0.4.2

func (x *CelMapOnARepeated) String() string

type CelMapOnARepeated_Value added in v0.4.2

type CelMapOnARepeated_Value struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CelMapOnARepeated_Value) Descriptor deprecated added in v0.4.2

func (*CelMapOnARepeated_Value) Descriptor() ([]byte, []int)

Deprecated: Use CelMapOnARepeated_Value.ProtoReflect.Descriptor instead.

func (*CelMapOnARepeated_Value) GetName added in v0.4.2

func (x *CelMapOnARepeated_Value) GetName() string

func (*CelMapOnARepeated_Value) ProtoMessage added in v0.4.2

func (*CelMapOnARepeated_Value) ProtoMessage()

func (*CelMapOnARepeated_Value) ProtoReflect added in v0.4.2

func (x *CelMapOnARepeated_Value) ProtoReflect() protoreflect.Message

func (*CelMapOnARepeated_Value) Reset added in v0.4.2

func (x *CelMapOnARepeated_Value) Reset()

func (*CelMapOnARepeated_Value) String added in v0.4.2

func (x *CelMapOnARepeated_Value) String() string

type Coordinates

type Coordinates struct {
	Lat float64 `protobuf:"fixed64,1,opt,name=lat,proto3" json:"lat,omitempty"`
	Lng float64 `protobuf:"fixed64,2,opt,name=lng,proto3" json:"lng,omitempty"`
	// contains filtered or unexported fields
}

func (*Coordinates) Descriptor deprecated

func (*Coordinates) Descriptor() ([]byte, []int)

Deprecated: Use Coordinates.ProtoReflect.Descriptor instead.

func (*Coordinates) GetLat

func (x *Coordinates) GetLat() float64

func (*Coordinates) GetLng

func (x *Coordinates) GetLng() float64

func (*Coordinates) ProtoMessage

func (*Coordinates) ProtoMessage()

func (*Coordinates) ProtoReflect

func (x *Coordinates) ProtoReflect() protoreflect.Message

func (*Coordinates) Reset

func (x *Coordinates) Reset()

func (*Coordinates) String

func (x *Coordinates) String() string

type F1 added in v0.6.5

type F1 struct {
	NeedThis string          `protobuf:"bytes,1,opt,name=need_this,json=needThis,proto3" json:"need_this,omitempty"`
	Field    *FieldWithIssue `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"`
	// contains filtered or unexported fields
}

func (*F1) Descriptor deprecated added in v0.6.5

func (*F1) Descriptor() ([]byte, []int)

Deprecated: Use F1.ProtoReflect.Descriptor instead.

func (*F1) GetField added in v0.6.5

func (x *F1) GetField() *FieldWithIssue

func (*F1) GetNeedThis added in v0.6.5

func (x *F1) GetNeedThis() string

func (*F1) ProtoMessage added in v0.6.5

func (*F1) ProtoMessage()

func (*F1) ProtoReflect added in v0.6.5

func (x *F1) ProtoReflect() protoreflect.Message

func (*F1) Reset added in v0.6.5

func (x *F1) Reset()

func (*F1) String added in v0.6.5

func (x *F1) String() string

type F2 added in v0.6.5

type F2 struct {
	Field *FieldWithIssue `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	// contains filtered or unexported fields
}

func (*F2) Descriptor deprecated added in v0.6.5

func (*F2) Descriptor() ([]byte, []int)

Deprecated: Use F2.ProtoReflect.Descriptor instead.

func (*F2) GetField added in v0.6.5

func (x *F2) GetField() *FieldWithIssue

func (*F2) ProtoMessage added in v0.6.5

func (*F2) ProtoMessage()

func (*F2) ProtoReflect added in v0.6.5

func (x *F2) ProtoReflect() protoreflect.Message

func (*F2) Reset added in v0.6.5

func (x *F2) Reset()

func (*F2) String added in v0.6.5

func (x *F2) String() string

type FieldOfTypeAny added in v0.4.0

type FieldOfTypeAny struct {
	Any *anypb.Any `protobuf:"bytes,1,opt,name=any,proto3" json:"any,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldOfTypeAny) Descriptor deprecated added in v0.4.0

func (*FieldOfTypeAny) Descriptor() ([]byte, []int)

Deprecated: Use FieldOfTypeAny.ProtoReflect.Descriptor instead.

func (*FieldOfTypeAny) GetAny added in v0.4.0

func (x *FieldOfTypeAny) GetAny() *anypb.Any

func (*FieldOfTypeAny) ProtoMessage added in v0.4.0

func (*FieldOfTypeAny) ProtoMessage()

func (*FieldOfTypeAny) ProtoReflect added in v0.4.0

func (x *FieldOfTypeAny) ProtoReflect() protoreflect.Message

func (*FieldOfTypeAny) Reset added in v0.4.0

func (x *FieldOfTypeAny) Reset()

func (*FieldOfTypeAny) String added in v0.4.0

func (x *FieldOfTypeAny) String() string

type FieldWithIssue added in v0.6.5

type FieldWithIssue struct {
	F1   *F1    `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldWithIssue) Descriptor deprecated added in v0.6.5

func (*FieldWithIssue) Descriptor() ([]byte, []int)

Deprecated: Use FieldWithIssue.ProtoReflect.Descriptor instead.

func (*FieldWithIssue) GetF1 added in v0.6.5

func (x *FieldWithIssue) GetF1() *F1

func (*FieldWithIssue) GetName added in v0.6.5

func (x *FieldWithIssue) GetName() string

func (*FieldWithIssue) ProtoMessage added in v0.6.5

func (*FieldWithIssue) ProtoMessage()

func (*FieldWithIssue) ProtoReflect added in v0.6.5

func (x *FieldWithIssue) ProtoReflect() protoreflect.Message

func (*FieldWithIssue) Reset added in v0.6.5

func (x *FieldWithIssue) Reset()

func (*FieldWithIssue) String added in v0.6.5

func (x *FieldWithIssue) String() string

type HasMsgExprs

type HasMsgExprs struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

func (*HasMsgExprs) Descriptor deprecated

func (*HasMsgExprs) Descriptor() ([]byte, []int)

Deprecated: Use HasMsgExprs.ProtoReflect.Descriptor instead.

func (*HasMsgExprs) GetX

func (x *HasMsgExprs) GetX() int32

func (*HasMsgExprs) GetY

func (x *HasMsgExprs) GetY() int32

func (*HasMsgExprs) ProtoMessage

func (*HasMsgExprs) ProtoMessage()

func (*HasMsgExprs) ProtoReflect

func (x *HasMsgExprs) ProtoReflect() protoreflect.Message

func (*HasMsgExprs) Reset

func (x *HasMsgExprs) Reset()

func (*HasMsgExprs) String

func (x *HasMsgExprs) String() string

type Issue148 added in v0.7.1

type Issue148 struct {
	Test *int32 `protobuf:"varint,1,opt,name=test" json:"test,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/bufbuild/protovalidate-go/issues/148

func (*Issue148) Descriptor deprecated added in v0.7.1

func (*Issue148) Descriptor() ([]byte, []int)

Deprecated: Use Issue148.ProtoReflect.Descriptor instead.

func (*Issue148) GetTest added in v0.7.1

func (x *Issue148) GetTest() int32

func (*Issue148) ProtoMessage added in v0.7.1

func (*Issue148) ProtoMessage()

func (*Issue148) ProtoReflect added in v0.7.1

func (x *Issue148) ProtoReflect() protoreflect.Message

func (*Issue148) Reset added in v0.7.1

func (x *Issue148) Reset()

func (*Issue148) String added in v0.7.1

func (x *Issue148) String() string

type LegacyDisabled

type LegacyDisabled struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyDisabled) Descriptor deprecated

func (*LegacyDisabled) Descriptor() ([]byte, []int)

Deprecated: Use LegacyDisabled.ProtoReflect.Descriptor instead.

func (*LegacyDisabled) GetX

func (x *LegacyDisabled) GetX() int32

func (*LegacyDisabled) ProtoMessage

func (*LegacyDisabled) ProtoMessage()

func (*LegacyDisabled) ProtoReflect

func (x *LegacyDisabled) ProtoReflect() protoreflect.Message

func (*LegacyDisabled) Reset

func (x *LegacyDisabled) Reset()

func (*LegacyDisabled) String

func (x *LegacyDisabled) String() string

type LegacyEnum

type LegacyEnum struct {
	X string `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyEnum) Descriptor deprecated

func (*LegacyEnum) Descriptor() ([]byte, []int)

Deprecated: Use LegacyEnum.ProtoReflect.Descriptor instead.

func (*LegacyEnum) GetX

func (x *LegacyEnum) GetX() string

func (*LegacyEnum) ProtoMessage

func (*LegacyEnum) ProtoMessage()

func (*LegacyEnum) ProtoReflect

func (x *LegacyEnum) ProtoReflect() protoreflect.Message

func (*LegacyEnum) Reset

func (x *LegacyEnum) Reset()

func (*LegacyEnum) String

func (x *LegacyEnum) String() string

type LegacyIgnoreEmpty

type LegacyIgnoreEmpty struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyIgnoreEmpty) Descriptor deprecated

func (*LegacyIgnoreEmpty) Descriptor() ([]byte, []int)

Deprecated: Use LegacyIgnoreEmpty.ProtoReflect.Descriptor instead.

func (*LegacyIgnoreEmpty) GetX

func (x *LegacyIgnoreEmpty) GetX() int32

func (*LegacyIgnoreEmpty) ProtoMessage

func (*LegacyIgnoreEmpty) ProtoMessage()

func (*LegacyIgnoreEmpty) ProtoReflect

func (x *LegacyIgnoreEmpty) ProtoReflect() protoreflect.Message

func (*LegacyIgnoreEmpty) Reset

func (x *LegacyIgnoreEmpty) Reset()

func (*LegacyIgnoreEmpty) String

func (x *LegacyIgnoreEmpty) String() string

type LegacyIgnored

type LegacyIgnored struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyIgnored) Descriptor deprecated

func (*LegacyIgnored) Descriptor() ([]byte, []int)

Deprecated: Use LegacyIgnored.ProtoReflect.Descriptor instead.

func (*LegacyIgnored) GetX

func (x *LegacyIgnored) GetX() int32

func (*LegacyIgnored) ProtoMessage

func (*LegacyIgnored) ProtoMessage()

func (*LegacyIgnored) ProtoReflect

func (x *LegacyIgnored) ProtoReflect() protoreflect.Message

func (*LegacyIgnored) Reset

func (x *LegacyIgnored) Reset()

func (*LegacyIgnored) String

func (x *LegacyIgnored) String() string

type LegacyIn

type LegacyIn struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyIn) Descriptor deprecated

func (*LegacyIn) Descriptor() ([]byte, []int)

Deprecated: Use LegacyIn.ProtoReflect.Descriptor instead.

func (*LegacyIn) GetX

func (x *LegacyIn) GetX() int32

func (*LegacyIn) ProtoMessage

func (*LegacyIn) ProtoMessage()

func (*LegacyIn) ProtoReflect

func (x *LegacyIn) ProtoReflect() protoreflect.Message

func (*LegacyIn) Reset

func (x *LegacyIn) Reset()

func (*LegacyIn) String

func (x *LegacyIn) String() string

type LegacyMap

type LegacyMap struct {
	X map[string]int32 `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LegacyMap) Descriptor deprecated

func (*LegacyMap) Descriptor() ([]byte, []int)

Deprecated: Use LegacyMap.ProtoReflect.Descriptor instead.

func (*LegacyMap) GetX

func (x *LegacyMap) GetX() map[string]int32

func (*LegacyMap) ProtoMessage

func (*LegacyMap) ProtoMessage()

func (*LegacyMap) ProtoReflect

func (x *LegacyMap) ProtoReflect() protoreflect.Message

func (*LegacyMap) Reset

func (x *LegacyMap) Reset()

func (*LegacyMap) String

func (x *LegacyMap) String() string

type LegacyMessageRequired

type LegacyMessageRequired struct {
	X *LegacySimple `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyMessageRequired) Descriptor deprecated

func (*LegacyMessageRequired) Descriptor() ([]byte, []int)

Deprecated: Use LegacyMessageRequired.ProtoReflect.Descriptor instead.

func (*LegacyMessageRequired) GetX

func (*LegacyMessageRequired) ProtoMessage

func (*LegacyMessageRequired) ProtoMessage()

func (*LegacyMessageRequired) ProtoReflect

func (x *LegacyMessageRequired) ProtoReflect() protoreflect.Message

func (*LegacyMessageRequired) Reset

func (x *LegacyMessageRequired) Reset()

func (*LegacyMessageRequired) String

func (x *LegacyMessageRequired) String() string

type LegacyMixedFields

type LegacyMixedFields struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyMixedFields) Descriptor deprecated

func (*LegacyMixedFields) Descriptor() ([]byte, []int)

Deprecated: Use LegacyMixedFields.ProtoReflect.Descriptor instead.

func (*LegacyMixedFields) GetX

func (x *LegacyMixedFields) GetX() int32

func (*LegacyMixedFields) ProtoMessage

func (*LegacyMixedFields) ProtoMessage()

func (*LegacyMixedFields) ProtoReflect

func (x *LegacyMixedFields) ProtoReflect() protoreflect.Message

func (*LegacyMixedFields) Reset

func (x *LegacyMixedFields) Reset()

func (*LegacyMixedFields) String

func (x *LegacyMixedFields) String() string

type LegacyMixedMessage

type LegacyMixedMessage struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyMixedMessage) Descriptor deprecated

func (*LegacyMixedMessage) Descriptor() ([]byte, []int)

Deprecated: Use LegacyMixedMessage.ProtoReflect.Descriptor instead.

func (*LegacyMixedMessage) GetX

func (x *LegacyMixedMessage) GetX() int32

func (*LegacyMixedMessage) ProtoMessage

func (*LegacyMixedMessage) ProtoMessage()

func (*LegacyMixedMessage) ProtoReflect

func (x *LegacyMixedMessage) ProtoReflect() protoreflect.Message

func (*LegacyMixedMessage) Reset

func (x *LegacyMixedMessage) Reset()

func (*LegacyMixedMessage) String

func (x *LegacyMixedMessage) String() string

type LegacyMixedOneof

type LegacyMixedOneof struct {

	// Types that are assignable to O:
	//
	//	*LegacyMixedOneof_X
	O isLegacyMixedOneof_O `protobuf_oneof:"o"`
	// contains filtered or unexported fields
}

func (*LegacyMixedOneof) Descriptor deprecated

func (*LegacyMixedOneof) Descriptor() ([]byte, []int)

Deprecated: Use LegacyMixedOneof.ProtoReflect.Descriptor instead.

func (*LegacyMixedOneof) GetO

func (m *LegacyMixedOneof) GetO() isLegacyMixedOneof_O

func (*LegacyMixedOneof) GetX

func (x *LegacyMixedOneof) GetX() int32

func (*LegacyMixedOneof) ProtoMessage

func (*LegacyMixedOneof) ProtoMessage()

func (*LegacyMixedOneof) ProtoReflect

func (x *LegacyMixedOneof) ProtoReflect() protoreflect.Message

func (*LegacyMixedOneof) Reset

func (x *LegacyMixedOneof) Reset()

func (*LegacyMixedOneof) String

func (x *LegacyMixedOneof) String() string

type LegacyMixedOneof_X

type LegacyMixedOneof_X struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3,oneof"`
}

type LegacyNone

type LegacyNone struct {

	// Types that are assignable to O:
	//
	//	*LegacyNone_X
	O isLegacyNone_O `protobuf_oneof:"o"`
	// contains filtered or unexported fields
}

func (*LegacyNone) Descriptor deprecated

func (*LegacyNone) Descriptor() ([]byte, []int)

Deprecated: Use LegacyNone.ProtoReflect.Descriptor instead.

func (*LegacyNone) GetO

func (m *LegacyNone) GetO() isLegacyNone_O

func (*LegacyNone) GetX

func (x *LegacyNone) GetX() int32

func (*LegacyNone) ProtoMessage

func (*LegacyNone) ProtoMessage()

func (*LegacyNone) ProtoReflect

func (x *LegacyNone) ProtoReflect() protoreflect.Message

func (*LegacyNone) Reset

func (x *LegacyNone) Reset()

func (*LegacyNone) String

func (x *LegacyNone) String() string

type LegacyNone_X

type LegacyNone_X struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3,oneof"`
}

type LegacyOneofRequired

type LegacyOneofRequired struct {

	// Types that are assignable to O:
	//
	//	*LegacyOneofRequired_X
	O isLegacyOneofRequired_O `protobuf_oneof:"o"`
	// contains filtered or unexported fields
}

func (*LegacyOneofRequired) Descriptor deprecated

func (*LegacyOneofRequired) Descriptor() ([]byte, []int)

Deprecated: Use LegacyOneofRequired.ProtoReflect.Descriptor instead.

func (*LegacyOneofRequired) GetO

func (m *LegacyOneofRequired) GetO() isLegacyOneofRequired_O

func (*LegacyOneofRequired) GetX

func (x *LegacyOneofRequired) GetX() int32

func (*LegacyOneofRequired) ProtoMessage

func (*LegacyOneofRequired) ProtoMessage()

func (*LegacyOneofRequired) ProtoReflect

func (x *LegacyOneofRequired) ProtoReflect() protoreflect.Message

func (*LegacyOneofRequired) Reset

func (x *LegacyOneofRequired) Reset()

func (*LegacyOneofRequired) String

func (x *LegacyOneofRequired) String() string

type LegacyOneofRequired_X

type LegacyOneofRequired_X struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3,oneof"`
}

type LegacyRepeated

type LegacyRepeated struct {
	X []int32 `protobuf:"varint,1,rep,packed,name=x,proto3" json:"x,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyRepeated) Descriptor deprecated

func (*LegacyRepeated) Descriptor() ([]byte, []int)

Deprecated: Use LegacyRepeated.ProtoReflect.Descriptor instead.

func (*LegacyRepeated) GetX

func (x *LegacyRepeated) GetX() []int32

func (*LegacyRepeated) ProtoMessage

func (*LegacyRepeated) ProtoMessage()

func (*LegacyRepeated) ProtoReflect

func (x *LegacyRepeated) ProtoReflect() protoreflect.Message

func (*LegacyRepeated) Reset

func (x *LegacyRepeated) Reset()

func (*LegacyRepeated) String

func (x *LegacyRepeated) String() string

type LegacySimple

type LegacySimple struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacySimple) Descriptor deprecated

func (*LegacySimple) Descriptor() ([]byte, []int)

Deprecated: Use LegacySimple.ProtoReflect.Descriptor instead.

func (*LegacySimple) GetX

func (x *LegacySimple) GetX() int32

func (*LegacySimple) ProtoMessage

func (*LegacySimple) ProtoMessage()

func (*LegacySimple) ProtoReflect

func (x *LegacySimple) ProtoReflect() protoreflect.Message

func (*LegacySimple) Reset

func (x *LegacySimple) Reset()

func (*LegacySimple) String

func (x *LegacySimple) String() string

type LegacySkipped

type LegacySkipped struct {
	X *LegacySimple `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacySkipped) Descriptor deprecated

func (*LegacySkipped) Descriptor() ([]byte, []int)

Deprecated: Use LegacySkipped.ProtoReflect.Descriptor instead.

func (*LegacySkipped) GetX

func (x *LegacySkipped) GetX() *LegacySimple

func (*LegacySkipped) ProtoMessage

func (*LegacySkipped) ProtoMessage()

func (*LegacySkipped) ProtoReflect

func (x *LegacySkipped) ProtoReflect() protoreflect.Message

func (*LegacySkipped) Reset

func (x *LegacySkipped) Reset()

func (*LegacySkipped) String

func (x *LegacySkipped) String() string

type LegacyWKTRequired

type LegacyWKTRequired struct {
	Any *anypb.Any             `protobuf:"bytes,1,opt,name=any,proto3" json:"any,omitempty"`
	Ts  *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"`
	Dur *durationpb.Duration   `protobuf:"bytes,3,opt,name=dur,proto3" json:"dur,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyWKTRequired) Descriptor deprecated

func (*LegacyWKTRequired) Descriptor() ([]byte, []int)

Deprecated: Use LegacyWKTRequired.ProtoReflect.Descriptor instead.

func (*LegacyWKTRequired) GetAny

func (x *LegacyWKTRequired) GetAny() *anypb.Any

func (*LegacyWKTRequired) GetDur

func (x *LegacyWKTRequired) GetDur() *durationpb.Duration

func (*LegacyWKTRequired) GetTs

func (*LegacyWKTRequired) ProtoMessage

func (*LegacyWKTRequired) ProtoMessage()

func (*LegacyWKTRequired) ProtoReflect

func (x *LegacyWKTRequired) ProtoReflect() protoreflect.Message

func (*LegacyWKTRequired) Reset

func (x *LegacyWKTRequired) Reset()

func (*LegacyWKTRequired) String

func (x *LegacyWKTRequired) String() string

type LoopRecursiveA

type LoopRecursiveA struct {
	B *LoopRecursiveB `protobuf:"bytes,1,opt,name=b,proto3" json:"b,omitempty"`
	// contains filtered or unexported fields
}

func (*LoopRecursiveA) Descriptor deprecated

func (*LoopRecursiveA) Descriptor() ([]byte, []int)

Deprecated: Use LoopRecursiveA.ProtoReflect.Descriptor instead.

func (*LoopRecursiveA) GetB

func (x *LoopRecursiveA) GetB() *LoopRecursiveB

func (*LoopRecursiveA) ProtoMessage

func (*LoopRecursiveA) ProtoMessage()

func (*LoopRecursiveA) ProtoReflect

func (x *LoopRecursiveA) ProtoReflect() protoreflect.Message

func (*LoopRecursiveA) Reset

func (x *LoopRecursiveA) Reset()

func (*LoopRecursiveA) String

func (x *LoopRecursiveA) String() string

type LoopRecursiveB

type LoopRecursiveB struct {
	A *LoopRecursiveA `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
	// contains filtered or unexported fields
}

func (*LoopRecursiveB) Descriptor deprecated

func (*LoopRecursiveB) Descriptor() ([]byte, []int)

Deprecated: Use LoopRecursiveB.ProtoReflect.Descriptor instead.

func (*LoopRecursiveB) GetA

func (x *LoopRecursiveB) GetA() *LoopRecursiveA

func (*LoopRecursiveB) ProtoMessage

func (*LoopRecursiveB) ProtoMessage()

func (*LoopRecursiveB) ProtoReflect

func (x *LoopRecursiveB) ProtoReflect() protoreflect.Message

func (*LoopRecursiveB) Reset

func (x *LoopRecursiveB) Reset()

func (*LoopRecursiveB) String

func (x *LoopRecursiveB) String() string

type MsgHasMap

type MsgHasMap struct {
	Int32Map   map[int32]int32           `` /* 159-byte string literal not displayed */
	StringMap  map[string]string         `` /* 176-byte string literal not displayed */
	MessageMap map[int64]*LoopRecursiveA `` /* 180-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MsgHasMap) Descriptor deprecated

func (*MsgHasMap) Descriptor() ([]byte, []int)

Deprecated: Use MsgHasMap.ProtoReflect.Descriptor instead.

func (*MsgHasMap) GetInt32Map

func (x *MsgHasMap) GetInt32Map() map[int32]int32

func (*MsgHasMap) GetMessageMap

func (x *MsgHasMap) GetMessageMap() map[int64]*LoopRecursiveA

func (*MsgHasMap) GetStringMap

func (x *MsgHasMap) GetStringMap() map[string]string

func (*MsgHasMap) ProtoMessage

func (*MsgHasMap) ProtoMessage()

func (*MsgHasMap) ProtoReflect

func (x *MsgHasMap) ProtoReflect() protoreflect.Message

func (*MsgHasMap) Reset

func (x *MsgHasMap) Reset()

func (*MsgHasMap) String

func (x *MsgHasMap) String() string

type MsgHasOneof

type MsgHasOneof struct {

	// Types that are assignable to O:
	//
	//	*MsgHasOneof_X
	//	*MsgHasOneof_Y
	//	*MsgHasOneof_Msg
	O isMsgHasOneof_O `protobuf_oneof:"o"`
	// contains filtered or unexported fields
}

func (*MsgHasOneof) Descriptor deprecated

func (*MsgHasOneof) Descriptor() ([]byte, []int)

Deprecated: Use MsgHasOneof.ProtoReflect.Descriptor instead.

func (*MsgHasOneof) GetMsg

func (x *MsgHasOneof) GetMsg() *HasMsgExprs

func (*MsgHasOneof) GetO

func (m *MsgHasOneof) GetO() isMsgHasOneof_O

func (*MsgHasOneof) GetX

func (x *MsgHasOneof) GetX() string

func (*MsgHasOneof) GetY

func (x *MsgHasOneof) GetY() int32

func (*MsgHasOneof) ProtoMessage

func (*MsgHasOneof) ProtoMessage()

func (*MsgHasOneof) ProtoReflect

func (x *MsgHasOneof) ProtoReflect() protoreflect.Message

func (*MsgHasOneof) Reset

func (x *MsgHasOneof) Reset()

func (*MsgHasOneof) String

func (x *MsgHasOneof) String() string

type MsgHasOneof_Msg

type MsgHasOneof_Msg struct {
	Msg *HasMsgExprs `protobuf:"bytes,3,opt,name=msg,proto3,oneof"`
}

type MsgHasOneof_X

type MsgHasOneof_X struct {
	X string `protobuf:"bytes,1,opt,name=x,proto3,oneof"`
}

type MsgHasOneof_Y

type MsgHasOneof_Y struct {
	Y int32 `protobuf:"varint,2,opt,name=y,proto3,oneof"`
}

type MsgHasRepeated

type MsgHasRepeated struct {
	X []float32      `protobuf:"fixed32,1,rep,packed,name=x,proto3" json:"x,omitempty"`
	Y []string       `protobuf:"bytes,2,rep,name=y,proto3" json:"y,omitempty"`
	Z []*HasMsgExprs `protobuf:"bytes,3,rep,name=z,proto3" json:"z,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgHasRepeated) Descriptor deprecated

func (*MsgHasRepeated) Descriptor() ([]byte, []int)

Deprecated: Use MsgHasRepeated.ProtoReflect.Descriptor instead.

func (*MsgHasRepeated) GetX

func (x *MsgHasRepeated) GetX() []float32

func (*MsgHasRepeated) GetY

func (x *MsgHasRepeated) GetY() []string

func (*MsgHasRepeated) GetZ

func (x *MsgHasRepeated) GetZ() []*HasMsgExprs

func (*MsgHasRepeated) ProtoMessage

func (*MsgHasRepeated) ProtoMessage()

func (*MsgHasRepeated) ProtoReflect

func (x *MsgHasRepeated) ProtoReflect() protoreflect.Message

func (*MsgHasRepeated) Reset

func (x *MsgHasRepeated) Reset()

func (*MsgHasRepeated) String

func (x *MsgHasRepeated) String() string

type MultipleStepsTransitiveFieldConstraints added in v0.3.3

type MultipleStepsTransitiveFieldConstraints struct {
	Api *apipb.Api `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	// contains filtered or unexported fields
}

func (*MultipleStepsTransitiveFieldConstraints) Descriptor deprecated added in v0.3.3

func (*MultipleStepsTransitiveFieldConstraints) Descriptor() ([]byte, []int)

Deprecated: Use MultipleStepsTransitiveFieldConstraints.ProtoReflect.Descriptor instead.

func (*MultipleStepsTransitiveFieldConstraints) GetApi added in v0.3.3

func (*MultipleStepsTransitiveFieldConstraints) ProtoMessage added in v0.3.3

func (*MultipleStepsTransitiveFieldConstraints) ProtoReflect added in v0.3.3

func (*MultipleStepsTransitiveFieldConstraints) Reset added in v0.3.3

func (*MultipleStepsTransitiveFieldConstraints) String added in v0.3.3

type OneTwo added in v0.6.5

type OneTwo struct {
	Field1 *F1 `protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty"`
	Field2 *F2 `protobuf:"bytes,2,opt,name=field2,proto3" json:"field2,omitempty"`
	// contains filtered or unexported fields
}

func (*OneTwo) Descriptor deprecated added in v0.6.5

func (*OneTwo) Descriptor() ([]byte, []int)

Deprecated: Use OneTwo.ProtoReflect.Descriptor instead.

func (*OneTwo) GetField1 added in v0.6.5

func (x *OneTwo) GetField1() *F1

func (*OneTwo) GetField2 added in v0.6.5

func (x *OneTwo) GetField2() *F2

func (*OneTwo) ProtoMessage added in v0.6.5

func (*OneTwo) ProtoMessage()

func (*OneTwo) ProtoReflect added in v0.6.5

func (x *OneTwo) ProtoReflect() protoreflect.Message

func (*OneTwo) Reset added in v0.6.5

func (x *OneTwo) Reset()

func (*OneTwo) String added in v0.6.5

func (x *OneTwo) String() string

type Person

type Person struct {
	Id    uint64       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Email string       `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Name  string       `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Home  *Coordinates `protobuf:"bytes,4,opt,name=home,proto3" json:"home,omitempty"`
	// contains filtered or unexported fields
}

func (*Person) Descriptor deprecated

func (*Person) Descriptor() ([]byte, []int)

Deprecated: Use Person.ProtoReflect.Descriptor instead.

func (*Person) GetEmail

func (x *Person) GetEmail() string

func (*Person) GetHome

func (x *Person) GetHome() *Coordinates

func (*Person) GetId

func (x *Person) GetId() uint64

func (*Person) GetName

func (x *Person) GetName() string

func (*Person) ProtoMessage

func (*Person) ProtoMessage()

func (*Person) ProtoReflect

func (x *Person) ProtoReflect() protoreflect.Message

func (*Person) Reset

func (x *Person) Reset()

func (*Person) String

func (x *Person) String() string

type RepeatedItemCel added in v0.5.1

type RepeatedItemCel struct {
	Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

func (*RepeatedItemCel) Descriptor deprecated added in v0.5.1

func (*RepeatedItemCel) Descriptor() ([]byte, []int)

Deprecated: Use RepeatedItemCel.ProtoReflect.Descriptor instead.

func (*RepeatedItemCel) GetPaths added in v0.5.1

func (x *RepeatedItemCel) GetPaths() []string

func (*RepeatedItemCel) ProtoMessage added in v0.5.1

func (*RepeatedItemCel) ProtoMessage()

func (*RepeatedItemCel) ProtoReflect added in v0.5.1

func (x *RepeatedItemCel) ProtoReflect() protoreflect.Message

func (*RepeatedItemCel) Reset added in v0.5.1

func (x *RepeatedItemCel) Reset()

func (*RepeatedItemCel) String added in v0.5.1

func (x *RepeatedItemCel) String() string

type SelfRecursive

type SelfRecursive struct {
	X      int32          `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	Turtle *SelfRecursive `protobuf:"bytes,2,opt,name=turtle,proto3" json:"turtle,omitempty"`
	// contains filtered or unexported fields
}

func (*SelfRecursive) Descriptor deprecated

func (*SelfRecursive) Descriptor() ([]byte, []int)

Deprecated: Use SelfRecursive.ProtoReflect.Descriptor instead.

func (*SelfRecursive) GetTurtle

func (x *SelfRecursive) GetTurtle() *SelfRecursive

func (*SelfRecursive) GetX

func (x *SelfRecursive) GetX() int32

func (*SelfRecursive) ProtoMessage

func (*SelfRecursive) ProtoMessage()

func (*SelfRecursive) ProtoReflect

func (x *SelfRecursive) ProtoReflect() protoreflect.Message

func (*SelfRecursive) Reset

func (x *SelfRecursive) Reset()

func (*SelfRecursive) String

func (x *SelfRecursive) String() string

type Simple added in v0.4.0

type Simple struct {
	S string `protobuf:"bytes,1,opt,name=s,proto3" json:"s,omitempty"`
	// contains filtered or unexported fields
}

func (*Simple) Descriptor deprecated added in v0.4.0

func (*Simple) Descriptor() ([]byte, []int)

Deprecated: Use Simple.ProtoReflect.Descriptor instead.

func (*Simple) GetS added in v0.4.0

func (x *Simple) GetS() string

func (*Simple) ProtoMessage added in v0.4.0

func (*Simple) ProtoMessage()

func (*Simple) ProtoReflect added in v0.4.0

func (x *Simple) ProtoReflect() protoreflect.Message

func (*Simple) Reset added in v0.4.0

func (x *Simple) Reset()

func (*Simple) String added in v0.4.0

func (x *Simple) String() string

type TransitiveFieldConstraint added in v0.3.3

type TransitiveFieldConstraint struct {
	Mask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=mask,proto3" json:"mask,omitempty"`
	// contains filtered or unexported fields
}

func (*TransitiveFieldConstraint) Descriptor deprecated added in v0.3.3

func (*TransitiveFieldConstraint) Descriptor() ([]byte, []int)

Deprecated: Use TransitiveFieldConstraint.ProtoReflect.Descriptor instead.

func (*TransitiveFieldConstraint) GetMask added in v0.3.3

func (*TransitiveFieldConstraint) ProtoMessage added in v0.3.3

func (*TransitiveFieldConstraint) ProtoMessage()

func (*TransitiveFieldConstraint) ProtoReflect added in v0.3.3

func (*TransitiveFieldConstraint) Reset added in v0.3.3

func (x *TransitiveFieldConstraint) Reset()

func (*TransitiveFieldConstraint) String added in v0.3.3

func (x *TransitiveFieldConstraint) String() string

type TwoOne added in v0.6.5

type TwoOne struct {
	Field2 *F2 `protobuf:"bytes,1,opt,name=field2,proto3" json:"field2,omitempty"`
	Field1 *F1 `protobuf:"bytes,2,opt,name=field1,proto3" json:"field1,omitempty"`
	// contains filtered or unexported fields
}

func (*TwoOne) Descriptor deprecated added in v0.6.5

func (*TwoOne) Descriptor() ([]byte, []int)

Deprecated: Use TwoOne.ProtoReflect.Descriptor instead.

func (*TwoOne) GetField1 added in v0.6.5

func (x *TwoOne) GetField1() *F1

func (*TwoOne) GetField2 added in v0.6.5

func (x *TwoOne) GetField2() *F2

func (*TwoOne) ProtoMessage added in v0.6.5

func (*TwoOne) ProtoMessage()

func (*TwoOne) ProtoReflect added in v0.6.5

func (x *TwoOne) ProtoReflect() protoreflect.Message

func (*TwoOne) Reset added in v0.6.5

func (x *TwoOne) Reset()

func (*TwoOne) String added in v0.6.5

func (x *TwoOne) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL