Default values for ValidationP2OptionalWithDefaults fields.
const ( Default_ValidationP2OptionalWithDefaults_DoubleField = float64(1.11) Default_ValidationP2OptionalWithDefaults_FloatField = float32(2.2200000286102295) Default_ValidationP2OptionalWithDefaults_Int32Field = int32(3) Default_ValidationP2OptionalWithDefaults_Int64Field = int64(4) Default_ValidationP2OptionalWithDefaults_Uint32Field = uint32(5) Default_ValidationP2OptionalWithDefaults_Sint32Field = int32(7) Default_ValidationP2OptionalWithDefaults_Sint64Field = int64(8) Default_ValidationP2OptionalWithDefaults_Fixed32Field = uint32(9) Default_ValidationP2OptionalWithDefaults_Sfixed32Field = int32(11) Default_ValidationP2OptionalWithDefaults_Sfixed64Field = int64(12) Default_ValidationP2OptionalWithDefaults_BoolField = bool(true) Default_ValidationP2OptionalWithDefaults_StringField = string("custom default") Default_ValidationP2OptionalWithDefaults_EnumField = Proto2ExampleEnum_P2_OTHER_THING )
Enum value maps for ExtEnum.
var ( ExtEnum_name = map[int32]string{ 0: "UNDEFINED", 1: "THING", 2: "OTHER_THING", } ExtEnum_value = map[string]int32{ "UNDEFINED": 0, "THING": 1, "OTHER_THING": 2, } )
Enum value maps for OutOfOrderDefinitionProto2_OutOfOrderEnum.
var ( OutOfOrderDefinitionProto2_OutOfOrderEnum_name = map[int32]string{ 1: "E1", 3: "E3", 2: "E2", } OutOfOrderDefinitionProto2_OutOfOrderEnum_value = map[string]int32{ "E1": 1, "E3": 3, "E2": 2, } )
var ( SimpleMessageSchema bigquery.Schema = bigquery.Schema{ {Name: "name", Type: bigquery.StringFieldType, Required: true}, {Name: "value", Type: bigquery.IntegerFieldType}, } SimpleMessageEvolvedSchema bigquery.Schema = bigquery.Schema{ {Name: "name", Type: bigquery.StringFieldType, Required: true}, {Name: "value", Type: bigquery.IntegerFieldType}, {Name: "other", Type: bigquery.StringFieldType}, } GithubArchiveSchema bigquery.Schema = bigquery.Schema{ {Name: "type", Type: bigquery.StringFieldType}, {Name: "public", Type: bigquery.BooleanFieldType}, {Name: "payload", Type: bigquery.StringFieldType}, { Name: "repo", Type: bigquery.RecordFieldType, Schema: bigquery.Schema{ {Name: "id", Type: bigquery.IntegerFieldType}, {Name: "name", Type: bigquery.StringFieldType}, {Name: "url", Type: bigquery.StringFieldType}, }, }, { Name: "actor", Type: bigquery.RecordFieldType, Schema: bigquery.Schema{ {Name: "id", Type: bigquery.IntegerFieldType}, {Name: "login", Type: bigquery.StringFieldType}, {Name: "gravatar_id", Type: bigquery.StringFieldType}, {Name: "avatar_url", Type: bigquery.StringFieldType}, {Name: "url", Type: bigquery.StringFieldType}, }, }, { Name: "org", Type: bigquery.RecordFieldType, Schema: bigquery.Schema{ {Name: "id", Type: bigquery.IntegerFieldType}, {Name: "login", Type: bigquery.StringFieldType}, {Name: "gravatar_id", Type: bigquery.StringFieldType}, {Name: "avatar_url", Type: bigquery.StringFieldType}, {Name: "url", Type: bigquery.StringFieldType}, }, }, {Name: "created_at", Type: bigquery.TimestampFieldType}, {Name: "id", Type: bigquery.StringFieldType}, {Name: "other", Type: bigquery.StringFieldType}, } ComplexTypeSchema bigquery.Schema = bigquery.Schema{ { Name: "nested_repeated_type", Type: bigquery.RecordFieldType, Repeated: true, Schema: bigquery.Schema{ { Name: "inner_type", Type: bigquery.RecordFieldType, Repeated: true, Schema: bigquery.Schema{ {Name: "value", Type: bigquery.StringFieldType, Repeated: true}, }, }, }, }, { Name: "inner_type", Type: bigquery.RecordFieldType, Schema: bigquery.Schema{ {Name: "value", Type: bigquery.StringFieldType, Repeated: true}, }, }, { Name: "range_type", Type: bigquery.RangeFieldType, RangeElementType: &bigquery.RangeElementType{ Type: bigquery.TimestampFieldType, }, }, } // We currently follow proto2 rules here, hence the well known types getting treated as records. WithWellKnownTypesSchema bigquery.Schema = bigquery.Schema{ {Name: "int64_value", Type: bigquery.IntegerFieldType}, { Name: "wrapped_int64", Type: bigquery.RecordFieldType, Schema: bigquery.Schema{ {Name: "value", Type: bigquery.IntegerFieldType}, }, }, {Name: "string_value", Type: bigquery.StringFieldType, Repeated: true}, { Name: "wrapped_string", Type: bigquery.RecordFieldType, Repeated: true, Schema: bigquery.Schema{ {Name: "value", Type: bigquery.StringFieldType}, }, }, } ExternalEnumMessageSchema bigquery.Schema = bigquery.Schema{ { Name: "msg_a", Type: bigquery.RecordFieldType, Schema: bigquery.Schema{ {Name: "foo", Type: bigquery.StringFieldType}, {Name: "bar", Type: bigquery.IntegerFieldType}, }, }, { Name: "msg_b", Type: bigquery.RecordFieldType, Schema: bigquery.Schema{ {Name: "baz", Type: bigquery.IntegerFieldType}, }, }, } ValidationBaseSchema bigquery.Schema = bigquery.Schema{ { Name: "double_field", Type: bigquery.FloatFieldType, }, { Name: "float_field", Type: bigquery.FloatFieldType, }, { Name: "int32_field", Type: bigquery.IntegerFieldType, }, { Name: "int64_field", Type: bigquery.IntegerFieldType, }, { Name: "uint32_field", Type: bigquery.IntegerFieldType, }, { Name: "sint32_field", Type: bigquery.IntegerFieldType, }, { Name: "sint64_field", Type: bigquery.IntegerFieldType, }, { Name: "fixed32_field", Type: bigquery.IntegerFieldType, }, { Name: "sfixed32_field", Type: bigquery.IntegerFieldType, }, { Name: "sfixed64_field", Type: bigquery.IntegerFieldType, }, { Name: "bool_field", Type: bigquery.BooleanFieldType, }, { Name: "string_field", Type: bigquery.StringFieldType, }, { Name: "bytes_field", Type: bigquery.BytesFieldType, }, { Name: "enum_field", Type: bigquery.IntegerFieldType, }, } ValidationRepeatedSchema bigquery.Schema = bigquery.Schema{ { Name: "id", Type: bigquery.IntegerFieldType, }, { Name: "double_repeated", Type: bigquery.FloatFieldType, Repeated: true, }, { Name: "float_repeated", Type: bigquery.FloatFieldType, Repeated: true, }, { Name: "int32_repeated", Type: bigquery.IntegerFieldType, Repeated: true, }, { Name: "int64_repeated", Type: bigquery.IntegerFieldType, Repeated: true, }, { Name: "uint32_repeated", Type: bigquery.IntegerFieldType, Repeated: true, }, { Name: "sint32_repeated", Type: bigquery.IntegerFieldType, Repeated: true, }, { Name: "sint64_repeated", Type: bigquery.IntegerFieldType, Repeated: true, }, { Name: "fixed32_repeated", Type: bigquery.IntegerFieldType, Repeated: true, }, { Name: "sfixed32_repeated", Type: bigquery.IntegerFieldType, Repeated: true, }, { Name: "sfixed64_repeated", Type: bigquery.IntegerFieldType, Repeated: true, }, { Name: "bool_repeated", Type: bigquery.BooleanFieldType, Repeated: true, }, { Name: "enum_repeated", Type: bigquery.IntegerFieldType, Repeated: true, }, } ValidationColumnAnnotations bigquery.Schema = bigquery.Schema{ { Name: "first", Type: bigquery.StringFieldType, }, { Name: "second", Type: bigquery.StringFieldType, }, { Name: "特別コラム", Type: bigquery.StringFieldType, }, } ExampleEmployeeSchema bigquery.Schema = bigquery.Schema{ { Name: "id", Type: bigquery.IntegerFieldType, }, { Name: "username", Type: bigquery.StringFieldType, }, { Name: "given_name", Type: bigquery.StringFieldType, }, { Name: "departments", Type: bigquery.StringFieldType, Repeated: true, }, { Name: "salary", Type: bigquery.IntegerFieldType, }, } DefaultValueSchema bigquery.Schema = bigquery.Schema{ { Name: "id", Type: bigquery.StringFieldType, }, { Name: "strcol", Type: bigquery.StringFieldType, }, { Name: "strcol_withdef", Type: bigquery.StringFieldType, DefaultValueExpression: "\"defaultvalue\"", }, { Name: "intcol", Type: bigquery.IntegerFieldType, }, { Name: "intcol_withdef", Type: bigquery.IntegerFieldType, DefaultValueExpression: "-99", }, { Name: "otherstr", Type: bigquery.StringFieldType, }, { Name: "otherstr_withdef", Type: bigquery.StringFieldType, DefaultValueExpression: "\"otherval\"", }, } )
Enum value maps for TestEnum.
var ( TestEnum_name = map[int32]string{ 0: "TestEnum0", 1: "TestEnum1", } TestEnum_value = map[string]int32{ "TestEnum0": 0, "TestEnum1": 1, } )
Enum value maps for Proto2ExampleEnum.
var ( Proto2ExampleEnum_name = map[int32]string{ 0: "P2_UNDEFINED", 1: "P2_THING", 2: "P2_OTHER_THING", 3: "P2_THIRD_THING", } Proto2ExampleEnum_value = map[string]int32{ "P2_UNDEFINED": 0, "P2_THING": 1, "P2_OTHER_THING": 2, "P2_THIRD_THING": 3, } )
Enum value maps for Proto3ExampleEnum.
var ( Proto3ExampleEnum_name = map[int32]string{ 0: "P3_UNDEFINED", 1: "P3_THING", 2: "P3_OTHER_THING", 3: "P3_THIRD_THING", } Proto3ExampleEnum_value = map[string]int32{ "P3_UNDEFINED": 0, "P3_THING": 1, "P3_OTHER_THING": 2, "P3_THIRD_THING": 3, } )
Default values for ValidationP2OptionalWithDefaults fields.
var ( Default_ValidationP2OptionalWithDefaults_BytesField = []byte("optional bytes") )
var File_messages_proto2_proto protoreflect.FileDescriptor
var File_messages_proto3_proto protoreflect.FileDescriptor
var File_testdata_validation_proto2_proto protoreflect.FileDescriptor
var File_testing_proto protoreflect.FileDescriptor
var File_validation_proto3_proto protoreflect.FileDescriptor
type AllSupportedTypes struct { Int32Value *int32 `protobuf:"varint,1,opt,name=int32_value,json=int32Value" json:"int32_value,omitempty"` Int64Value *int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value" json:"int64_value,omitempty"` Uint32Value *uint32 `protobuf:"varint,3,opt,name=uint32_value,json=uint32Value" json:"uint32_value,omitempty"` Uint64Value *uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value" json:"uint64_value,omitempty"` FloatValue *float32 `protobuf:"fixed32,5,opt,name=float_value,json=floatValue" json:"float_value,omitempty"` DoubleValue *float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue" json:"double_value,omitempty"` BoolValue *bool `protobuf:"varint,7,opt,name=bool_value,json=boolValue" json:"bool_value,omitempty"` EnumValue *TestEnum `protobuf:"varint,8,opt,name=enum_value,json=enumValue,enum=testdata.TestEnum" json:"enum_value,omitempty"` StringValue *string `protobuf:"bytes,9,req,name=string_value,json=stringValue" json:"string_value,omitempty"` Fixed64Value *uint64 `protobuf:"fixed64,10,opt,name=fixed64_value,json=fixed64Value" json:"fixed64_value,omitempty"` // contains filtered or unexported fields }
func (*AllSupportedTypes) Descriptor() ([]byte, []int)
Deprecated: Use AllSupportedTypes.ProtoReflect.Descriptor instead.
func (x *AllSupportedTypes) GetBoolValue() bool
func (x *AllSupportedTypes) GetDoubleValue() float64
func (x *AllSupportedTypes) GetEnumValue() TestEnum
func (x *AllSupportedTypes) GetFixed64Value() uint64
func (x *AllSupportedTypes) GetFloatValue() float32
func (x *AllSupportedTypes) GetInt32Value() int32
func (x *AllSupportedTypes) GetInt64Value() int64
func (x *AllSupportedTypes) GetStringValue() string
func (x *AllSupportedTypes) GetUint32Value() uint32
func (x *AllSupportedTypes) GetUint64Value() uint64
func (*AllSupportedTypes) ProtoMessage()
func (x *AllSupportedTypes) ProtoReflect() protoreflect.Message
func (x *AllSupportedTypes) Reset()
func (x *AllSupportedTypes) String() string
type ComplexType struct { NestedRepeatedType []*NestedType `protobuf:"bytes,1,rep,name=nested_repeated_type,json=nestedRepeatedType" json:"nested_repeated_type,omitempty"` InnerType *InnerType `protobuf:"bytes,2,opt,name=inner_type,json=innerType" json:"inner_type,omitempty"` RangeType *RangeTypeTimestamp `protobuf:"bytes,3,opt,name=range_type,json=rangeType" json:"range_type,omitempty"` // contains filtered or unexported fields }
func (*ComplexType) Descriptor() ([]byte, []int)
Deprecated: Use ComplexType.ProtoReflect.Descriptor instead.
func (x *ComplexType) GetInnerType() *InnerType
func (x *ComplexType) GetNestedRepeatedType() []*NestedType
func (x *ComplexType) GetRangeType() *RangeTypeTimestamp
func (*ComplexType) ProtoMessage()
func (x *ComplexType) ProtoReflect() protoreflect.Message
func (x *ComplexType) Reset()
func (x *ComplexType) String() string
type ContainsRecursive struct { Field *RecursiveType `protobuf:"bytes,1,opt,name=field" json:"field,omitempty"` // contains filtered or unexported fields }
func (*ContainsRecursive) Descriptor() ([]byte, []int)
Deprecated: Use ContainsRecursive.ProtoReflect.Descriptor instead.
func (x *ContainsRecursive) GetField() *RecursiveType
func (*ContainsRecursive) ProtoMessage()
func (x *ContainsRecursive) ProtoReflect() protoreflect.Message
func (x *ContainsRecursive) Reset()
func (x *ContainsRecursive) String() string
type DefaultValues struct { Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Strcol *string `protobuf:"bytes,2,opt,name=strcol" json:"strcol,omitempty"` StrcolWithdef *string `protobuf:"bytes,3,opt,name=strcol_withdef,json=strcolWithdef" json:"strcol_withdef,omitempty"` Intcol *int64 `protobuf:"varint,4,opt,name=intcol" json:"intcol,omitempty"` IntcolWithdef *int64 `protobuf:"varint,5,opt,name=intcol_withdef,json=intcolWithdef" json:"intcol_withdef,omitempty"` Otherstr *string `protobuf:"bytes,6,opt,name=otherstr" json:"otherstr,omitempty"` OtherstrDefault *string `protobuf:"bytes,7,opt,name=otherstr_default,json=otherstrDefault" json:"otherstr_default,omitempty"` // contains filtered or unexported fields }
func (*DefaultValues) Descriptor() ([]byte, []int)
Deprecated: Use DefaultValues.ProtoReflect.Descriptor instead.
func (x *DefaultValues) GetId() string
func (x *DefaultValues) GetIntcol() int64
func (x *DefaultValues) GetIntcolWithdef() int64
func (x *DefaultValues) GetOtherstr() string
func (x *DefaultValues) GetOtherstrDefault() string
func (x *DefaultValues) GetStrcol() string
func (x *DefaultValues) GetStrcolWithdef() string
func (*DefaultValues) ProtoMessage()
func (x *DefaultValues) ProtoReflect() protoreflect.Message
func (x *DefaultValues) Reset()
func (x *DefaultValues) String() string
type DefaultValuesPartialSchema struct { Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Strcol *string `protobuf:"bytes,2,opt,name=strcol" json:"strcol,omitempty"` StrcolWithdef *string `protobuf:"bytes,3,opt,name=strcol_withdef,json=strcolWithdef" json:"strcol_withdef,omitempty"` Intcol *int64 `protobuf:"varint,4,opt,name=intcol" json:"intcol,omitempty"` IntcolWithdef *int64 `protobuf:"varint,5,opt,name=intcol_withdef,json=intcolWithdef" json:"intcol_withdef,omitempty"` // contains filtered or unexported fields }
func (*DefaultValuesPartialSchema) Descriptor() ([]byte, []int)
Deprecated: Use DefaultValuesPartialSchema.ProtoReflect.Descriptor instead.
func (x *DefaultValuesPartialSchema) GetId() string
func (x *DefaultValuesPartialSchema) GetIntcol() int64
func (x *DefaultValuesPartialSchema) GetIntcolWithdef() int64
func (x *DefaultValuesPartialSchema) GetStrcol() string
func (x *DefaultValuesPartialSchema) GetStrcolWithdef() string
func (*DefaultValuesPartialSchema) ProtoMessage()
func (x *DefaultValuesPartialSchema) ProtoReflect() protoreflect.Message
func (x *DefaultValuesPartialSchema) Reset()
func (x *DefaultValuesPartialSchema) String() string
type EnumMsgA struct { Foo *string `protobuf:"bytes,1,opt,name=foo" json:"foo,omitempty"` Bar *ExtEnum `protobuf:"varint,2,opt,name=bar,enum=testdata.ExtEnum" json:"bar,omitempty"` // contains filtered or unexported fields }
func (*EnumMsgA) Descriptor() ([]byte, []int)
Deprecated: Use EnumMsgA.ProtoReflect.Descriptor instead.
func (x *EnumMsgA) GetBar() ExtEnum
func (x *EnumMsgA) GetFoo() string
func (*EnumMsgA) ProtoMessage()
func (x *EnumMsgA) ProtoReflect() protoreflect.Message
func (x *EnumMsgA) Reset()
func (x *EnumMsgA) String() string
type EnumMsgB struct { Baz *ExtEnum `protobuf:"varint,1,opt,name=baz,enum=testdata.ExtEnum" json:"baz,omitempty"` // contains filtered or unexported fields }
func (*EnumMsgB) Descriptor() ([]byte, []int)
Deprecated: Use EnumMsgB.ProtoReflect.Descriptor instead.
func (x *EnumMsgB) GetBaz() ExtEnum
func (*EnumMsgB) ProtoMessage()
func (x *EnumMsgB) ProtoReflect() protoreflect.Message
func (x *EnumMsgB) Reset()
func (x *EnumMsgB) String() string
type ExampleEmployeeCDC struct { Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` // Primary Key (not enforced) Username *string `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"` GivenName *string `protobuf:"bytes,3,opt,name=given_name,json=givenName" json:"given_name,omitempty"` Departments []string `protobuf:"bytes,4,rep,name=departments" json:"departments,omitempty"` Salary *int64 `protobuf:"varint,5,opt,name=salary" json:"salary,omitempty"` XCHANGE_TYPE *string `protobuf:"bytes,999,opt,name=_CHANGE_TYPE,json=CHANGETYPE" json:"_CHANGE_TYPE,omitempty"` // We give it a high tag number to avoid conflicts with normal evolution of the record. // contains filtered or unexported fields }
func (*ExampleEmployeeCDC) Descriptor() ([]byte, []int)
Deprecated: Use ExampleEmployeeCDC.ProtoReflect.Descriptor instead.
func (x *ExampleEmployeeCDC) GetDepartments() []string
func (x *ExampleEmployeeCDC) GetGivenName() string
func (x *ExampleEmployeeCDC) GetId() int64
func (x *ExampleEmployeeCDC) GetSalary() int64
func (x *ExampleEmployeeCDC) GetUsername() string
func (x *ExampleEmployeeCDC) GetXCHANGE_TYPE() string
func (*ExampleEmployeeCDC) ProtoMessage()
func (x *ExampleEmployeeCDC) ProtoReflect() protoreflect.Message
func (x *ExampleEmployeeCDC) Reset()
func (x *ExampleEmployeeCDC) String() string
ExtEnum is an externally define enum.
type ExtEnum int32
const ( ExtEnum_UNDEFINED ExtEnum = 0 ExtEnum_THING ExtEnum = 1 ExtEnum_OTHER_THING ExtEnum = 2 )
func (ExtEnum) Descriptor() protoreflect.EnumDescriptor
func (x ExtEnum) Enum() *ExtEnum
func (ExtEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExtEnum.Descriptor instead.
func (x ExtEnum) Number() protoreflect.EnumNumber
func (x ExtEnum) String() string
func (ExtEnum) Type() protoreflect.EnumType
func (x *ExtEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
ExternalEnumMessage demonstrates an externally defined enum being present in two different submessages.
type ExternalEnumMessage struct { MsgA *EnumMsgA `protobuf:"bytes,1,opt,name=msg_a,json=msgA" json:"msg_a,omitempty"` MsgB *EnumMsgB `protobuf:"bytes,2,opt,name=msg_b,json=msgB" json:"msg_b,omitempty"` // contains filtered or unexported fields }
func (*ExternalEnumMessage) Descriptor() ([]byte, []int)
Deprecated: Use ExternalEnumMessage.ProtoReflect.Descriptor instead.
func (x *ExternalEnumMessage) GetMsgA() *EnumMsgA
func (x *ExternalEnumMessage) GetMsgB() *EnumMsgB
func (*ExternalEnumMessage) ProtoMessage()
func (x *ExternalEnumMessage) ProtoReflect() protoreflect.Message
func (x *ExternalEnumMessage) Reset()
func (x *ExternalEnumMessage) String() string
type GithubArchiveEntityProto2 struct { Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Login *string `protobuf:"bytes,2,opt,name=login" json:"login,omitempty"` GravatarId *string `protobuf:"bytes,3,opt,name=gravatar_id,json=gravatarId" json:"gravatar_id,omitempty"` AvatarUrl *string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl" json:"avatar_url,omitempty"` Url *string `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"` // contains filtered or unexported fields }
func (*GithubArchiveEntityProto2) Descriptor() ([]byte, []int)
Deprecated: Use GithubArchiveEntityProto2.ProtoReflect.Descriptor instead.
func (x *GithubArchiveEntityProto2) GetAvatarUrl() string
func (x *GithubArchiveEntityProto2) GetGravatarId() string
func (x *GithubArchiveEntityProto2) GetId() int64
func (x *GithubArchiveEntityProto2) GetLogin() string
func (x *GithubArchiveEntityProto2) GetUrl() string
func (*GithubArchiveEntityProto2) ProtoMessage()
func (x *GithubArchiveEntityProto2) ProtoReflect() protoreflect.Message
func (x *GithubArchiveEntityProto2) Reset()
func (x *GithubArchiveEntityProto2) String() string
type GithubArchiveEntityProto3 struct { Id *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Login *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"` GravatarId *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=gravatar_id,json=gravatarId,proto3" json:"gravatar_id,omitempty"` AvatarUrl *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` Url *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*GithubArchiveEntityProto3) Descriptor() ([]byte, []int)
Deprecated: Use GithubArchiveEntityProto3.ProtoReflect.Descriptor instead.
func (x *GithubArchiveEntityProto3) GetAvatarUrl() *wrapperspb.StringValue
func (x *GithubArchiveEntityProto3) GetGravatarId() *wrapperspb.StringValue
func (x *GithubArchiveEntityProto3) GetId() *wrapperspb.Int64Value
func (x *GithubArchiveEntityProto3) GetLogin() *wrapperspb.StringValue
func (x *GithubArchiveEntityProto3) GetUrl() *wrapperspb.StringValue
func (*GithubArchiveEntityProto3) ProtoMessage()
func (x *GithubArchiveEntityProto3) ProtoReflect() protoreflect.Message
func (x *GithubArchiveEntityProto3) Reset()
func (x *GithubArchiveEntityProto3) String() string
GithubArchiveMessageProto2 is the proto2 version of github archive row.
type GithubArchiveMessageProto2 struct { Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Public *bool `protobuf:"varint,2,opt,name=public" json:"public,omitempty"` Payload *string `protobuf:"bytes,3,opt,name=payload" json:"payload,omitempty"` Repo *GithubArchiveRepoProto2 `protobuf:"bytes,4,opt,name=repo" json:"repo,omitempty"` Actor *GithubArchiveEntityProto2 `protobuf:"bytes,5,opt,name=actor" json:"actor,omitempty"` Org *GithubArchiveEntityProto2 `protobuf:"bytes,6,opt,name=org" json:"org,omitempty"` CreatedAt *int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt" json:"created_at,omitempty"` Id *string `protobuf:"bytes,8,opt,name=id" json:"id,omitempty"` Other *string `protobuf:"bytes,9,opt,name=other" json:"other,omitempty"` // contains filtered or unexported fields }
func (*GithubArchiveMessageProto2) Descriptor() ([]byte, []int)
Deprecated: Use GithubArchiveMessageProto2.ProtoReflect.Descriptor instead.
func (x *GithubArchiveMessageProto2) GetActor() *GithubArchiveEntityProto2
func (x *GithubArchiveMessageProto2) GetCreatedAt() int64
func (x *GithubArchiveMessageProto2) GetId() string
func (x *GithubArchiveMessageProto2) GetOrg() *GithubArchiveEntityProto2
func (x *GithubArchiveMessageProto2) GetOther() string
func (x *GithubArchiveMessageProto2) GetPayload() string
func (x *GithubArchiveMessageProto2) GetPublic() bool
func (x *GithubArchiveMessageProto2) GetRepo() *GithubArchiveRepoProto2
func (x *GithubArchiveMessageProto2) GetType() string
func (*GithubArchiveMessageProto2) ProtoMessage()
func (x *GithubArchiveMessageProto2) ProtoReflect() protoreflect.Message
func (x *GithubArchiveMessageProto2) Reset()
func (x *GithubArchiveMessageProto2) String() string
GithubArchiveMessageProto3 is the proto3 version of github archive row.
type GithubArchiveMessageProto3 struct { Type *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Public *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=public,proto3" json:"public,omitempty"` Payload *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` Repo *GithubArchiveRepoProto3 `protobuf:"bytes,4,opt,name=repo,proto3" json:"repo,omitempty"` Actor *GithubArchiveEntityProto3 `protobuf:"bytes,5,opt,name=actor,proto3" json:"actor,omitempty"` Org *GithubArchiveEntityProto3 `protobuf:"bytes,6,opt,name=org,proto3" json:"org,omitempty"` CreatedAt *wrapperspb.Int64Value `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Id *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"` Other *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=other,proto3" json:"other,omitempty"` // contains filtered or unexported fields }
func (*GithubArchiveMessageProto3) Descriptor() ([]byte, []int)
Deprecated: Use GithubArchiveMessageProto3.ProtoReflect.Descriptor instead.
func (x *GithubArchiveMessageProto3) GetActor() *GithubArchiveEntityProto3
func (x *GithubArchiveMessageProto3) GetCreatedAt() *wrapperspb.Int64Value
func (x *GithubArchiveMessageProto3) GetId() *wrapperspb.StringValue
func (x *GithubArchiveMessageProto3) GetOrg() *GithubArchiveEntityProto3
func (x *GithubArchiveMessageProto3) GetOther() *wrapperspb.StringValue
func (x *GithubArchiveMessageProto3) GetPayload() *wrapperspb.StringValue
func (x *GithubArchiveMessageProto3) GetPublic() *wrapperspb.BoolValue
func (x *GithubArchiveMessageProto3) GetRepo() *GithubArchiveRepoProto3
func (x *GithubArchiveMessageProto3) GetType() *wrapperspb.StringValue
func (*GithubArchiveMessageProto3) ProtoMessage()
func (x *GithubArchiveMessageProto3) ProtoReflect() protoreflect.Message
func (x *GithubArchiveMessageProto3) Reset()
func (x *GithubArchiveMessageProto3) String() string
type GithubArchiveRepoProto2 struct { Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Url *string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"` // contains filtered or unexported fields }
func (*GithubArchiveRepoProto2) Descriptor() ([]byte, []int)
Deprecated: Use GithubArchiveRepoProto2.ProtoReflect.Descriptor instead.
func (x *GithubArchiveRepoProto2) GetId() int64
func (x *GithubArchiveRepoProto2) GetName() string
func (x *GithubArchiveRepoProto2) GetUrl() string
func (*GithubArchiveRepoProto2) ProtoMessage()
func (x *GithubArchiveRepoProto2) ProtoReflect() protoreflect.Message
func (x *GithubArchiveRepoProto2) Reset()
func (x *GithubArchiveRepoProto2) String() string
type GithubArchiveRepoProto3 struct { Id *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Url *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*GithubArchiveRepoProto3) Descriptor() ([]byte, []int)
Deprecated: Use GithubArchiveRepoProto3.ProtoReflect.Descriptor instead.
func (x *GithubArchiveRepoProto3) GetId() *wrapperspb.Int64Value
func (x *GithubArchiveRepoProto3) GetName() *wrapperspb.StringValue
func (x *GithubArchiveRepoProto3) GetUrl() *wrapperspb.StringValue
func (*GithubArchiveRepoProto3) ProtoMessage()
func (x *GithubArchiveRepoProto3) ProtoReflect() protoreflect.Message
func (x *GithubArchiveRepoProto3) Reset()
func (x *GithubArchiveRepoProto3) String() string
type InnerType struct { Value []string `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
func (*InnerType) Descriptor() ([]byte, []int)
Deprecated: Use InnerType.ProtoReflect.Descriptor instead.
func (x *InnerType) GetValue() []string
func (*InnerType) ProtoMessage()
func (x *InnerType) ProtoReflect() protoreflect.Message
func (x *InnerType) Reset()
func (x *InnerType) String() string
type NestedType struct { InnerType []*InnerType `protobuf:"bytes,1,rep,name=inner_type,json=innerType" json:"inner_type,omitempty"` // contains filtered or unexported fields }
func (*NestedType) Descriptor() ([]byte, []int)
Deprecated: Use NestedType.ProtoReflect.Descriptor instead.
func (x *NestedType) GetInnerType() []*InnerType
func (*NestedType) ProtoMessage()
func (x *NestedType) ProtoReflect() protoreflect.Message
func (x *NestedType) Reset()
func (x *NestedType) String() string
OutOfOrderDefinitionProto2 is used to ensure we apply ordering to representations. It intentionally defines the fields out of order.
type OutOfOrderDefinitionProto2 struct { S3 *string `protobuf:"bytes,3,opt,name=s3" json:"s3,omitempty"` S1 *string `protobuf:"bytes,1,opt,name=s1" json:"s1,omitempty"` S2 *string `protobuf:"bytes,2,opt,name=s2" json:"s2,omitempty"` Enum2 *OutOfOrderDefinitionProto2_OutOfOrderEnum `protobuf:"varint,5,opt,name=enum2,enum=testdata.OutOfOrderDefinitionProto2_OutOfOrderEnum" json:"enum2,omitempty"` Enum1 *OutOfOrderDefinitionProto2_OutOfOrderEnum `protobuf:"varint,4,opt,name=enum1,enum=testdata.OutOfOrderDefinitionProto2_OutOfOrderEnum" json:"enum1,omitempty"` Msg7 *SimpleMessageProto2 `protobuf:"bytes,7,opt,name=msg7" json:"msg7,omitempty"` Msg6 *SimpleMessageProto2 `protobuf:"bytes,6,opt,name=msg6" json:"msg6,omitempty"` // contains filtered or unexported fields }
func (*OutOfOrderDefinitionProto2) Descriptor() ([]byte, []int)
Deprecated: Use OutOfOrderDefinitionProto2.ProtoReflect.Descriptor instead.
func (x *OutOfOrderDefinitionProto2) GetEnum1() OutOfOrderDefinitionProto2_OutOfOrderEnum
func (x *OutOfOrderDefinitionProto2) GetEnum2() OutOfOrderDefinitionProto2_OutOfOrderEnum
func (x *OutOfOrderDefinitionProto2) GetMsg6() *SimpleMessageProto2
func (x *OutOfOrderDefinitionProto2) GetMsg7() *SimpleMessageProto2
func (x *OutOfOrderDefinitionProto2) GetS1() string
func (x *OutOfOrderDefinitionProto2) GetS2() string
func (x *OutOfOrderDefinitionProto2) GetS3() string
func (*OutOfOrderDefinitionProto2) ProtoMessage()
func (x *OutOfOrderDefinitionProto2) ProtoReflect() protoreflect.Message
func (x *OutOfOrderDefinitionProto2) Reset()
func (x *OutOfOrderDefinitionProto2) String() string
type OutOfOrderDefinitionProto2_OutOfOrderEnum int32
const ( OutOfOrderDefinitionProto2_E1 OutOfOrderDefinitionProto2_OutOfOrderEnum = 1 OutOfOrderDefinitionProto2_E3 OutOfOrderDefinitionProto2_OutOfOrderEnum = 3 OutOfOrderDefinitionProto2_E2 OutOfOrderDefinitionProto2_OutOfOrderEnum = 2 )
func (OutOfOrderDefinitionProto2_OutOfOrderEnum) Descriptor() protoreflect.EnumDescriptor
func (x OutOfOrderDefinitionProto2_OutOfOrderEnum) Enum() *OutOfOrderDefinitionProto2_OutOfOrderEnum
func (OutOfOrderDefinitionProto2_OutOfOrderEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use OutOfOrderDefinitionProto2_OutOfOrderEnum.Descriptor instead.
func (x OutOfOrderDefinitionProto2_OutOfOrderEnum) Number() protoreflect.EnumNumber
func (x OutOfOrderDefinitionProto2_OutOfOrderEnum) String() string
func (OutOfOrderDefinitionProto2_OutOfOrderEnum) Type() protoreflect.EnumType
func (x *OutOfOrderDefinitionProto2_OutOfOrderEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Proto2ExampleEnum int32
const ( Proto2ExampleEnum_P2_UNDEFINED Proto2ExampleEnum = 0 Proto2ExampleEnum_P2_THING Proto2ExampleEnum = 1 Proto2ExampleEnum_P2_OTHER_THING Proto2ExampleEnum = 2 Proto2ExampleEnum_P2_THIRD_THING Proto2ExampleEnum = 3 )
func (Proto2ExampleEnum) Descriptor() protoreflect.EnumDescriptor
func (x Proto2ExampleEnum) Enum() *Proto2ExampleEnum
func (Proto2ExampleEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use Proto2ExampleEnum.Descriptor instead.
func (x Proto2ExampleEnum) Number() protoreflect.EnumNumber
func (x Proto2ExampleEnum) String() string
func (Proto2ExampleEnum) Type() protoreflect.EnumType
func (x *Proto2ExampleEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Proto3ExampleEnum int32
const ( Proto3ExampleEnum_P3_UNDEFINED Proto3ExampleEnum = 0 Proto3ExampleEnum_P3_THING Proto3ExampleEnum = 1 Proto3ExampleEnum_P3_OTHER_THING Proto3ExampleEnum = 2 Proto3ExampleEnum_P3_THIRD_THING Proto3ExampleEnum = 3 )
func (Proto3ExampleEnum) Descriptor() protoreflect.EnumDescriptor
func (x Proto3ExampleEnum) Enum() *Proto3ExampleEnum
func (Proto3ExampleEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use Proto3ExampleEnum.Descriptor instead.
func (x Proto3ExampleEnum) Number() protoreflect.EnumNumber
func (x Proto3ExampleEnum) String() string
func (Proto3ExampleEnum) Type() protoreflect.EnumType
This representation allows sending a Range<TIMESTAMP> value.
type RangeTypeTimestamp struct { Start *int64 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` End *int64 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` // contains filtered or unexported fields }
func (*RangeTypeTimestamp) Descriptor() ([]byte, []int)
Deprecated: Use RangeTypeTimestamp.ProtoReflect.Descriptor instead.
func (x *RangeTypeTimestamp) GetEnd() int64
func (x *RangeTypeTimestamp) GetStart() int64
func (*RangeTypeTimestamp) ProtoMessage()
func (x *RangeTypeTimestamp) ProtoReflect() protoreflect.Message
func (x *RangeTypeTimestamp) Reset()
func (x *RangeTypeTimestamp) String() string
type RecursiveType struct { Field *ContainsRecursive `protobuf:"bytes,2,opt,name=field" json:"field,omitempty"` // contains filtered or unexported fields }
func (*RecursiveType) Descriptor() ([]byte, []int)
Deprecated: Use RecursiveType.ProtoReflect.Descriptor instead.
func (x *RecursiveType) GetField() *ContainsRecursive
func (*RecursiveType) ProtoMessage()
func (x *RecursiveType) ProtoReflect() protoreflect.Message
func (x *RecursiveType) Reset()
func (x *RecursiveType) String() string
type RecursiveTypeTopMessage struct { Field *RecursiveTypeTopMessage `protobuf:"bytes,2,opt,name=field" json:"field,omitempty"` // contains filtered or unexported fields }
func (*RecursiveTypeTopMessage) Descriptor() ([]byte, []int)
Deprecated: Use RecursiveTypeTopMessage.ProtoReflect.Descriptor instead.
func (x *RecursiveTypeTopMessage) GetField() *RecursiveTypeTopMessage
func (*RecursiveTypeTopMessage) ProtoMessage()
func (x *RecursiveTypeTopMessage) ProtoReflect() protoreflect.Message
func (x *RecursiveTypeTopMessage) Reset()
func (x *RecursiveTypeTopMessage) String() string
type SimpleMessageEvolvedProto2 struct { // name is a simple scalar string. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // value is a simple int64 value. Value *int64 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"` // other is an additional string. Other *string `protobuf:"bytes,3,opt,name=other" json:"other,omitempty"` // contains filtered or unexported fields }
func (*SimpleMessageEvolvedProto2) Descriptor() ([]byte, []int)
Deprecated: Use SimpleMessageEvolvedProto2.ProtoReflect.Descriptor instead.
func (x *SimpleMessageEvolvedProto2) GetName() string
func (x *SimpleMessageEvolvedProto2) GetOther() string
func (x *SimpleMessageEvolvedProto2) GetValue() int64
func (*SimpleMessageEvolvedProto2) ProtoMessage()
func (x *SimpleMessageEvolvedProto2) ProtoReflect() protoreflect.Message
func (x *SimpleMessageEvolvedProto2) Reset()
func (x *SimpleMessageEvolvedProto2) String() string
SimpleMessage represents a simple message that transmits a string and int64 value.
type SimpleMessageProto2 struct { // name is a simple scalar string. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // value is a simple int64 value. Value *int64 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SimpleMessageProto2) Descriptor() ([]byte, []int)
Deprecated: Use SimpleMessageProto2.ProtoReflect.Descriptor instead.
func (x *SimpleMessageProto2) GetName() string
func (x *SimpleMessageProto2) GetValue() int64
func (*SimpleMessageProto2) ProtoMessage()
func (x *SimpleMessageProto2) ProtoReflect() protoreflect.Message
func (x *SimpleMessageProto2) Reset()
func (x *SimpleMessageProto2) String() string
SimpleMessageProto3 represents a simple message that transmits a string and int64 value.
type SimpleMessageProto3 struct { // name is a simple scalar string. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // value is a simple int64 value. Value *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SimpleMessageProto3) Descriptor() ([]byte, []int)
Deprecated: Use SimpleMessageProto3.ProtoReflect.Descriptor instead.
func (x *SimpleMessageProto3) GetName() string
func (x *SimpleMessageProto3) GetValue() *wrapperspb.Int64Value
func (*SimpleMessageProto3) ProtoMessage()
func (x *SimpleMessageProto3) ProtoReflect() protoreflect.Message
func (x *SimpleMessageProto3) Reset()
func (x *SimpleMessageProto3) String() string
type SimpleMessageProto3WithOptional struct { // name is a simple scalar string. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // value is an int64 value with optional presence. Value *int64 `protobuf:"varint,2,opt,name=value,proto3,oneof" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SimpleMessageProto3WithOptional) Descriptor() ([]byte, []int)
Deprecated: Use SimpleMessageProto3WithOptional.ProtoReflect.Descriptor instead.
func (x *SimpleMessageProto3WithOptional) GetName() string
func (x *SimpleMessageProto3WithOptional) GetValue() int64
func (*SimpleMessageProto3WithOptional) ProtoMessage()
func (x *SimpleMessageProto3WithOptional) ProtoReflect() protoreflect.Message
func (x *SimpleMessageProto3WithOptional) Reset()
func (x *SimpleMessageProto3WithOptional) String() string
type TestEnum int32
const ( TestEnum_TestEnum0 TestEnum = 0 TestEnum_TestEnum1 TestEnum = 1 )
func (TestEnum) Descriptor() protoreflect.EnumDescriptor
func (x TestEnum) Enum() *TestEnum
func (TestEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestEnum.Descriptor instead.
func (x TestEnum) Number() protoreflect.EnumNumber
func (x TestEnum) String() string
func (TestEnum) Type() protoreflect.EnumType
func (x *TestEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
Validating the behavior of column annotations to remap from a given proto field name to a custom BigQuery column name.
type ValidationP2ColumnAnnotations struct { First *string `protobuf:"bytes,1,opt,name=first" json:"first,omitempty"` Second *string `protobuf:"bytes,2,opt,name=second" json:"second,omitempty"` Third *string `protobuf:"bytes,3,opt,name=third" json:"third,omitempty"` // contains filtered or unexported fields }
func (*ValidationP2ColumnAnnotations) Descriptor() ([]byte, []int)
Deprecated: Use ValidationP2ColumnAnnotations.ProtoReflect.Descriptor instead.
func (x *ValidationP2ColumnAnnotations) GetFirst() string
func (x *ValidationP2ColumnAnnotations) GetSecond() string
func (x *ValidationP2ColumnAnnotations) GetThird() string
func (*ValidationP2ColumnAnnotations) ProtoMessage()
func (x *ValidationP2ColumnAnnotations) ProtoReflect() protoreflect.Message
func (x *ValidationP2ColumnAnnotations) Reset()
func (x *ValidationP2ColumnAnnotations) String() string
Validation message in proto2 syntax with all fields being optional.
type ValidationP2Optional struct { DoubleField *float64 `protobuf:"fixed64,1,opt,name=double_field,json=doubleField" json:"double_field,omitempty"` FloatField *float32 `protobuf:"fixed32,2,opt,name=float_field,json=floatField" json:"float_field,omitempty"` Int32Field *int32 `protobuf:"varint,3,opt,name=int32_field,json=int32Field" json:"int32_field,omitempty"` Int64Field *int64 `protobuf:"varint,4,opt,name=int64_field,json=int64Field" json:"int64_field,omitempty"` Uint32Field *uint32 `protobuf:"varint,5,opt,name=uint32_field,json=uint32Field" json:"uint32_field,omitempty"` //optional uint64 uint64_field = 6; Sint32Field *int32 `protobuf:"zigzag32,7,opt,name=sint32_field,json=sint32Field" json:"sint32_field,omitempty"` Sint64Field *int64 `protobuf:"zigzag64,8,opt,name=sint64_field,json=sint64Field" json:"sint64_field,omitempty"` Fixed32Field *uint32 `protobuf:"fixed32,9,opt,name=fixed32_field,json=fixed32Field" json:"fixed32_field,omitempty"` //optional fixed64 fixed64_field = 10; Sfixed32Field *int32 `protobuf:"fixed32,11,opt,name=sfixed32_field,json=sfixed32Field" json:"sfixed32_field,omitempty"` Sfixed64Field *int64 `protobuf:"fixed64,12,opt,name=sfixed64_field,json=sfixed64Field" json:"sfixed64_field,omitempty"` BoolField *bool `protobuf:"varint,13,opt,name=bool_field,json=boolField" json:"bool_field,omitempty"` StringField *string `protobuf:"bytes,14,opt,name=string_field,json=stringField" json:"string_field,omitempty"` BytesField []byte `protobuf:"bytes,15,opt,name=bytes_field,json=bytesField" json:"bytes_field,omitempty"` EnumField *Proto2ExampleEnum `protobuf:"varint,16,opt,name=enum_field,json=enumField,enum=testdata.Proto2ExampleEnum" json:"enum_field,omitempty"` // contains filtered or unexported fields }
func (*ValidationP2Optional) Descriptor() ([]byte, []int)
Deprecated: Use ValidationP2Optional.ProtoReflect.Descriptor instead.
func (x *ValidationP2Optional) GetBoolField() bool
func (x *ValidationP2Optional) GetBytesField() []byte
func (x *ValidationP2Optional) GetDoubleField() float64
func (x *ValidationP2Optional) GetEnumField() Proto2ExampleEnum
func (x *ValidationP2Optional) GetFixed32Field() uint32
func (x *ValidationP2Optional) GetFloatField() float32
func (x *ValidationP2Optional) GetInt32Field() int32
func (x *ValidationP2Optional) GetInt64Field() int64
func (x *ValidationP2Optional) GetSfixed32Field() int32
func (x *ValidationP2Optional) GetSfixed64Field() int64
func (x *ValidationP2Optional) GetSint32Field() int32
func (x *ValidationP2Optional) GetSint64Field() int64
func (x *ValidationP2Optional) GetStringField() string
func (x *ValidationP2Optional) GetUint32Field() uint32
func (*ValidationP2Optional) ProtoMessage()
func (x *ValidationP2Optional) ProtoReflect() protoreflect.Message
func (x *ValidationP2Optional) Reset()
func (x *ValidationP2Optional) String() string
Validation message in proto2 syntax with all fields being optional and having custom defaults.
type ValidationP2OptionalWithDefaults struct { DoubleField *float64 `protobuf:"fixed64,1,opt,name=double_field,json=doubleField,def=1.11" json:"double_field,omitempty"` FloatField *float32 `protobuf:"fixed32,2,opt,name=float_field,json=floatField,def=2.22" json:"float_field,omitempty"` Int32Field *int32 `protobuf:"varint,3,opt,name=int32_field,json=int32Field,def=3" json:"int32_field,omitempty"` Int64Field *int64 `protobuf:"varint,4,opt,name=int64_field,json=int64Field,def=4" json:"int64_field,omitempty"` Uint32Field *uint32 `protobuf:"varint,5,opt,name=uint32_field,json=uint32Field,def=5" json:"uint32_field,omitempty"` //optional uint64 uint64_field = 6 [default = 6]; Sint32Field *int32 `protobuf:"zigzag32,7,opt,name=sint32_field,json=sint32Field,def=7" json:"sint32_field,omitempty"` Sint64Field *int64 `protobuf:"zigzag64,8,opt,name=sint64_field,json=sint64Field,def=8" json:"sint64_field,omitempty"` Fixed32Field *uint32 `protobuf:"fixed32,9,opt,name=fixed32_field,json=fixed32Field,def=9" json:"fixed32_field,omitempty"` //optional fixed64 fixed64_field = 10 [default = 10]; Sfixed32Field *int32 `protobuf:"fixed32,11,opt,name=sfixed32_field,json=sfixed32Field,def=11" json:"sfixed32_field,omitempty"` Sfixed64Field *int64 `protobuf:"fixed64,12,opt,name=sfixed64_field,json=sfixed64Field,def=12" json:"sfixed64_field,omitempty"` BoolField *bool `protobuf:"varint,13,opt,name=bool_field,json=boolField,def=1" json:"bool_field,omitempty"` StringField *string `protobuf:"bytes,14,opt,name=string_field,json=stringField,def=custom default" json:"string_field,omitempty"` BytesField []byte `protobuf:"bytes,15,opt,name=bytes_field,json=bytesField,def=optional bytes" json:"bytes_field,omitempty"` EnumField *Proto2ExampleEnum `protobuf:"varint,16,opt,name=enum_field,json=enumField,enum=testdata.Proto2ExampleEnum,def=2" json:"enum_field,omitempty"` // contains filtered or unexported fields }
func (*ValidationP2OptionalWithDefaults) Descriptor() ([]byte, []int)
Deprecated: Use ValidationP2OptionalWithDefaults.ProtoReflect.Descriptor instead.
func (x *ValidationP2OptionalWithDefaults) GetBoolField() bool
func (x *ValidationP2OptionalWithDefaults) GetBytesField() []byte
func (x *ValidationP2OptionalWithDefaults) GetDoubleField() float64
func (x *ValidationP2OptionalWithDefaults) GetEnumField() Proto2ExampleEnum
func (x *ValidationP2OptionalWithDefaults) GetFixed32Field() uint32
func (x *ValidationP2OptionalWithDefaults) GetFloatField() float32
func (x *ValidationP2OptionalWithDefaults) GetInt32Field() int32
func (x *ValidationP2OptionalWithDefaults) GetInt64Field() int64
func (x *ValidationP2OptionalWithDefaults) GetSfixed32Field() int32
func (x *ValidationP2OptionalWithDefaults) GetSfixed64Field() int64
func (x *ValidationP2OptionalWithDefaults) GetSint32Field() int32
func (x *ValidationP2OptionalWithDefaults) GetSint64Field() int64
func (x *ValidationP2OptionalWithDefaults) GetStringField() string
func (x *ValidationP2OptionalWithDefaults) GetUint32Field() uint32
func (*ValidationP2OptionalWithDefaults) ProtoMessage()
func (x *ValidationP2OptionalWithDefaults) ProtoReflect() protoreflect.Message
func (x *ValidationP2OptionalWithDefaults) Reset()
func (x *ValidationP2OptionalWithDefaults) String() string
Validating the behavior of packed repeated scalar values.
type ValidationP2PackedRepeated struct { Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` DoubleRepeated []float64 `protobuf:"fixed64,2,rep,packed,name=double_repeated,json=doubleRepeated" json:"double_repeated,omitempty"` FloatRepeated []float32 `protobuf:"fixed32,3,rep,packed,name=float_repeated,json=floatRepeated" json:"float_repeated,omitempty"` Int32Repeated []int32 `protobuf:"varint,4,rep,packed,name=int32_repeated,json=int32Repeated" json:"int32_repeated,omitempty"` Int64Repeated []int64 `protobuf:"varint,5,rep,packed,name=int64_repeated,json=int64Repeated" json:"int64_repeated,omitempty"` Uint32Repeated []uint32 `protobuf:"varint,6,rep,packed,name=uint32_repeated,json=uint32Repeated" json:"uint32_repeated,omitempty"` Sint32Repeated []int32 `protobuf:"zigzag32,7,rep,packed,name=sint32_repeated,json=sint32Repeated" json:"sint32_repeated,omitempty"` Sint64Repeated []int64 `protobuf:"zigzag64,8,rep,packed,name=sint64_repeated,json=sint64Repeated" json:"sint64_repeated,omitempty"` Fixed32Repeated []uint32 `protobuf:"fixed32,9,rep,packed,name=fixed32_repeated,json=fixed32Repeated" json:"fixed32_repeated,omitempty"` Sfixed32Repeated []int32 `protobuf:"fixed32,10,rep,packed,name=sfixed32_repeated,json=sfixed32Repeated" json:"sfixed32_repeated,omitempty"` Sfixed64Repeated []int64 `protobuf:"fixed64,11,rep,packed,name=sfixed64_repeated,json=sfixed64Repeated" json:"sfixed64_repeated,omitempty"` BoolRepeated []bool `protobuf:"varint,12,rep,packed,name=bool_repeated,json=boolRepeated" json:"bool_repeated,omitempty"` EnumRepeated []Proto2ExampleEnum `protobuf:"varint,13,rep,packed,name=enum_repeated,json=enumRepeated,enum=testdata.Proto2ExampleEnum" json:"enum_repeated,omitempty"` // contains filtered or unexported fields }
func (*ValidationP2PackedRepeated) Descriptor() ([]byte, []int)
Deprecated: Use ValidationP2PackedRepeated.ProtoReflect.Descriptor instead.
func (x *ValidationP2PackedRepeated) GetBoolRepeated() []bool
func (x *ValidationP2PackedRepeated) GetDoubleRepeated() []float64
func (x *ValidationP2PackedRepeated) GetEnumRepeated() []Proto2ExampleEnum
func (x *ValidationP2PackedRepeated) GetFixed32Repeated() []uint32
func (x *ValidationP2PackedRepeated) GetFloatRepeated() []float32
func (x *ValidationP2PackedRepeated) GetId() int64
func (x *ValidationP2PackedRepeated) GetInt32Repeated() []int32
func (x *ValidationP2PackedRepeated) GetInt64Repeated() []int64
func (x *ValidationP2PackedRepeated) GetSfixed32Repeated() []int32
func (x *ValidationP2PackedRepeated) GetSfixed64Repeated() []int64
func (x *ValidationP2PackedRepeated) GetSint32Repeated() []int32
func (x *ValidationP2PackedRepeated) GetSint64Repeated() []int64
func (x *ValidationP2PackedRepeated) GetUint32Repeated() []uint32
func (*ValidationP2PackedRepeated) ProtoMessage()
func (x *ValidationP2PackedRepeated) ProtoReflect() protoreflect.Message
func (x *ValidationP2PackedRepeated) Reset()
func (x *ValidationP2PackedRepeated) String() string
Validation message in proto2 syntax with all fields being required.
type ValidationP2Required struct { DoubleField *float64 `protobuf:"fixed64,1,req,name=double_field,json=doubleField" json:"double_field,omitempty"` FloatField *float32 `protobuf:"fixed32,2,req,name=float_field,json=floatField" json:"float_field,omitempty"` Int32Field *int32 `protobuf:"varint,3,req,name=int32_field,json=int32Field" json:"int32_field,omitempty"` Int64Field *int64 `protobuf:"varint,4,req,name=int64_field,json=int64Field" json:"int64_field,omitempty"` Uint32Field *uint32 `protobuf:"varint,5,req,name=uint32_field,json=uint32Field" json:"uint32_field,omitempty"` //required uint64 uint64_field = 6; Sint32Field *int32 `protobuf:"zigzag32,7,req,name=sint32_field,json=sint32Field" json:"sint32_field,omitempty"` Sint64Field *int64 `protobuf:"zigzag64,8,req,name=sint64_field,json=sint64Field" json:"sint64_field,omitempty"` Fixed32Field *uint32 `protobuf:"fixed32,9,req,name=fixed32_field,json=fixed32Field" json:"fixed32_field,omitempty"` //required fixed64 fixed64_field = 10; Sfixed32Field *int32 `protobuf:"fixed32,11,req,name=sfixed32_field,json=sfixed32Field" json:"sfixed32_field,omitempty"` Sfixed64Field *int64 `protobuf:"fixed64,12,req,name=sfixed64_field,json=sfixed64Field" json:"sfixed64_field,omitempty"` BoolField *bool `protobuf:"varint,13,req,name=bool_field,json=boolField" json:"bool_field,omitempty"` StringField *string `protobuf:"bytes,14,req,name=string_field,json=stringField" json:"string_field,omitempty"` BytesField []byte `protobuf:"bytes,15,req,name=bytes_field,json=bytesField" json:"bytes_field,omitempty"` EnumField *Proto2ExampleEnum `protobuf:"varint,16,req,name=enum_field,json=enumField,enum=testdata.Proto2ExampleEnum" json:"enum_field,omitempty"` // contains filtered or unexported fields }
func (*ValidationP2Required) Descriptor() ([]byte, []int)
Deprecated: Use ValidationP2Required.ProtoReflect.Descriptor instead.
func (x *ValidationP2Required) GetBoolField() bool
func (x *ValidationP2Required) GetBytesField() []byte
func (x *ValidationP2Required) GetDoubleField() float64
func (x *ValidationP2Required) GetEnumField() Proto2ExampleEnum
func (x *ValidationP2Required) GetFixed32Field() uint32
func (x *ValidationP2Required) GetFloatField() float32
func (x *ValidationP2Required) GetInt32Field() int32
func (x *ValidationP2Required) GetInt64Field() int64
func (x *ValidationP2Required) GetSfixed32Field() int32
func (x *ValidationP2Required) GetSfixed64Field() int64
func (x *ValidationP2Required) GetSint32Field() int32
func (x *ValidationP2Required) GetSint64Field() int64
func (x *ValidationP2Required) GetStringField() string
func (x *ValidationP2Required) GetUint32Field() uint32
func (*ValidationP2Required) ProtoMessage()
func (x *ValidationP2Required) ProtoReflect() protoreflect.Message
func (x *ValidationP2Required) Reset()
func (x *ValidationP2Required) String() string
Validating the behavior of unpacked repeated scalar values.
type ValidationP2UnpackedRepeated struct { Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` DoubleRepeated []float64 `protobuf:"fixed64,2,rep,name=double_repeated,json=doubleRepeated" json:"double_repeated,omitempty"` FloatRepeated []float32 `protobuf:"fixed32,3,rep,name=float_repeated,json=floatRepeated" json:"float_repeated,omitempty"` Int32Repeated []int32 `protobuf:"varint,4,rep,name=int32_repeated,json=int32Repeated" json:"int32_repeated,omitempty"` Int64Repeated []int64 `protobuf:"varint,5,rep,name=int64_repeated,json=int64Repeated" json:"int64_repeated,omitempty"` Uint32Repeated []uint32 `protobuf:"varint,6,rep,name=uint32_repeated,json=uint32Repeated" json:"uint32_repeated,omitempty"` Sint32Repeated []int32 `protobuf:"zigzag32,7,rep,name=sint32_repeated,json=sint32Repeated" json:"sint32_repeated,omitempty"` Sint64Repeated []int64 `protobuf:"zigzag64,8,rep,name=sint64_repeated,json=sint64Repeated" json:"sint64_repeated,omitempty"` Fixed32Repeated []uint32 `protobuf:"fixed32,9,rep,name=fixed32_repeated,json=fixed32Repeated" json:"fixed32_repeated,omitempty"` Sfixed32Repeated []int32 `protobuf:"fixed32,10,rep,name=sfixed32_repeated,json=sfixed32Repeated" json:"sfixed32_repeated,omitempty"` Sfixed64Repeated []int64 `protobuf:"fixed64,11,rep,name=sfixed64_repeated,json=sfixed64Repeated" json:"sfixed64_repeated,omitempty"` BoolRepeated []bool `protobuf:"varint,12,rep,name=bool_repeated,json=boolRepeated" json:"bool_repeated,omitempty"` EnumRepeated []Proto2ExampleEnum `protobuf:"varint,13,rep,name=enum_repeated,json=enumRepeated,enum=testdata.Proto2ExampleEnum" json:"enum_repeated,omitempty"` // contains filtered or unexported fields }
func (*ValidationP2UnpackedRepeated) Descriptor() ([]byte, []int)
Deprecated: Use ValidationP2UnpackedRepeated.ProtoReflect.Descriptor instead.
func (x *ValidationP2UnpackedRepeated) GetBoolRepeated() []bool
func (x *ValidationP2UnpackedRepeated) GetDoubleRepeated() []float64
func (x *ValidationP2UnpackedRepeated) GetEnumRepeated() []Proto2ExampleEnum
func (x *ValidationP2UnpackedRepeated) GetFixed32Repeated() []uint32
func (x *ValidationP2UnpackedRepeated) GetFloatRepeated() []float32
func (x *ValidationP2UnpackedRepeated) GetId() int64
func (x *ValidationP2UnpackedRepeated) GetInt32Repeated() []int32
func (x *ValidationP2UnpackedRepeated) GetInt64Repeated() []int64
func (x *ValidationP2UnpackedRepeated) GetSfixed32Repeated() []int32
func (x *ValidationP2UnpackedRepeated) GetSfixed64Repeated() []int64
func (x *ValidationP2UnpackedRepeated) GetSint32Repeated() []int32
func (x *ValidationP2UnpackedRepeated) GetSint64Repeated() []int64
func (x *ValidationP2UnpackedRepeated) GetUint32Repeated() []uint32
func (*ValidationP2UnpackedRepeated) ProtoMessage()
func (x *ValidationP2UnpackedRepeated) ProtoReflect() protoreflect.Message
func (x *ValidationP2UnpackedRepeated) Reset()
func (x *ValidationP2UnpackedRepeated) String() string
Validation message in proto3 syntax with default value behavior.
type ValidationP3Defaults struct { DoubleField float64 `protobuf:"fixed64,1,opt,name=double_field,json=doubleField,proto3" json:"double_field,omitempty"` FloatField float32 `protobuf:"fixed32,2,opt,name=float_field,json=floatField,proto3" json:"float_field,omitempty"` Int32Field int32 `protobuf:"varint,3,opt,name=int32_field,json=int32Field,proto3" json:"int32_field,omitempty"` Int64Field int64 `protobuf:"varint,4,opt,name=int64_field,json=int64Field,proto3" json:"int64_field,omitempty"` Uint32Field uint32 `protobuf:"varint,5,opt,name=uint32_field,json=uint32Field,proto3" json:"uint32_field,omitempty"` //uint64 uint64_field = 6; Sint32Field int32 `protobuf:"zigzag32,7,opt,name=sint32_field,json=sint32Field,proto3" json:"sint32_field,omitempty"` Sint64Field int64 `protobuf:"zigzag64,8,opt,name=sint64_field,json=sint64Field,proto3" json:"sint64_field,omitempty"` Fixed32Field uint32 `protobuf:"fixed32,9,opt,name=fixed32_field,json=fixed32Field,proto3" json:"fixed32_field,omitempty"` //fixed64 fixed64_field = 10; Sfixed32Field int32 `protobuf:"fixed32,11,opt,name=sfixed32_field,json=sfixed32Field,proto3" json:"sfixed32_field,omitempty"` Sfixed64Field int64 `protobuf:"fixed64,12,opt,name=sfixed64_field,json=sfixed64Field,proto3" json:"sfixed64_field,omitempty"` BoolField bool `protobuf:"varint,13,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` StringField string `protobuf:"bytes,14,opt,name=string_field,json=stringField,proto3" json:"string_field,omitempty"` BytesField []byte `protobuf:"bytes,15,opt,name=bytes_field,json=bytesField,proto3" json:"bytes_field,omitempty"` EnumField Proto3ExampleEnum `protobuf:"varint,16,opt,name=enum_field,json=enumField,proto3,enum=testdata.Proto3ExampleEnum" json:"enum_field,omitempty"` // contains filtered or unexported fields }
func (*ValidationP3Defaults) Descriptor() ([]byte, []int)
Deprecated: Use ValidationP3Defaults.ProtoReflect.Descriptor instead.
func (x *ValidationP3Defaults) GetBoolField() bool
func (x *ValidationP3Defaults) GetBytesField() []byte
func (x *ValidationP3Defaults) GetDoubleField() float64
func (x *ValidationP3Defaults) GetEnumField() Proto3ExampleEnum
func (x *ValidationP3Defaults) GetFixed32Field() uint32
func (x *ValidationP3Defaults) GetFloatField() float32
func (x *ValidationP3Defaults) GetInt32Field() int32
func (x *ValidationP3Defaults) GetInt64Field() int64
func (x *ValidationP3Defaults) GetSfixed32Field() int32
func (x *ValidationP3Defaults) GetSfixed64Field() int64
func (x *ValidationP3Defaults) GetSint32Field() int32
func (x *ValidationP3Defaults) GetSint64Field() int64
func (x *ValidationP3Defaults) GetStringField() string
func (x *ValidationP3Defaults) GetUint32Field() uint32
func (*ValidationP3Defaults) ProtoMessage()
func (x *ValidationP3Defaults) ProtoReflect() protoreflect.Message
func (x *ValidationP3Defaults) Reset()
func (x *ValidationP3Defaults) String() string
Validation message in proto2 syntax with field presence via optional keyword.
type ValidationP3Optional struct { DoubleField *float64 `protobuf:"fixed64,1,opt,name=double_field,json=doubleField,proto3,oneof" json:"double_field,omitempty"` FloatField *float32 `protobuf:"fixed32,2,opt,name=float_field,json=floatField,proto3,oneof" json:"float_field,omitempty"` Int32Field *int32 `protobuf:"varint,3,opt,name=int32_field,json=int32Field,proto3,oneof" json:"int32_field,omitempty"` Int64Field *int64 `protobuf:"varint,4,opt,name=int64_field,json=int64Field,proto3,oneof" json:"int64_field,omitempty"` Uint32Field *uint32 `protobuf:"varint,5,opt,name=uint32_field,json=uint32Field,proto3,oneof" json:"uint32_field,omitempty"` //optional uint64 uint64_field = 6; Sint32Field *int32 `protobuf:"zigzag32,7,opt,name=sint32_field,json=sint32Field,proto3,oneof" json:"sint32_field,omitempty"` Sint64Field *int64 `protobuf:"zigzag64,8,opt,name=sint64_field,json=sint64Field,proto3,oneof" json:"sint64_field,omitempty"` Fixed32Field *uint32 `protobuf:"fixed32,9,opt,name=fixed32_field,json=fixed32Field,proto3,oneof" json:"fixed32_field,omitempty"` //optional fixed64 fixed64_field = 10; Sfixed32Field *int32 `protobuf:"fixed32,11,opt,name=sfixed32_field,json=sfixed32Field,proto3,oneof" json:"sfixed32_field,omitempty"` Sfixed64Field *int64 `protobuf:"fixed64,12,opt,name=sfixed64_field,json=sfixed64Field,proto3,oneof" json:"sfixed64_field,omitempty"` BoolField *bool `protobuf:"varint,13,opt,name=bool_field,json=boolField,proto3,oneof" json:"bool_field,omitempty"` StringField *string `protobuf:"bytes,14,opt,name=string_field,json=stringField,proto3,oneof" json:"string_field,omitempty"` BytesField []byte `protobuf:"bytes,15,opt,name=bytes_field,json=bytesField,proto3,oneof" json:"bytes_field,omitempty"` EnumField *Proto3ExampleEnum `protobuf:"varint,16,opt,name=enum_field,json=enumField,proto3,enum=testdata.Proto3ExampleEnum,oneof" json:"enum_field,omitempty"` // contains filtered or unexported fields }
func (*ValidationP3Optional) Descriptor() ([]byte, []int)
Deprecated: Use ValidationP3Optional.ProtoReflect.Descriptor instead.
func (x *ValidationP3Optional) GetBoolField() bool
func (x *ValidationP3Optional) GetBytesField() []byte
func (x *ValidationP3Optional) GetDoubleField() float64
func (x *ValidationP3Optional) GetEnumField() Proto3ExampleEnum
func (x *ValidationP3Optional) GetFixed32Field() uint32
func (x *ValidationP3Optional) GetFloatField() float32
func (x *ValidationP3Optional) GetInt32Field() int32
func (x *ValidationP3Optional) GetInt64Field() int64
func (x *ValidationP3Optional) GetSfixed32Field() int32
func (x *ValidationP3Optional) GetSfixed64Field() int64
func (x *ValidationP3Optional) GetSint32Field() int32
func (x *ValidationP3Optional) GetSint64Field() int64
func (x *ValidationP3Optional) GetStringField() string
func (x *ValidationP3Optional) GetUint32Field() uint32
func (*ValidationP3Optional) ProtoMessage()
func (x *ValidationP3Optional) ProtoReflect() protoreflect.Message
func (x *ValidationP3Optional) Reset()
func (x *ValidationP3Optional) String() string
Validating the behavior of packed repeated scalar values. Proto3 behavior is to pack values by default.
type ValidationP3PackedRepeated struct { Id *int64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` DoubleRepeated []float64 `protobuf:"fixed64,2,rep,packed,name=double_repeated,json=doubleRepeated,proto3" json:"double_repeated,omitempty"` FloatRepeated []float32 `protobuf:"fixed32,3,rep,packed,name=float_repeated,json=floatRepeated,proto3" json:"float_repeated,omitempty"` Int32Repeated []int32 `protobuf:"varint,4,rep,packed,name=int32_repeated,json=int32Repeated,proto3" json:"int32_repeated,omitempty"` Int64Repeated []int64 `protobuf:"varint,5,rep,packed,name=int64_repeated,json=int64Repeated,proto3" json:"int64_repeated,omitempty"` Uint32Repeated []uint32 `protobuf:"varint,6,rep,packed,name=uint32_repeated,json=uint32Repeated,proto3" json:"uint32_repeated,omitempty"` Sint32Repeated []int32 `protobuf:"zigzag32,7,rep,packed,name=sint32_repeated,json=sint32Repeated,proto3" json:"sint32_repeated,omitempty"` Sint64Repeated []int64 `protobuf:"zigzag64,8,rep,packed,name=sint64_repeated,json=sint64Repeated,proto3" json:"sint64_repeated,omitempty"` Fixed32Repeated []uint32 `protobuf:"fixed32,9,rep,packed,name=fixed32_repeated,json=fixed32Repeated,proto3" json:"fixed32_repeated,omitempty"` Sfixed32Repeated []int32 `protobuf:"fixed32,10,rep,packed,name=sfixed32_repeated,json=sfixed32Repeated,proto3" json:"sfixed32_repeated,omitempty"` Sfixed64Repeated []int64 `protobuf:"fixed64,11,rep,packed,name=sfixed64_repeated,json=sfixed64Repeated,proto3" json:"sfixed64_repeated,omitempty"` BoolRepeated []bool `protobuf:"varint,12,rep,packed,name=bool_repeated,json=boolRepeated,proto3" json:"bool_repeated,omitempty"` EnumRepeated []Proto3ExampleEnum `protobuf:"varint,13,rep,packed,name=enum_repeated,json=enumRepeated,proto3,enum=testdata.Proto3ExampleEnum" json:"enum_repeated,omitempty"` // contains filtered or unexported fields }
func (*ValidationP3PackedRepeated) Descriptor() ([]byte, []int)
Deprecated: Use ValidationP3PackedRepeated.ProtoReflect.Descriptor instead.
func (x *ValidationP3PackedRepeated) GetBoolRepeated() []bool
func (x *ValidationP3PackedRepeated) GetDoubleRepeated() []float64
func (x *ValidationP3PackedRepeated) GetEnumRepeated() []Proto3ExampleEnum
func (x *ValidationP3PackedRepeated) GetFixed32Repeated() []uint32
func (x *ValidationP3PackedRepeated) GetFloatRepeated() []float32
func (x *ValidationP3PackedRepeated) GetId() int64
func (x *ValidationP3PackedRepeated) GetInt32Repeated() []int32
func (x *ValidationP3PackedRepeated) GetInt64Repeated() []int64
func (x *ValidationP3PackedRepeated) GetSfixed32Repeated() []int32
func (x *ValidationP3PackedRepeated) GetSfixed64Repeated() []int64
func (x *ValidationP3PackedRepeated) GetSint32Repeated() []int32
func (x *ValidationP3PackedRepeated) GetSint64Repeated() []int64
func (x *ValidationP3PackedRepeated) GetUint32Repeated() []uint32
func (*ValidationP3PackedRepeated) ProtoMessage()
func (x *ValidationP3PackedRepeated) ProtoReflect() protoreflect.Message
func (x *ValidationP3PackedRepeated) Reset()
func (x *ValidationP3PackedRepeated) String() string
Validation message in proto2 syntax with all well-known wraper types. Note: There are no well-known sint/fixed/sfixed.
type ValidationP3Wrappers struct { DoubleField *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=double_field,json=doubleField,proto3" json:"double_field,omitempty"` FloatField *wrapperspb.FloatValue `protobuf:"bytes,2,opt,name=float_field,json=floatField,proto3" json:"float_field,omitempty"` Int32Field *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=int32_field,json=int32Field,proto3" json:"int32_field,omitempty"` Int64Field *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=int64_field,json=int64Field,proto3" json:"int64_field,omitempty"` Uint32Field *wrapperspb.UInt32Value `protobuf:"bytes,5,opt,name=uint32_field,json=uint32Field,proto3" json:"uint32_field,omitempty"` //google.protobuf.UInt64Value uint64_field = 6; Sint32Field int32 `protobuf:"zigzag32,7,opt,name=sint32_field,json=sint32Field,proto3" json:"sint32_field,omitempty"` Sint64Field int64 `protobuf:"zigzag64,8,opt,name=sint64_field,json=sint64Field,proto3" json:"sint64_field,omitempty"` Fixed32Field uint32 `protobuf:"fixed32,9,opt,name=fixed32_field,json=fixed32Field,proto3" json:"fixed32_field,omitempty"` //fixed64 fixed64_field = 10; Sfixed32Field int32 `protobuf:"fixed32,11,opt,name=sfixed32_field,json=sfixed32Field,proto3" json:"sfixed32_field,omitempty"` Sfixed64Field int64 `protobuf:"fixed64,12,opt,name=sfixed64_field,json=sfixed64Field,proto3" json:"sfixed64_field,omitempty"` BoolField *wrapperspb.BoolValue `protobuf:"bytes,13,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` StringField *wrapperspb.StringValue `protobuf:"bytes,14,opt,name=string_field,json=stringField,proto3" json:"string_field,omitempty"` BytesField *wrapperspb.BytesValue `protobuf:"bytes,15,opt,name=bytes_field,json=bytesField,proto3" json:"bytes_field,omitempty"` EnumField Proto3ExampleEnum `protobuf:"varint,16,opt,name=enum_field,json=enumField,proto3,enum=testdata.Proto3ExampleEnum" json:"enum_field,omitempty"` // contains filtered or unexported fields }
func (*ValidationP3Wrappers) Descriptor() ([]byte, []int)
Deprecated: Use ValidationP3Wrappers.ProtoReflect.Descriptor instead.
func (x *ValidationP3Wrappers) GetBoolField() *wrapperspb.BoolValue
func (x *ValidationP3Wrappers) GetBytesField() *wrapperspb.BytesValue
func (x *ValidationP3Wrappers) GetDoubleField() *wrapperspb.DoubleValue
func (x *ValidationP3Wrappers) GetEnumField() Proto3ExampleEnum
func (x *ValidationP3Wrappers) GetFixed32Field() uint32
func (x *ValidationP3Wrappers) GetFloatField() *wrapperspb.FloatValue
func (x *ValidationP3Wrappers) GetInt32Field() *wrapperspb.Int32Value
func (x *ValidationP3Wrappers) GetInt64Field() *wrapperspb.Int64Value
func (x *ValidationP3Wrappers) GetSfixed32Field() int32
func (x *ValidationP3Wrappers) GetSfixed64Field() int64
func (x *ValidationP3Wrappers) GetSint32Field() int32
func (x *ValidationP3Wrappers) GetSint64Field() int64
func (x *ValidationP3Wrappers) GetStringField() *wrapperspb.StringValue
func (x *ValidationP3Wrappers) GetUint32Field() *wrapperspb.UInt32Value
func (*ValidationP3Wrappers) ProtoMessage()
func (x *ValidationP3Wrappers) ProtoReflect() protoreflect.Message
func (x *ValidationP3Wrappers) Reset()
func (x *ValidationP3Wrappers) String() string
type WithOneOf struct { Int32Value *int32 `protobuf:"varint,1,opt,name=int32_value,json=int32Value" json:"int32_value,omitempty"` // Types that are assignable to OneofValue: // *WithOneOf_StringValue // *WithOneOf_DoubleValue OneofValue isWithOneOf_OneofValue `protobuf_oneof:"oneof_value"` // contains filtered or unexported fields }
func (*WithOneOf) Descriptor() ([]byte, []int)
Deprecated: Use WithOneOf.ProtoReflect.Descriptor instead.
func (x *WithOneOf) GetDoubleValue() float64
func (x *WithOneOf) GetInt32Value() int32
func (m *WithOneOf) GetOneofValue() isWithOneOf_OneofValue
func (x *WithOneOf) GetStringValue() string
func (*WithOneOf) ProtoMessage()
func (x *WithOneOf) ProtoReflect() protoreflect.Message
func (x *WithOneOf) Reset()
func (x *WithOneOf) String() string
type WithOneOf_DoubleValue struct { DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,oneof"` }
type WithOneOf_StringValue struct { StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,oneof"` }
type WithWellKnownTypes struct { Int64Value *int64 `protobuf:"varint,1,opt,name=int64_value,json=int64Value" json:"int64_value,omitempty"` WrappedInt64 *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=wrapped_int64,json=wrappedInt64" json:"wrapped_int64,omitempty"` StringValue []string `protobuf:"bytes,3,rep,name=string_value,json=stringValue" json:"string_value,omitempty"` WrappedString []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=wrapped_string,json=wrappedString" json:"wrapped_string,omitempty"` // contains filtered or unexported fields }
func (*WithWellKnownTypes) Descriptor() ([]byte, []int)
Deprecated: Use WithWellKnownTypes.ProtoReflect.Descriptor instead.
func (x *WithWellKnownTypes) GetInt64Value() int64
func (x *WithWellKnownTypes) GetStringValue() []string
func (x *WithWellKnownTypes) GetWrappedInt64() *wrapperspb.Int64Value
func (x *WithWellKnownTypes) GetWrappedString() []*wrapperspb.StringValue
func (*WithWellKnownTypes) ProtoMessage()
func (x *WithWellKnownTypes) ProtoReflect() protoreflect.Message
func (x *WithWellKnownTypes) Reset()
func (x *WithWellKnownTypes) String() string