Default values for TestAllTypesProto2 fields.
const ( Default_TestAllTypesProto2_DefaultInt32 = int32(-123456789) Default_TestAllTypesProto2_DefaultInt64 = int64(-9123456789123456789) Default_TestAllTypesProto2_DefaultUint32 = uint32(2123456789) Default_TestAllTypesProto2_DefaultUint64 = uint64(10123456789123456789) Default_TestAllTypesProto2_DefaultSint32 = int32(-123456789) Default_TestAllTypesProto2_DefaultSint64 = int64(-9123456789123456789) Default_TestAllTypesProto2_DefaultFixed32 = uint32(2123456789) Default_TestAllTypesProto2_DefaultFixed64 = uint64(10123456789123456789) Default_TestAllTypesProto2_DefaultSfixed32 = int32(-123456789) Default_TestAllTypesProto2_DefaultSfixed64 = int64(-9123456789123456789) Default_TestAllTypesProto2_DefaultFloat = float32(8.999999488e+09) Default_TestAllTypesProto2_DefaultDouble = float64(7e+22) Default_TestAllTypesProto2_DefaultBool = bool(true) Default_TestAllTypesProto2_DefaultString = string("Rosebud") )
Default values for TestAllRequiredTypesProto2 fields.
const ( Default_TestAllRequiredTypesProto2_DefaultInt32 = int32(-123456789) Default_TestAllRequiredTypesProto2_DefaultInt64 = int64(-9123456789123456789) Default_TestAllRequiredTypesProto2_DefaultUint32 = uint32(2123456789) Default_TestAllRequiredTypesProto2_DefaultUint64 = uint64(10123456789123456789) Default_TestAllRequiredTypesProto2_DefaultSint32 = int32(-123456789) Default_TestAllRequiredTypesProto2_DefaultSint64 = int64(-9123456789123456789) Default_TestAllRequiredTypesProto2_DefaultFixed32 = uint32(2123456789) Default_TestAllRequiredTypesProto2_DefaultFixed64 = uint64(10123456789123456789) Default_TestAllRequiredTypesProto2_DefaultSfixed32 = int32(-123456789) Default_TestAllRequiredTypesProto2_DefaultSfixed64 = int64(-9123456789123456789) Default_TestAllRequiredTypesProto2_DefaultFloat = float32(8.999999488e+09) Default_TestAllRequiredTypesProto2_DefaultDouble = float64(7e+22) Default_TestAllRequiredTypesProto2_DefaultBool = bool(true) Default_TestAllRequiredTypesProto2_DefaultString = string("Rosebud") )
Enum value maps for WireFormat.
var ( WireFormat_name = map[int32]string{ 0: "UNSPECIFIED", 1: "PROTOBUF", 2: "JSON", 3: "JSPB", 4: "TEXT_FORMAT", } WireFormat_value = map[string]int32{ "UNSPECIFIED": 0, "PROTOBUF": 1, "JSON": 2, "JSPB": 3, "TEXT_FORMAT": 4, } )
Enum value maps for TestCategory.
var ( TestCategory_name = map[int32]string{ 0: "UNSPECIFIED_TEST", 1: "BINARY_TEST", 2: "JSON_TEST", 3: "JSON_IGNORE_UNKNOWN_PARSING_TEST", 4: "JSPB_TEST", 5: "TEXT_FORMAT_TEST", } TestCategory_value = map[string]int32{ "UNSPECIFIED_TEST": 0, "BINARY_TEST": 1, "JSON_TEST": 2, "JSON_IGNORE_UNKNOWN_PARSING_TEST": 3, "JSPB_TEST": 4, "TEXT_FORMAT_TEST": 5, } )
Enum value maps for ForeignEnumProto2.
var ( ForeignEnumProto2_name = map[int32]string{ 0: "FOREIGN_FOO", 1: "FOREIGN_BAR", 2: "FOREIGN_BAZ", } ForeignEnumProto2_value = map[string]int32{ "FOREIGN_FOO": 0, "FOREIGN_BAR": 1, "FOREIGN_BAZ": 2, } )
Enum value maps for TestAllTypesProto2_NestedEnum.
var ( TestAllTypesProto2_NestedEnum_name = map[int32]string{ 0: "FOO", 1: "BAR", 2: "BAZ", -1: "NEG", } TestAllTypesProto2_NestedEnum_value = map[string]int32{ "FOO": 0, "BAR": 1, "BAZ": 2, "NEG": -1, } )
Enum value maps for EnumOnlyProto2_Bool.
var ( EnumOnlyProto2_Bool_name = map[int32]string{ 0: "kFalse", 1: "kTrue", } EnumOnlyProto2_Bool_value = map[string]int32{ "kFalse": 0, "kTrue": 1, } )
Enum value maps for TestAllRequiredTypesProto2_NestedEnum.
var ( TestAllRequiredTypesProto2_NestedEnum_name = map[int32]string{ 0: "FOO", 1: "BAR", 2: "BAZ", -1: "NEG", } TestAllRequiredTypesProto2_NestedEnum_value = map[string]int32{ "FOO": 0, "BAR": 1, "BAZ": 2, "NEG": -1, } )
Extension fields to TestAllTypesProto2_MessageSetCorrect.
var ( // optional protobuf_test_messages.proto2.TestAllTypesProto2.MessageSetCorrectExtension1 message_set_extension = 1547769; E_TestAllTypesProto2_MessageSetCorrectExtension1_MessageSetExtension = &file_google_protobuf_test_messages_proto2_proto_extTypes[1] // optional protobuf_test_messages.proto2.TestAllTypesProto2.MessageSetCorrectExtension2 message_set_extension = 4135312; E_TestAllTypesProto2_MessageSetCorrectExtension2_MessageSetExtension = &file_google_protobuf_test_messages_proto2_proto_extTypes[2] )
Extension fields to TestAllRequiredTypesProto2_MessageSetCorrect.
var ( // optional protobuf_test_messages.proto2.TestAllRequiredTypesProto2.MessageSetCorrectExtension1 message_set_extension = 1547769; E_TestAllRequiredTypesProto2_MessageSetCorrectExtension1_MessageSetExtension = &file_google_protobuf_test_messages_proto2_proto_extTypes[3] // optional protobuf_test_messages.proto2.TestAllRequiredTypesProto2.MessageSetCorrectExtension2 message_set_extension = 4135312; E_TestAllRequiredTypesProto2_MessageSetCorrectExtension2_MessageSetExtension = &file_google_protobuf_test_messages_proto2_proto_extTypes[4] )
Enum value maps for ForeignEnum.
var ( ForeignEnum_name = map[int32]string{ 0: "FOREIGN_FOO", 1: "FOREIGN_BAR", 2: "FOREIGN_BAZ", } ForeignEnum_value = map[string]int32{ "FOREIGN_FOO": 0, "FOREIGN_BAR": 1, "FOREIGN_BAZ": 2, } )
Enum value maps for TestAllTypesProto3_NestedEnum.
var ( TestAllTypesProto3_NestedEnum_name = map[int32]string{ 0: "FOO", 1: "BAR", 2: "BAZ", -1: "NEG", } TestAllTypesProto3_NestedEnum_value = map[string]int32{ "FOO": 0, "BAR": 1, "BAZ": 2, "NEG": -1, } )
Enum value maps for TestAllTypesProto3_AliasedEnum.
var ( TestAllTypesProto3_AliasedEnum_name = map[int32]string{ 0: "ALIAS_FOO", 1: "ALIAS_BAR", 2: "ALIAS_BAZ", } TestAllTypesProto3_AliasedEnum_value = map[string]int32{ "ALIAS_FOO": 0, "ALIAS_BAR": 1, "ALIAS_BAZ": 2, "MOO": 2, "moo": 2, "bAz": 2, } )
Enum value maps for EnumOnlyProto3_Bool.
var ( EnumOnlyProto3_Bool_name = map[int32]string{ 0: "kFalse", 1: "kTrue", } EnumOnlyProto3_Bool_value = map[string]int32{ "kFalse": 0, "kTrue": 1, } )
Default values for TestAllRequiredTypesProto2 fields.
var ( Default_TestAllRequiredTypesProto2_DefaultBytes = []byte("joshua") )
Default values for TestAllTypesProto2 fields.
var ( Default_TestAllTypesProto2_DefaultBytes = []byte("joshua") )
Extension fields to TestAllTypesProto2.
var ( // optional int32 extension_int32 = 120; E_ExtensionInt32 = &file_google_protobuf_test_messages_proto2_proto_extTypes[0] )
var File_conformance_conformance_proto protoreflect.FileDescriptor
var File_google_protobuf_test_messages_proto2_proto protoreflect.FileDescriptor
var File_google_protobuf_test_messages_proto3_proto protoreflect.FileDescriptor
Represents a single test case's input. The testee should:
type ConformanceRequest struct { // The payload (whether protobuf of JSON) is always for a // protobuf_test_messages.proto3.TestAllTypes proto (as defined in // src/google/protobuf/proto3_test_messages.proto). // // Types that are assignable to Payload: // // *ConformanceRequest_ProtobufPayload // *ConformanceRequest_JsonPayload // *ConformanceRequest_JspbPayload // *ConformanceRequest_TextPayload Payload isConformanceRequest_Payload `protobuf_oneof:"payload"` // Which format should the testee serialize its message to? RequestedOutputFormat WireFormat `protobuf:"varint,3,opt,name=requested_output_format,json=requestedOutputFormat,proto3,enum=conformance.WireFormat" json:"requested_output_format,omitempty"` // The full name for the test message to use; for the moment, either: // protobuf_test_messages.proto3.TestAllTypesProto3 or // protobuf_test_messages.google.protobuf.TestAllTypesProto2. MessageType string `protobuf:"bytes,4,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"` // Each test is given a specific test category. Some category may need // specific support in testee programs. Refer to the definition of // TestCategory for more information. TestCategory TestCategory `protobuf:"varint,5,opt,name=test_category,json=testCategory,proto3,enum=conformance.TestCategory" json:"test_category,omitempty"` // Specify details for how to encode jspb. JspbEncodingOptions *JspbEncodingConfig `protobuf:"bytes,6,opt,name=jspb_encoding_options,json=jspbEncodingOptions,proto3" json:"jspb_encoding_options,omitempty"` // This can be used in json and text format. If true, testee should print // unknown fields instead of ignore. This feature is optional. PrintUnknownFields bool `protobuf:"varint,9,opt,name=print_unknown_fields,json=printUnknownFields,proto3" json:"print_unknown_fields,omitempty"` // contains filtered or unexported fields }
func (*ConformanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConformanceRequest.ProtoReflect.Descriptor instead.
func (x *ConformanceRequest) GetJsonPayload() string
func (x *ConformanceRequest) GetJspbEncodingOptions() *JspbEncodingConfig
func (x *ConformanceRequest) GetJspbPayload() string
func (x *ConformanceRequest) GetMessageType() string
func (m *ConformanceRequest) GetPayload() isConformanceRequest_Payload
func (x *ConformanceRequest) GetPrintUnknownFields() bool
func (x *ConformanceRequest) GetProtobufPayload() []byte
func (x *ConformanceRequest) GetRequestedOutputFormat() WireFormat
func (x *ConformanceRequest) GetTestCategory() TestCategory
func (x *ConformanceRequest) GetTextPayload() string
func (*ConformanceRequest) ProtoMessage()
func (x *ConformanceRequest) ProtoReflect() protoreflect.Message
func (x *ConformanceRequest) Reset()
func (x *ConformanceRequest) String() string
type ConformanceRequest_JsonPayload struct { JsonPayload string `protobuf:"bytes,2,opt,name=json_payload,json=jsonPayload,proto3,oneof"` }
type ConformanceRequest_JspbPayload struct { // Only used inside Google. Opensource testees just skip it. JspbPayload string `protobuf:"bytes,7,opt,name=jspb_payload,json=jspbPayload,proto3,oneof"` }
type ConformanceRequest_ProtobufPayload struct { ProtobufPayload []byte `protobuf:"bytes,1,opt,name=protobuf_payload,json=protobufPayload,proto3,oneof"` }
type ConformanceRequest_TextPayload struct { TextPayload string `protobuf:"bytes,8,opt,name=text_payload,json=textPayload,proto3,oneof"` }
Represents a single test case's output.
type ConformanceResponse struct { // Types that are assignable to Result: // // *ConformanceResponse_ParseError // *ConformanceResponse_SerializeError // *ConformanceResponse_TimeoutError // *ConformanceResponse_RuntimeError // *ConformanceResponse_ProtobufPayload // *ConformanceResponse_JsonPayload // *ConformanceResponse_Skipped // *ConformanceResponse_JspbPayload // *ConformanceResponse_TextPayload Result isConformanceResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*ConformanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConformanceResponse.ProtoReflect.Descriptor instead.
func (x *ConformanceResponse) GetJsonPayload() string
func (x *ConformanceResponse) GetJspbPayload() string
func (x *ConformanceResponse) GetParseError() string
func (x *ConformanceResponse) GetProtobufPayload() []byte
func (m *ConformanceResponse) GetResult() isConformanceResponse_Result
func (x *ConformanceResponse) GetRuntimeError() string
func (x *ConformanceResponse) GetSerializeError() string
func (x *ConformanceResponse) GetSkipped() string
func (x *ConformanceResponse) GetTextPayload() string
func (x *ConformanceResponse) GetTimeoutError() string
func (*ConformanceResponse) ProtoMessage()
func (x *ConformanceResponse) ProtoReflect() protoreflect.Message
func (x *ConformanceResponse) Reset()
func (x *ConformanceResponse) String() string
type ConformanceResponse_JsonPayload struct { // If the input was successfully parsed and the requested output was JSON, // serialize to JSON and set it in this field. JsonPayload string `protobuf:"bytes,4,opt,name=json_payload,json=jsonPayload,proto3,oneof"` }
type ConformanceResponse_JspbPayload struct { // If the input was successfully parsed and the requested output was JSPB, // serialize to JSPB and set it in this field. JSPB is only used inside // Google. Opensource testees can just skip it. JspbPayload string `protobuf:"bytes,7,opt,name=jspb_payload,json=jspbPayload,proto3,oneof"` }
type ConformanceResponse_ParseError struct { // This string should be set to indicate parsing failed. The string can // provide more information about the parse error if it is available. // // Setting this string does not necessarily mean the testee failed the // test. Some of the test cases are intentionally invalid input. ParseError string `protobuf:"bytes,1,opt,name=parse_error,json=parseError,proto3,oneof"` }
type ConformanceResponse_ProtobufPayload struct { // If the input was successfully parsed and the requested output was // protobuf, serialize it to protobuf and set it in this field. ProtobufPayload []byte `protobuf:"bytes,3,opt,name=protobuf_payload,json=protobufPayload,proto3,oneof"` }
type ConformanceResponse_RuntimeError struct { // This should be set if some other error occurred. This will always // indicate that the test failed. The string can provide more information // about the failure. RuntimeError string `protobuf:"bytes,2,opt,name=runtime_error,json=runtimeError,proto3,oneof"` }
type ConformanceResponse_SerializeError struct { // If the input was successfully parsed but errors occurred when // serializing it to the requested output format, set the error message in // this field. SerializeError string `protobuf:"bytes,6,opt,name=serialize_error,json=serializeError,proto3,oneof"` }
type ConformanceResponse_Skipped struct { // For when the testee skipped the test, likely because a certain feature // wasn't supported, like JSON input/output. Skipped string `protobuf:"bytes,5,opt,name=skipped,proto3,oneof"` }
type ConformanceResponse_TextPayload struct { // If the input was successfully parsed and the requested output was // TEXT_FORMAT, serialize to TEXT_FORMAT and set it in this field. TextPayload string `protobuf:"bytes,8,opt,name=text_payload,json=textPayload,proto3,oneof"` }
type ConformanceResponse_TimeoutError struct { // This should be set if the test program timed out. The string should // provide more information about what the child process was doing when it // was killed. TimeoutError string `protobuf:"bytes,9,opt,name=timeout_error,json=timeoutError,proto3,oneof"` }
type EnumOnlyProto2 struct {
// contains filtered or unexported fields
}
func (*EnumOnlyProto2) Descriptor() ([]byte, []int)
Deprecated: Use EnumOnlyProto2.ProtoReflect.Descriptor instead.
func (*EnumOnlyProto2) ProtoMessage()
func (x *EnumOnlyProto2) ProtoReflect() protoreflect.Message
func (x *EnumOnlyProto2) Reset()
func (x *EnumOnlyProto2) String() string
type EnumOnlyProto2_Bool int32
const ( EnumOnlyProto2_kFalse EnumOnlyProto2_Bool = 0 EnumOnlyProto2_kTrue EnumOnlyProto2_Bool = 1 )
func (EnumOnlyProto2_Bool) Descriptor() protoreflect.EnumDescriptor
func (x EnumOnlyProto2_Bool) Enum() *EnumOnlyProto2_Bool
func (EnumOnlyProto2_Bool) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnumOnlyProto2_Bool.Descriptor instead.
func (x EnumOnlyProto2_Bool) Number() protoreflect.EnumNumber
func (x EnumOnlyProto2_Bool) String() string
func (EnumOnlyProto2_Bool) Type() protoreflect.EnumType
func (x *EnumOnlyProto2_Bool) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type EnumOnlyProto3 struct {
// contains filtered or unexported fields
}
func (*EnumOnlyProto3) Descriptor() ([]byte, []int)
Deprecated: Use EnumOnlyProto3.ProtoReflect.Descriptor instead.
func (*EnumOnlyProto3) ProtoMessage()
func (x *EnumOnlyProto3) ProtoReflect() protoreflect.Message
func (x *EnumOnlyProto3) Reset()
func (x *EnumOnlyProto3) String() string
type EnumOnlyProto3_Bool int32
const ( EnumOnlyProto3_kFalse EnumOnlyProto3_Bool = 0 EnumOnlyProto3_kTrue EnumOnlyProto3_Bool = 1 )
func (EnumOnlyProto3_Bool) Descriptor() protoreflect.EnumDescriptor
func (x EnumOnlyProto3_Bool) Enum() *EnumOnlyProto3_Bool
func (EnumOnlyProto3_Bool) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnumOnlyProto3_Bool.Descriptor instead.
func (x EnumOnlyProto3_Bool) Number() protoreflect.EnumNumber
func (x EnumOnlyProto3_Bool) String() string
func (EnumOnlyProto3_Bool) Type() protoreflect.EnumType
The conformance runner will request a list of failures as the first request. This will be known by message_type == "conformance.FailureSet", a conformance test should return a serialized FailureSet in protobuf_payload.
type FailureSet struct { Failure []string `protobuf:"bytes,1,rep,name=failure,proto3" json:"failure,omitempty"` // contains filtered or unexported fields }
func (*FailureSet) Descriptor() ([]byte, []int)
Deprecated: Use FailureSet.ProtoReflect.Descriptor instead.
func (x *FailureSet) GetFailure() []string
func (*FailureSet) ProtoMessage()
func (x *FailureSet) ProtoReflect() protoreflect.Message
func (x *FailureSet) Reset()
func (x *FailureSet) String() string
type ForeignEnum int32
const ( ForeignEnum_FOREIGN_FOO ForeignEnum = 0 ForeignEnum_FOREIGN_BAR ForeignEnum = 1 ForeignEnum_FOREIGN_BAZ ForeignEnum = 2 )
func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor
func (x ForeignEnum) Enum() *ForeignEnum
func (ForeignEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForeignEnum.Descriptor instead.
func (x ForeignEnum) Number() protoreflect.EnumNumber
func (x ForeignEnum) String() string
func (ForeignEnum) Type() protoreflect.EnumType
type ForeignEnumProto2 int32
const ( ForeignEnumProto2_FOREIGN_FOO ForeignEnumProto2 = 0 ForeignEnumProto2_FOREIGN_BAR ForeignEnumProto2 = 1 ForeignEnumProto2_FOREIGN_BAZ ForeignEnumProto2 = 2 )
func (ForeignEnumProto2) Descriptor() protoreflect.EnumDescriptor
func (x ForeignEnumProto2) Enum() *ForeignEnumProto2
func (ForeignEnumProto2) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForeignEnumProto2.Descriptor instead.
func (x ForeignEnumProto2) Number() protoreflect.EnumNumber
func (x ForeignEnumProto2) String() string
func (ForeignEnumProto2) Type() protoreflect.EnumType
func (x *ForeignEnumProto2) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ForeignMessage struct { C int32 `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"` // contains filtered or unexported fields }
func (*ForeignMessage) Descriptor() ([]byte, []int)
Deprecated: Use ForeignMessage.ProtoReflect.Descriptor instead.
func (x *ForeignMessage) GetC() int32
func (*ForeignMessage) ProtoMessage()
func (x *ForeignMessage) ProtoReflect() protoreflect.Message
func (x *ForeignMessage) Reset()
func (x *ForeignMessage) String() string
type ForeignMessageProto2 struct { C *int32 `protobuf:"varint,1,opt,name=c" json:"c,omitempty"` // contains filtered or unexported fields }
func (*ForeignMessageProto2) Descriptor() ([]byte, []int)
Deprecated: Use ForeignMessageProto2.ProtoReflect.Descriptor instead.
func (x *ForeignMessageProto2) GetC() int32
func (*ForeignMessageProto2) ProtoMessage()
func (x *ForeignMessageProto2) ProtoReflect() protoreflect.Message
func (x *ForeignMessageProto2) Reset()
func (x *ForeignMessageProto2) String() string
Encoding options for jspb format.
type JspbEncodingConfig struct { // Encode the value field of Any as jspb array if true, otherwise binary. UseJspbArrayAnyFormat bool `protobuf:"varint,1,opt,name=use_jspb_array_any_format,json=useJspbArrayAnyFormat,proto3" json:"use_jspb_array_any_format,omitempty"` // contains filtered or unexported fields }
func (*JspbEncodingConfig) Descriptor() ([]byte, []int)
Deprecated: Use JspbEncodingConfig.ProtoReflect.Descriptor instead.
func (x *JspbEncodingConfig) GetUseJspbArrayAnyFormat() bool
func (*JspbEncodingConfig) ProtoMessage()
func (x *JspbEncodingConfig) ProtoReflect() protoreflect.Message
func (x *JspbEncodingConfig) Reset()
func (x *JspbEncodingConfig) String() string
type NullHypothesisProto2 struct {
// contains filtered or unexported fields
}
func (*NullHypothesisProto2) Descriptor() ([]byte, []int)
Deprecated: Use NullHypothesisProto2.ProtoReflect.Descriptor instead.
func (*NullHypothesisProto2) ProtoMessage()
func (x *NullHypothesisProto2) ProtoReflect() protoreflect.Message
func (x *NullHypothesisProto2) Reset()
func (x *NullHypothesisProto2) String() string
type NullHypothesisProto3 struct {
// contains filtered or unexported fields
}
func (*NullHypothesisProto3) Descriptor() ([]byte, []int)
Deprecated: Use NullHypothesisProto3.ProtoReflect.Descriptor instead.
func (*NullHypothesisProto3) ProtoMessage()
func (x *NullHypothesisProto3) ProtoReflect() protoreflect.Message
func (x *NullHypothesisProto3) Reset()
func (x *NullHypothesisProto3) String() string
type OneStringProto2 struct { Data *string `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"` // contains filtered or unexported fields }
func (*OneStringProto2) Descriptor() ([]byte, []int)
Deprecated: Use OneStringProto2.ProtoReflect.Descriptor instead.
func (x *OneStringProto2) GetData() string
func (*OneStringProto2) ProtoMessage()
func (x *OneStringProto2) ProtoReflect() protoreflect.Message
func (x *OneStringProto2) Reset()
func (x *OneStringProto2) String() string
type ProtoWithKeywords struct { Inline *int32 `protobuf:"varint,1,opt,name=inline" json:"inline,omitempty"` Concept *string `protobuf:"bytes,2,opt,name=concept" json:"concept,omitempty"` Requires []string `protobuf:"bytes,3,rep,name=requires" json:"requires,omitempty"` // contains filtered or unexported fields }
func (*ProtoWithKeywords) Descriptor() ([]byte, []int)
Deprecated: Use ProtoWithKeywords.ProtoReflect.Descriptor instead.
func (x *ProtoWithKeywords) GetConcept() string
func (x *ProtoWithKeywords) GetInline() int32
func (x *ProtoWithKeywords) GetRequires() []string
func (*ProtoWithKeywords) ProtoMessage()
func (x *ProtoWithKeywords) ProtoReflect() protoreflect.Message
func (x *ProtoWithKeywords) Reset()
func (x *ProtoWithKeywords) String() string
type TestAllRequiredTypesProto2 struct { // Singular RequiredInt32 *int32 `protobuf:"varint,1,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"` RequiredInt64 *int64 `protobuf:"varint,2,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"` RequiredUint32 *uint32 `protobuf:"varint,3,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"` RequiredUint64 *uint64 `protobuf:"varint,4,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"` RequiredSint32 *int32 `protobuf:"zigzag32,5,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"` RequiredSint64 *int64 `protobuf:"zigzag64,6,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"` RequiredFixed32 *uint32 `protobuf:"fixed32,7,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"` RequiredFixed64 *uint64 `protobuf:"fixed64,8,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"` RequiredSfixed32 *int32 `protobuf:"fixed32,9,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"` RequiredSfixed64 *int64 `protobuf:"fixed64,10,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"` RequiredFloat *float32 `protobuf:"fixed32,11,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"` RequiredDouble *float64 `protobuf:"fixed64,12,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"` RequiredBool *bool `protobuf:"varint,13,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"` RequiredString *string `protobuf:"bytes,14,req,name=required_string,json=requiredString" json:"required_string,omitempty"` RequiredBytes []byte `protobuf:"bytes,15,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"` RequiredNestedMessage *TestAllRequiredTypesProto2_NestedMessage `protobuf:"bytes,18,req,name=required_nested_message,json=requiredNestedMessage" json:"required_nested_message,omitempty"` RequiredForeignMessage *ForeignMessageProto2 `protobuf:"bytes,19,req,name=required_foreign_message,json=requiredForeignMessage" json:"required_foreign_message,omitempty"` RequiredNestedEnum *TestAllRequiredTypesProto2_NestedEnum `protobuf:"varint,21,req,name=required_nested_enum,json=requiredNestedEnum,enum=protobuf_test_messages.proto2.TestAllRequiredTypesProto2_NestedEnum" json:"required_nested_enum,omitempty"` RequiredForeignEnum *ForeignEnumProto2 `protobuf:"varint,22,req,name=required_foreign_enum,json=requiredForeignEnum,enum=protobuf_test_messages.proto2.ForeignEnumProto2" json:"required_foreign_enum,omitempty"` RequiredStringPiece *string `protobuf:"bytes,24,req,name=required_string_piece,json=requiredStringPiece" json:"required_string_piece,omitempty"` RequiredCord *string `protobuf:"bytes,25,req,name=required_cord,json=requiredCord" json:"required_cord,omitempty"` RecursiveMessage *TestAllRequiredTypesProto2 `protobuf:"bytes,27,req,name=recursive_message,json=recursiveMessage" json:"recursive_message,omitempty"` OptionalRecursiveMessage *TestAllRequiredTypesProto2 `protobuf:"bytes,28,opt,name=optional_recursive_message,json=optionalRecursiveMessage" json:"optional_recursive_message,omitempty"` Data *TestAllRequiredTypesProto2_Data `protobuf:"group,201,req,name=Data,json=data" json:"data,omitempty"` // default values DefaultInt32 *int32 `protobuf:"varint,241,req,name=default_int32,json=defaultInt32,def=-123456789" json:"default_int32,omitempty"` DefaultInt64 *int64 `protobuf:"varint,242,req,name=default_int64,json=defaultInt64,def=-9123456789123456789" json:"default_int64,omitempty"` DefaultUint32 *uint32 `protobuf:"varint,243,req,name=default_uint32,json=defaultUint32,def=2123456789" json:"default_uint32,omitempty"` DefaultUint64 *uint64 `protobuf:"varint,244,req,name=default_uint64,json=defaultUint64,def=10123456789123456789" json:"default_uint64,omitempty"` DefaultSint32 *int32 `protobuf:"zigzag32,245,req,name=default_sint32,json=defaultSint32,def=-123456789" json:"default_sint32,omitempty"` DefaultSint64 *int64 `protobuf:"zigzag64,246,req,name=default_sint64,json=defaultSint64,def=-9123456789123456789" json:"default_sint64,omitempty"` DefaultFixed32 *uint32 `protobuf:"fixed32,247,req,name=default_fixed32,json=defaultFixed32,def=2123456789" json:"default_fixed32,omitempty"` DefaultFixed64 *uint64 `protobuf:"fixed64,248,req,name=default_fixed64,json=defaultFixed64,def=10123456789123456789" json:"default_fixed64,omitempty"` DefaultSfixed32 *int32 `protobuf:"fixed32,249,req,name=default_sfixed32,json=defaultSfixed32,def=-123456789" json:"default_sfixed32,omitempty"` DefaultSfixed64 *int64 `protobuf:"fixed64,250,req,name=default_sfixed64,json=defaultSfixed64,def=-9123456789123456789" json:"default_sfixed64,omitempty"` DefaultFloat *float32 `protobuf:"fixed32,251,req,name=default_float,json=defaultFloat,def=9e+09" json:"default_float,omitempty"` DefaultDouble *float64 `protobuf:"fixed64,252,req,name=default_double,json=defaultDouble,def=7e+22" json:"default_double,omitempty"` DefaultBool *bool `protobuf:"varint,253,req,name=default_bool,json=defaultBool,def=1" json:"default_bool,omitempty"` DefaultString *string `protobuf:"bytes,254,req,name=default_string,json=defaultString,def=Rosebud" json:"default_string,omitempty"` DefaultBytes []byte `protobuf:"bytes,255,req,name=default_bytes,json=defaultBytes,def=joshua" json:"default_bytes,omitempty"` // contains filtered or unexported fields }
func (*TestAllRequiredTypesProto2) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2.ProtoReflect.Descriptor instead.
func (x *TestAllRequiredTypesProto2) GetData() *TestAllRequiredTypesProto2_Data
func (x *TestAllRequiredTypesProto2) GetDefaultBool() bool
func (x *TestAllRequiredTypesProto2) GetDefaultBytes() []byte
func (x *TestAllRequiredTypesProto2) GetDefaultDouble() float64
func (x *TestAllRequiredTypesProto2) GetDefaultFixed32() uint32
func (x *TestAllRequiredTypesProto2) GetDefaultFixed64() uint64
func (x *TestAllRequiredTypesProto2) GetDefaultFloat() float32
func (x *TestAllRequiredTypesProto2) GetDefaultInt32() int32
func (x *TestAllRequiredTypesProto2) GetDefaultInt64() int64
func (x *TestAllRequiredTypesProto2) GetDefaultSfixed32() int32
func (x *TestAllRequiredTypesProto2) GetDefaultSfixed64() int64
func (x *TestAllRequiredTypesProto2) GetDefaultSint32() int32
func (x *TestAllRequiredTypesProto2) GetDefaultSint64() int64
func (x *TestAllRequiredTypesProto2) GetDefaultString() string
func (x *TestAllRequiredTypesProto2) GetDefaultUint32() uint32
func (x *TestAllRequiredTypesProto2) GetDefaultUint64() uint64
func (x *TestAllRequiredTypesProto2) GetOptionalRecursiveMessage() *TestAllRequiredTypesProto2
func (x *TestAllRequiredTypesProto2) GetRecursiveMessage() *TestAllRequiredTypesProto2
func (x *TestAllRequiredTypesProto2) GetRequiredBool() bool
func (x *TestAllRequiredTypesProto2) GetRequiredBytes() []byte
func (x *TestAllRequiredTypesProto2) GetRequiredCord() string
func (x *TestAllRequiredTypesProto2) GetRequiredDouble() float64
func (x *TestAllRequiredTypesProto2) GetRequiredFixed32() uint32
func (x *TestAllRequiredTypesProto2) GetRequiredFixed64() uint64
func (x *TestAllRequiredTypesProto2) GetRequiredFloat() float32
func (x *TestAllRequiredTypesProto2) GetRequiredForeignEnum() ForeignEnumProto2
func (x *TestAllRequiredTypesProto2) GetRequiredForeignMessage() *ForeignMessageProto2
func (x *TestAllRequiredTypesProto2) GetRequiredInt32() int32
func (x *TestAllRequiredTypesProto2) GetRequiredInt64() int64
func (x *TestAllRequiredTypesProto2) GetRequiredNestedEnum() TestAllRequiredTypesProto2_NestedEnum
func (x *TestAllRequiredTypesProto2) GetRequiredNestedMessage() *TestAllRequiredTypesProto2_NestedMessage
func (x *TestAllRequiredTypesProto2) GetRequiredSfixed32() int32
func (x *TestAllRequiredTypesProto2) GetRequiredSfixed64() int64
func (x *TestAllRequiredTypesProto2) GetRequiredSint32() int32
func (x *TestAllRequiredTypesProto2) GetRequiredSint64() int64
func (x *TestAllRequiredTypesProto2) GetRequiredString() string
func (x *TestAllRequiredTypesProto2) GetRequiredStringPiece() string
func (x *TestAllRequiredTypesProto2) GetRequiredUint32() uint32
func (x *TestAllRequiredTypesProto2) GetRequiredUint64() uint64
func (*TestAllRequiredTypesProto2) ProtoMessage()
func (x *TestAllRequiredTypesProto2) ProtoReflect() protoreflect.Message
func (x *TestAllRequiredTypesProto2) Reset()
func (x *TestAllRequiredTypesProto2) String() string
groups
type TestAllRequiredTypesProto2_Data struct { GroupInt32 *int32 `protobuf:"varint,202,req,name=group_int32,json=groupInt32" json:"group_int32,omitempty"` GroupUint32 *uint32 `protobuf:"varint,203,req,name=group_uint32,json=groupUint32" json:"group_uint32,omitempty"` // contains filtered or unexported fields }
func (*TestAllRequiredTypesProto2_Data) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_Data.ProtoReflect.Descriptor instead.
func (x *TestAllRequiredTypesProto2_Data) GetGroupInt32() int32
func (x *TestAllRequiredTypesProto2_Data) GetGroupUint32() uint32
func (*TestAllRequiredTypesProto2_Data) ProtoMessage()
func (x *TestAllRequiredTypesProto2_Data) ProtoReflect() protoreflect.Message
func (x *TestAllRequiredTypesProto2_Data) Reset()
func (x *TestAllRequiredTypesProto2_Data) String() string
message_set test case.
type TestAllRequiredTypesProto2_MessageSetCorrect struct {
// contains filtered or unexported fields
}
func (*TestAllRequiredTypesProto2_MessageSetCorrect) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_MessageSetCorrect.ProtoReflect.Descriptor instead.
func (*TestAllRequiredTypesProto2_MessageSetCorrect) ProtoMessage()
func (x *TestAllRequiredTypesProto2_MessageSetCorrect) ProtoReflect() protoreflect.Message
func (x *TestAllRequiredTypesProto2_MessageSetCorrect) Reset()
func (x *TestAllRequiredTypesProto2_MessageSetCorrect) String() string
type TestAllRequiredTypesProto2_MessageSetCorrectExtension1 struct { Str *string `protobuf:"bytes,25,req,name=str" json:"str,omitempty"` // contains filtered or unexported fields }
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_MessageSetCorrectExtension1.ProtoReflect.Descriptor instead.
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) GetStr() string
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoMessage()
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoReflect() protoreflect.Message
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Reset()
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) String() string
type TestAllRequiredTypesProto2_MessageSetCorrectExtension2 struct { I *int32 `protobuf:"varint,9,req,name=i" json:"i,omitempty"` // contains filtered or unexported fields }
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_MessageSetCorrectExtension2.ProtoReflect.Descriptor instead.
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) GetI() int32
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoMessage()
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoReflect() protoreflect.Message
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Reset()
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) String() string
type TestAllRequiredTypesProto2_NestedEnum int32
const ( TestAllRequiredTypesProto2_FOO TestAllRequiredTypesProto2_NestedEnum = 0 TestAllRequiredTypesProto2_BAR TestAllRequiredTypesProto2_NestedEnum = 1 TestAllRequiredTypesProto2_BAZ TestAllRequiredTypesProto2_NestedEnum = 2 TestAllRequiredTypesProto2_NEG TestAllRequiredTypesProto2_NestedEnum = -1 // Intentionally negative. )
func (TestAllRequiredTypesProto2_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (x TestAllRequiredTypesProto2_NestedEnum) Enum() *TestAllRequiredTypesProto2_NestedEnum
func (TestAllRequiredTypesProto2_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_NestedEnum.Descriptor instead.
func (x TestAllRequiredTypesProto2_NestedEnum) Number() protoreflect.EnumNumber
func (x TestAllRequiredTypesProto2_NestedEnum) String() string
func (TestAllRequiredTypesProto2_NestedEnum) Type() protoreflect.EnumType
func (x *TestAllRequiredTypesProto2_NestedEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type TestAllRequiredTypesProto2_NestedMessage struct { A *int32 `protobuf:"varint,1,req,name=a" json:"a,omitempty"` Corecursive *TestAllRequiredTypesProto2 `protobuf:"bytes,2,req,name=corecursive" json:"corecursive,omitempty"` OptionalCorecursive *TestAllRequiredTypesProto2 `protobuf:"bytes,3,opt,name=optional_corecursive,json=optionalCorecursive" json:"optional_corecursive,omitempty"` // contains filtered or unexported fields }
func (*TestAllRequiredTypesProto2_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_NestedMessage.ProtoReflect.Descriptor instead.
func (x *TestAllRequiredTypesProto2_NestedMessage) GetA() int32
func (x *TestAllRequiredTypesProto2_NestedMessage) GetCorecursive() *TestAllRequiredTypesProto2
func (x *TestAllRequiredTypesProto2_NestedMessage) GetOptionalCorecursive() *TestAllRequiredTypesProto2
func (*TestAllRequiredTypesProto2_NestedMessage) ProtoMessage()
func (x *TestAllRequiredTypesProto2_NestedMessage) ProtoReflect() protoreflect.Message
func (x *TestAllRequiredTypesProto2_NestedMessage) Reset()
func (x *TestAllRequiredTypesProto2_NestedMessage) String() string
This proto includes every type of field in both singular and repeated forms.
Also, crucially, all messages and enums in this file are eventually submessages of this message. So for example, a fuzz test of TestAllTypes could trigger bugs that occur in any message type in this file. We verify this stays true in a unit test.
type TestAllTypesProto2 struct { // Singular OptionalInt32 *int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"` OptionalInt64 *int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"` OptionalUint32 *uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"` OptionalUint64 *uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"` OptionalSint32 *int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"` OptionalSint64 *int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"` OptionalFixed32 *uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"` OptionalFixed64 *uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"` OptionalSfixed32 *int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"` OptionalSfixed64 *int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"` OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"` OptionalDouble *float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"` OptionalBool *bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"` OptionalString *string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"` OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"` OptionalNestedMessage *TestAllTypesProto2_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"` OptionalForeignMessage *ForeignMessageProto2 `protobuf:"bytes,19,opt,name=optional_foreign_message,json=optionalForeignMessage" json:"optional_foreign_message,omitempty"` OptionalNestedEnum *TestAllTypesProto2_NestedEnum `protobuf:"varint,21,opt,name=optional_nested_enum,json=optionalNestedEnum,enum=protobuf_test_messages.proto2.TestAllTypesProto2_NestedEnum" json:"optional_nested_enum,omitempty"` OptionalForeignEnum *ForeignEnumProto2 `protobuf:"varint,22,opt,name=optional_foreign_enum,json=optionalForeignEnum,enum=protobuf_test_messages.proto2.ForeignEnumProto2" json:"optional_foreign_enum,omitempty"` OptionalStringPiece *string `protobuf:"bytes,24,opt,name=optional_string_piece,json=optionalStringPiece" json:"optional_string_piece,omitempty"` OptionalCord *string `protobuf:"bytes,25,opt,name=optional_cord,json=optionalCord" json:"optional_cord,omitempty"` RecursiveMessage *TestAllTypesProto2 `protobuf:"bytes,27,opt,name=recursive_message,json=recursiveMessage" json:"recursive_message,omitempty"` // Repeated RepeatedInt32 []int32 `protobuf:"varint,31,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"` RepeatedInt64 []int64 `protobuf:"varint,32,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"` RepeatedUint32 []uint32 `protobuf:"varint,33,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"` RepeatedUint64 []uint64 `protobuf:"varint,34,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"` RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"` RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"` RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"` RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"` RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"` RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"` RepeatedFloat []float32 `protobuf:"fixed32,41,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"` RepeatedDouble []float64 `protobuf:"fixed64,42,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"` RepeatedBool []bool `protobuf:"varint,43,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"` RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"` RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"` RepeatedNestedMessage []*TestAllTypesProto2_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage" json:"repeated_nested_message,omitempty"` RepeatedForeignMessage []*ForeignMessageProto2 `protobuf:"bytes,49,rep,name=repeated_foreign_message,json=repeatedForeignMessage" json:"repeated_foreign_message,omitempty"` RepeatedNestedEnum []TestAllTypesProto2_NestedEnum `protobuf:"varint,51,rep,name=repeated_nested_enum,json=repeatedNestedEnum,enum=protobuf_test_messages.proto2.TestAllTypesProto2_NestedEnum" json:"repeated_nested_enum,omitempty"` RepeatedForeignEnum []ForeignEnumProto2 `protobuf:"varint,52,rep,name=repeated_foreign_enum,json=repeatedForeignEnum,enum=protobuf_test_messages.proto2.ForeignEnumProto2" json:"repeated_foreign_enum,omitempty"` RepeatedStringPiece []string `protobuf:"bytes,54,rep,name=repeated_string_piece,json=repeatedStringPiece" json:"repeated_string_piece,omitempty"` RepeatedCord []string `protobuf:"bytes,55,rep,name=repeated_cord,json=repeatedCord" json:"repeated_cord,omitempty"` // Packed PackedInt32 []int32 `protobuf:"varint,75,rep,packed,name=packed_int32,json=packedInt32" json:"packed_int32,omitempty"` PackedInt64 []int64 `protobuf:"varint,76,rep,packed,name=packed_int64,json=packedInt64" json:"packed_int64,omitempty"` PackedUint32 []uint32 `protobuf:"varint,77,rep,packed,name=packed_uint32,json=packedUint32" json:"packed_uint32,omitempty"` PackedUint64 []uint64 `protobuf:"varint,78,rep,packed,name=packed_uint64,json=packedUint64" json:"packed_uint64,omitempty"` PackedSint32 []int32 `protobuf:"zigzag32,79,rep,packed,name=packed_sint32,json=packedSint32" json:"packed_sint32,omitempty"` PackedSint64 []int64 `protobuf:"zigzag64,80,rep,packed,name=packed_sint64,json=packedSint64" json:"packed_sint64,omitempty"` PackedFixed32 []uint32 `protobuf:"fixed32,81,rep,packed,name=packed_fixed32,json=packedFixed32" json:"packed_fixed32,omitempty"` PackedFixed64 []uint64 `protobuf:"fixed64,82,rep,packed,name=packed_fixed64,json=packedFixed64" json:"packed_fixed64,omitempty"` PackedSfixed32 []int32 `protobuf:"fixed32,83,rep,packed,name=packed_sfixed32,json=packedSfixed32" json:"packed_sfixed32,omitempty"` PackedSfixed64 []int64 `protobuf:"fixed64,84,rep,packed,name=packed_sfixed64,json=packedSfixed64" json:"packed_sfixed64,omitempty"` PackedFloat []float32 `protobuf:"fixed32,85,rep,packed,name=packed_float,json=packedFloat" json:"packed_float,omitempty"` PackedDouble []float64 `protobuf:"fixed64,86,rep,packed,name=packed_double,json=packedDouble" json:"packed_double,omitempty"` PackedBool []bool `protobuf:"varint,87,rep,packed,name=packed_bool,json=packedBool" json:"packed_bool,omitempty"` PackedNestedEnum []TestAllTypesProto2_NestedEnum `protobuf:"varint,88,rep,packed,name=packed_nested_enum,json=packedNestedEnum,enum=protobuf_test_messages.proto2.TestAllTypesProto2_NestedEnum" json:"packed_nested_enum,omitempty"` // Unpacked UnpackedInt32 []int32 `protobuf:"varint,89,rep,name=unpacked_int32,json=unpackedInt32" json:"unpacked_int32,omitempty"` UnpackedInt64 []int64 `protobuf:"varint,90,rep,name=unpacked_int64,json=unpackedInt64" json:"unpacked_int64,omitempty"` UnpackedUint32 []uint32 `protobuf:"varint,91,rep,name=unpacked_uint32,json=unpackedUint32" json:"unpacked_uint32,omitempty"` UnpackedUint64 []uint64 `protobuf:"varint,92,rep,name=unpacked_uint64,json=unpackedUint64" json:"unpacked_uint64,omitempty"` UnpackedSint32 []int32 `protobuf:"zigzag32,93,rep,name=unpacked_sint32,json=unpackedSint32" json:"unpacked_sint32,omitempty"` UnpackedSint64 []int64 `protobuf:"zigzag64,94,rep,name=unpacked_sint64,json=unpackedSint64" json:"unpacked_sint64,omitempty"` UnpackedFixed32 []uint32 `protobuf:"fixed32,95,rep,name=unpacked_fixed32,json=unpackedFixed32" json:"unpacked_fixed32,omitempty"` UnpackedFixed64 []uint64 `protobuf:"fixed64,96,rep,name=unpacked_fixed64,json=unpackedFixed64" json:"unpacked_fixed64,omitempty"` UnpackedSfixed32 []int32 `protobuf:"fixed32,97,rep,name=unpacked_sfixed32,json=unpackedSfixed32" json:"unpacked_sfixed32,omitempty"` UnpackedSfixed64 []int64 `protobuf:"fixed64,98,rep,name=unpacked_sfixed64,json=unpackedSfixed64" json:"unpacked_sfixed64,omitempty"` UnpackedFloat []float32 `protobuf:"fixed32,99,rep,name=unpacked_float,json=unpackedFloat" json:"unpacked_float,omitempty"` UnpackedDouble []float64 `protobuf:"fixed64,100,rep,name=unpacked_double,json=unpackedDouble" json:"unpacked_double,omitempty"` UnpackedBool []bool `protobuf:"varint,101,rep,name=unpacked_bool,json=unpackedBool" json:"unpacked_bool,omitempty"` UnpackedNestedEnum []TestAllTypesProto2_NestedEnum `protobuf:"varint,102,rep,name=unpacked_nested_enum,json=unpackedNestedEnum,enum=protobuf_test_messages.proto2.TestAllTypesProto2_NestedEnum" json:"unpacked_nested_enum,omitempty"` // Map MapInt32Int32 map[int32]int32 `protobuf:"bytes,56,rep,name=map_int32_int32,json=mapInt32Int32" json:"map_int32_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapInt64Int64 map[int64]int64 `protobuf:"bytes,57,rep,name=map_int64_int64,json=mapInt64Int64" json:"map_int64_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapUint32Uint32 map[uint32]uint32 `protobuf:"bytes,58,rep,name=map_uint32_uint32,json=mapUint32Uint32" json:"map_uint32_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapUint64Uint64 map[uint64]uint64 `protobuf:"bytes,59,rep,name=map_uint64_uint64,json=mapUint64Uint64" json:"map_uint64_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapSint32Sint32 map[int32]int32 `protobuf:"bytes,60,rep,name=map_sint32_sint32,json=mapSint32Sint32" json:"map_sint32_sint32,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"` MapSint64Sint64 map[int64]int64 `protobuf:"bytes,61,rep,name=map_sint64_sint64,json=mapSint64Sint64" json:"map_sint64_sint64,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"` MapFixed32Fixed32 map[uint32]uint32 `protobuf:"bytes,62,rep,name=map_fixed32_fixed32,json=mapFixed32Fixed32" json:"map_fixed32_fixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` MapFixed64Fixed64 map[uint64]uint64 `protobuf:"bytes,63,rep,name=map_fixed64_fixed64,json=mapFixed64Fixed64" json:"map_fixed64_fixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` MapSfixed32Sfixed32 map[int32]int32 `protobuf:"bytes,64,rep,name=map_sfixed32_sfixed32,json=mapSfixed32Sfixed32" json:"map_sfixed32_sfixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` MapSfixed64Sfixed64 map[int64]int64 `protobuf:"bytes,65,rep,name=map_sfixed64_sfixed64,json=mapSfixed64Sfixed64" json:"map_sfixed64_sfixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` MapInt32Float map[int32]float32 `protobuf:"bytes,66,rep,name=map_int32_float,json=mapInt32Float" json:"map_int32_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` MapInt32Double map[int32]float64 `protobuf:"bytes,67,rep,name=map_int32_double,json=mapInt32Double" json:"map_int32_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` MapBoolBool map[bool]bool `protobuf:"bytes,68,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapStringString map[string]string `protobuf:"bytes,69,rep,name=map_string_string,json=mapStringString" json:"map_string_string,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` MapStringBytes map[string][]byte `protobuf:"bytes,70,rep,name=map_string_bytes,json=mapStringBytes" json:"map_string_bytes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` MapStringNestedMessage map[string]*TestAllTypesProto2_NestedMessage `protobuf:"bytes,71,rep,name=map_string_nested_message,json=mapStringNestedMessage" json:"map_string_nested_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` MapStringForeignMessage map[string]*ForeignMessageProto2 `protobuf:"bytes,72,rep,name=map_string_foreign_message,json=mapStringForeignMessage" json:"map_string_foreign_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` MapStringNestedEnum map[string]TestAllTypesProto2_NestedEnum `protobuf:"bytes,73,rep,name=map_string_nested_enum,json=mapStringNestedEnum" json:"map_string_nested_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=protobuf_test_messages.proto2.TestAllTypesProto2_NestedEnum"` MapStringForeignEnum map[string]ForeignEnumProto2 `protobuf:"bytes,74,rep,name=map_string_foreign_enum,json=mapStringForeignEnum" json:"map_string_foreign_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=protobuf_test_messages.proto2.ForeignEnumProto2"` // Types that are assignable to OneofField: // // *TestAllTypesProto2_OneofUint32 // *TestAllTypesProto2_OneofNestedMessage // *TestAllTypesProto2_OneofString // *TestAllTypesProto2_OneofBytes // *TestAllTypesProto2_OneofBool // *TestAllTypesProto2_OneofUint64 // *TestAllTypesProto2_OneofFloat // *TestAllTypesProto2_OneofDouble // *TestAllTypesProto2_OneofEnum OneofField isTestAllTypesProto2_OneofField `protobuf_oneof:"oneof_field"` Data *TestAllTypesProto2_Data `protobuf:"group,201,opt,name=Data,json=data" json:"data,omitempty"` // default values DefaultInt32 *int32 `protobuf:"varint,241,opt,name=default_int32,json=defaultInt32,def=-123456789" json:"default_int32,omitempty"` DefaultInt64 *int64 `protobuf:"varint,242,opt,name=default_int64,json=defaultInt64,def=-9123456789123456789" json:"default_int64,omitempty"` DefaultUint32 *uint32 `protobuf:"varint,243,opt,name=default_uint32,json=defaultUint32,def=2123456789" json:"default_uint32,omitempty"` DefaultUint64 *uint64 `protobuf:"varint,244,opt,name=default_uint64,json=defaultUint64,def=10123456789123456789" json:"default_uint64,omitempty"` DefaultSint32 *int32 `protobuf:"zigzag32,245,opt,name=default_sint32,json=defaultSint32,def=-123456789" json:"default_sint32,omitempty"` DefaultSint64 *int64 `protobuf:"zigzag64,246,opt,name=default_sint64,json=defaultSint64,def=-9123456789123456789" json:"default_sint64,omitempty"` DefaultFixed32 *uint32 `protobuf:"fixed32,247,opt,name=default_fixed32,json=defaultFixed32,def=2123456789" json:"default_fixed32,omitempty"` DefaultFixed64 *uint64 `protobuf:"fixed64,248,opt,name=default_fixed64,json=defaultFixed64,def=10123456789123456789" json:"default_fixed64,omitempty"` DefaultSfixed32 *int32 `protobuf:"fixed32,249,opt,name=default_sfixed32,json=defaultSfixed32,def=-123456789" json:"default_sfixed32,omitempty"` DefaultSfixed64 *int64 `protobuf:"fixed64,250,opt,name=default_sfixed64,json=defaultSfixed64,def=-9123456789123456789" json:"default_sfixed64,omitempty"` DefaultFloat *float32 `protobuf:"fixed32,251,opt,name=default_float,json=defaultFloat,def=9e+09" json:"default_float,omitempty"` DefaultDouble *float64 `protobuf:"fixed64,252,opt,name=default_double,json=defaultDouble,def=7e+22" json:"default_double,omitempty"` DefaultBool *bool `protobuf:"varint,253,opt,name=default_bool,json=defaultBool,def=1" json:"default_bool,omitempty"` DefaultString *string `protobuf:"bytes,254,opt,name=default_string,json=defaultString,def=Rosebud" json:"default_string,omitempty"` DefaultBytes []byte `protobuf:"bytes,255,opt,name=default_bytes,json=defaultBytes,def=joshua" json:"default_bytes,omitempty"` // Test field-name-to-JSON-name convention. // (protobuf says names can be any valid C/C++ identifier.) Fieldname1 *int32 `protobuf:"varint,401,opt,name=fieldname1" json:"fieldname1,omitempty"` FieldName2 *int32 `protobuf:"varint,402,opt,name=field_name2,json=fieldName2" json:"field_name2,omitempty"` XFieldName3 *int32 `protobuf:"varint,403,opt,name=_field_name3,json=FieldName3" json:"_field_name3,omitempty"` Field_Name4_ *int32 `protobuf:"varint,404,opt,name=field__name4_,json=fieldName4" json:"field__name4_,omitempty"` Field0Name5 *int32 `protobuf:"varint,405,opt,name=field0name5" json:"field0name5,omitempty"` Field_0Name6 *int32 `protobuf:"varint,406,opt,name=field_0_name6,json=field0Name6" json:"field_0_name6,omitempty"` FieldName7 *int32 `protobuf:"varint,407,opt,name=fieldName7" json:"fieldName7,omitempty"` FieldName8 *int32 `protobuf:"varint,408,opt,name=FieldName8" json:"FieldName8,omitempty"` Field_Name9 *int32 `protobuf:"varint,409,opt,name=field_Name9,json=fieldName9" json:"field_Name9,omitempty"` Field_Name10 *int32 `protobuf:"varint,410,opt,name=Field_Name10,json=FieldName10" json:"Field_Name10,omitempty"` FIELD_NAME11 *int32 `protobuf:"varint,411,opt,name=FIELD_NAME11,json=FIELDNAME11" json:"FIELD_NAME11,omitempty"` FIELDName12 *int32 `protobuf:"varint,412,opt,name=FIELD_name12,json=FIELDName12" json:"FIELD_name12,omitempty"` XFieldName13 *int32 `protobuf:"varint,413,opt,name=__field_name13,json=FieldName13" json:"__field_name13,omitempty"` X_FieldName14 *int32 `protobuf:"varint,414,opt,name=__Field_name14,json=FieldName14" json:"__Field_name14,omitempty"` Field_Name15 *int32 `protobuf:"varint,415,opt,name=field__name15,json=fieldName15" json:"field__name15,omitempty"` Field__Name16 *int32 `protobuf:"varint,416,opt,name=field__Name16,json=fieldName16" json:"field__Name16,omitempty"` FieldName17__ *int32 `protobuf:"varint,417,opt,name=field_name17__,json=fieldName17" json:"field_name17__,omitempty"` FieldName18__ *int32 `protobuf:"varint,418,opt,name=Field_name18__,json=FieldName18" json:"Field_name18__,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypesProto2) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2.ProtoReflect.Descriptor instead.
func (x *TestAllTypesProto2) GetData() *TestAllTypesProto2_Data
func (x *TestAllTypesProto2) GetDefaultBool() bool
func (x *TestAllTypesProto2) GetDefaultBytes() []byte
func (x *TestAllTypesProto2) GetDefaultDouble() float64
func (x *TestAllTypesProto2) GetDefaultFixed32() uint32
func (x *TestAllTypesProto2) GetDefaultFixed64() uint64
func (x *TestAllTypesProto2) GetDefaultFloat() float32
func (x *TestAllTypesProto2) GetDefaultInt32() int32
func (x *TestAllTypesProto2) GetDefaultInt64() int64
func (x *TestAllTypesProto2) GetDefaultSfixed32() int32
func (x *TestAllTypesProto2) GetDefaultSfixed64() int64
func (x *TestAllTypesProto2) GetDefaultSint32() int32
func (x *TestAllTypesProto2) GetDefaultSint64() int64
func (x *TestAllTypesProto2) GetDefaultString() string
func (x *TestAllTypesProto2) GetDefaultUint32() uint32
func (x *TestAllTypesProto2) GetDefaultUint64() uint64
func (x *TestAllTypesProto2) GetFIELDName12() int32
func (x *TestAllTypesProto2) GetFIELD_NAME11() int32
func (x *TestAllTypesProto2) GetField0Name5() int32
func (x *TestAllTypesProto2) GetFieldName17__() int32
func (x *TestAllTypesProto2) GetFieldName18__() int32
func (x *TestAllTypesProto2) GetFieldName2() int32
func (x *TestAllTypesProto2) GetFieldName7() int32
func (x *TestAllTypesProto2) GetFieldName8() int32
func (x *TestAllTypesProto2) GetField_0Name6() int32
func (x *TestAllTypesProto2) GetField_Name10() int32
func (x *TestAllTypesProto2) GetField_Name15() int32
func (x *TestAllTypesProto2) GetField_Name4_() int32
func (x *TestAllTypesProto2) GetField_Name9() int32
func (x *TestAllTypesProto2) GetField__Name16() int32
func (x *TestAllTypesProto2) GetFieldname1() int32
func (x *TestAllTypesProto2) GetMapBoolBool() map[bool]bool
func (x *TestAllTypesProto2) GetMapFixed32Fixed32() map[uint32]uint32
func (x *TestAllTypesProto2) GetMapFixed64Fixed64() map[uint64]uint64
func (x *TestAllTypesProto2) GetMapInt32Double() map[int32]float64
func (x *TestAllTypesProto2) GetMapInt32Float() map[int32]float32
func (x *TestAllTypesProto2) GetMapInt32Int32() map[int32]int32
func (x *TestAllTypesProto2) GetMapInt64Int64() map[int64]int64
func (x *TestAllTypesProto2) GetMapSfixed32Sfixed32() map[int32]int32
func (x *TestAllTypesProto2) GetMapSfixed64Sfixed64() map[int64]int64
func (x *TestAllTypesProto2) GetMapSint32Sint32() map[int32]int32
func (x *TestAllTypesProto2) GetMapSint64Sint64() map[int64]int64
func (x *TestAllTypesProto2) GetMapStringBytes() map[string][]byte
func (x *TestAllTypesProto2) GetMapStringForeignEnum() map[string]ForeignEnumProto2
func (x *TestAllTypesProto2) GetMapStringForeignMessage() map[string]*ForeignMessageProto2
func (x *TestAllTypesProto2) GetMapStringNestedEnum() map[string]TestAllTypesProto2_NestedEnum
func (x *TestAllTypesProto2) GetMapStringNestedMessage() map[string]*TestAllTypesProto2_NestedMessage
func (x *TestAllTypesProto2) GetMapStringString() map[string]string
func (x *TestAllTypesProto2) GetMapUint32Uint32() map[uint32]uint32
func (x *TestAllTypesProto2) GetMapUint64Uint64() map[uint64]uint64
func (x *TestAllTypesProto2) GetOneofBool() bool
func (x *TestAllTypesProto2) GetOneofBytes() []byte
func (x *TestAllTypesProto2) GetOneofDouble() float64
func (x *TestAllTypesProto2) GetOneofEnum() TestAllTypesProto2_NestedEnum
func (m *TestAllTypesProto2) GetOneofField() isTestAllTypesProto2_OneofField
func (x *TestAllTypesProto2) GetOneofFloat() float32
func (x *TestAllTypesProto2) GetOneofNestedMessage() *TestAllTypesProto2_NestedMessage
func (x *TestAllTypesProto2) GetOneofString() string
func (x *TestAllTypesProto2) GetOneofUint32() uint32
func (x *TestAllTypesProto2) GetOneofUint64() uint64
func (x *TestAllTypesProto2) GetOptionalBool() bool
func (x *TestAllTypesProto2) GetOptionalBytes() []byte
func (x *TestAllTypesProto2) GetOptionalCord() string
func (x *TestAllTypesProto2) GetOptionalDouble() float64
func (x *TestAllTypesProto2) GetOptionalFixed32() uint32
func (x *TestAllTypesProto2) GetOptionalFixed64() uint64
func (x *TestAllTypesProto2) GetOptionalFloat() float32
func (x *TestAllTypesProto2) GetOptionalForeignEnum() ForeignEnumProto2
func (x *TestAllTypesProto2) GetOptionalForeignMessage() *ForeignMessageProto2
func (x *TestAllTypesProto2) GetOptionalInt32() int32
func (x *TestAllTypesProto2) GetOptionalInt64() int64
func (x *TestAllTypesProto2) GetOptionalNestedEnum() TestAllTypesProto2_NestedEnum
func (x *TestAllTypesProto2) GetOptionalNestedMessage() *TestAllTypesProto2_NestedMessage
func (x *TestAllTypesProto2) GetOptionalSfixed32() int32
func (x *TestAllTypesProto2) GetOptionalSfixed64() int64
func (x *TestAllTypesProto2) GetOptionalSint32() int32
func (x *TestAllTypesProto2) GetOptionalSint64() int64
func (x *TestAllTypesProto2) GetOptionalString() string
func (x *TestAllTypesProto2) GetOptionalStringPiece() string
func (x *TestAllTypesProto2) GetOptionalUint32() uint32
func (x *TestAllTypesProto2) GetOptionalUint64() uint64
func (x *TestAllTypesProto2) GetPackedBool() []bool
func (x *TestAllTypesProto2) GetPackedDouble() []float64
func (x *TestAllTypesProto2) GetPackedFixed32() []uint32
func (x *TestAllTypesProto2) GetPackedFixed64() []uint64
func (x *TestAllTypesProto2) GetPackedFloat() []float32
func (x *TestAllTypesProto2) GetPackedInt32() []int32
func (x *TestAllTypesProto2) GetPackedInt64() []int64
func (x *TestAllTypesProto2) GetPackedNestedEnum() []TestAllTypesProto2_NestedEnum
func (x *TestAllTypesProto2) GetPackedSfixed32() []int32
func (x *TestAllTypesProto2) GetPackedSfixed64() []int64
func (x *TestAllTypesProto2) GetPackedSint32() []int32
func (x *TestAllTypesProto2) GetPackedSint64() []int64
func (x *TestAllTypesProto2) GetPackedUint32() []uint32
func (x *TestAllTypesProto2) GetPackedUint64() []uint64
func (x *TestAllTypesProto2) GetRecursiveMessage() *TestAllTypesProto2
func (x *TestAllTypesProto2) GetRepeatedBool() []bool
func (x *TestAllTypesProto2) GetRepeatedBytes() [][]byte
func (x *TestAllTypesProto2) GetRepeatedCord() []string
func (x *TestAllTypesProto2) GetRepeatedDouble() []float64
func (x *TestAllTypesProto2) GetRepeatedFixed32() []uint32
func (x *TestAllTypesProto2) GetRepeatedFixed64() []uint64
func (x *TestAllTypesProto2) GetRepeatedFloat() []float32
func (x *TestAllTypesProto2) GetRepeatedForeignEnum() []ForeignEnumProto2
func (x *TestAllTypesProto2) GetRepeatedForeignMessage() []*ForeignMessageProto2
func (x *TestAllTypesProto2) GetRepeatedInt32() []int32
func (x *TestAllTypesProto2) GetRepeatedInt64() []int64
func (x *TestAllTypesProto2) GetRepeatedNestedEnum() []TestAllTypesProto2_NestedEnum
func (x *TestAllTypesProto2) GetRepeatedNestedMessage() []*TestAllTypesProto2_NestedMessage
func (x *TestAllTypesProto2) GetRepeatedSfixed32() []int32
func (x *TestAllTypesProto2) GetRepeatedSfixed64() []int64
func (x *TestAllTypesProto2) GetRepeatedSint32() []int32
func (x *TestAllTypesProto2) GetRepeatedSint64() []int64
func (x *TestAllTypesProto2) GetRepeatedString() []string
func (x *TestAllTypesProto2) GetRepeatedStringPiece() []string
func (x *TestAllTypesProto2) GetRepeatedUint32() []uint32
func (x *TestAllTypesProto2) GetRepeatedUint64() []uint64
func (x *TestAllTypesProto2) GetUnpackedBool() []bool
func (x *TestAllTypesProto2) GetUnpackedDouble() []float64
func (x *TestAllTypesProto2) GetUnpackedFixed32() []uint32
func (x *TestAllTypesProto2) GetUnpackedFixed64() []uint64
func (x *TestAllTypesProto2) GetUnpackedFloat() []float32
func (x *TestAllTypesProto2) GetUnpackedInt32() []int32
func (x *TestAllTypesProto2) GetUnpackedInt64() []int64
func (x *TestAllTypesProto2) GetUnpackedNestedEnum() []TestAllTypesProto2_NestedEnum
func (x *TestAllTypesProto2) GetUnpackedSfixed32() []int32
func (x *TestAllTypesProto2) GetUnpackedSfixed64() []int64
func (x *TestAllTypesProto2) GetUnpackedSint32() []int32
func (x *TestAllTypesProto2) GetUnpackedSint64() []int64
func (x *TestAllTypesProto2) GetUnpackedUint32() []uint32
func (x *TestAllTypesProto2) GetUnpackedUint64() []uint64
func (x *TestAllTypesProto2) GetXFieldName13() int32
func (x *TestAllTypesProto2) GetXFieldName3() int32
func (x *TestAllTypesProto2) GetX_FieldName14() int32
func (*TestAllTypesProto2) ProtoMessage()
func (x *TestAllTypesProto2) ProtoReflect() protoreflect.Message
func (x *TestAllTypesProto2) Reset()
func (x *TestAllTypesProto2) String() string
groups
type TestAllTypesProto2_Data struct { GroupInt32 *int32 `protobuf:"varint,202,opt,name=group_int32,json=groupInt32" json:"group_int32,omitempty"` GroupUint32 *uint32 `protobuf:"varint,203,opt,name=group_uint32,json=groupUint32" json:"group_uint32,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypesProto2_Data) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_Data.ProtoReflect.Descriptor instead.
func (x *TestAllTypesProto2_Data) GetGroupInt32() int32
func (x *TestAllTypesProto2_Data) GetGroupUint32() uint32
func (*TestAllTypesProto2_Data) ProtoMessage()
func (x *TestAllTypesProto2_Data) ProtoReflect() protoreflect.Message
func (x *TestAllTypesProto2_Data) Reset()
func (x *TestAllTypesProto2_Data) String() string
message_set test case.
type TestAllTypesProto2_MessageSetCorrect struct {
// contains filtered or unexported fields
}
func (*TestAllTypesProto2_MessageSetCorrect) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_MessageSetCorrect.ProtoReflect.Descriptor instead.
func (*TestAllTypesProto2_MessageSetCorrect) ProtoMessage()
func (x *TestAllTypesProto2_MessageSetCorrect) ProtoReflect() protoreflect.Message
func (x *TestAllTypesProto2_MessageSetCorrect) Reset()
func (x *TestAllTypesProto2_MessageSetCorrect) String() string
type TestAllTypesProto2_MessageSetCorrectExtension1 struct { Str *string `protobuf:"bytes,25,opt,name=str" json:"str,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypesProto2_MessageSetCorrectExtension1) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_MessageSetCorrectExtension1.ProtoReflect.Descriptor instead.
func (x *TestAllTypesProto2_MessageSetCorrectExtension1) GetStr() string
func (*TestAllTypesProto2_MessageSetCorrectExtension1) ProtoMessage()
func (x *TestAllTypesProto2_MessageSetCorrectExtension1) ProtoReflect() protoreflect.Message
func (x *TestAllTypesProto2_MessageSetCorrectExtension1) Reset()
func (x *TestAllTypesProto2_MessageSetCorrectExtension1) String() string
type TestAllTypesProto2_MessageSetCorrectExtension2 struct { I *int32 `protobuf:"varint,9,opt,name=i" json:"i,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypesProto2_MessageSetCorrectExtension2) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_MessageSetCorrectExtension2.ProtoReflect.Descriptor instead.
func (x *TestAllTypesProto2_MessageSetCorrectExtension2) GetI() int32
func (*TestAllTypesProto2_MessageSetCorrectExtension2) ProtoMessage()
func (x *TestAllTypesProto2_MessageSetCorrectExtension2) ProtoReflect() protoreflect.Message
func (x *TestAllTypesProto2_MessageSetCorrectExtension2) Reset()
func (x *TestAllTypesProto2_MessageSetCorrectExtension2) String() string
type TestAllTypesProto2_NestedEnum int32
const ( TestAllTypesProto2_FOO TestAllTypesProto2_NestedEnum = 0 TestAllTypesProto2_BAR TestAllTypesProto2_NestedEnum = 1 TestAllTypesProto2_BAZ TestAllTypesProto2_NestedEnum = 2 TestAllTypesProto2_NEG TestAllTypesProto2_NestedEnum = -1 // Intentionally negative. )
func (TestAllTypesProto2_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (x TestAllTypesProto2_NestedEnum) Enum() *TestAllTypesProto2_NestedEnum
func (TestAllTypesProto2_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_NestedEnum.Descriptor instead.
func (x TestAllTypesProto2_NestedEnum) Number() protoreflect.EnumNumber
func (x TestAllTypesProto2_NestedEnum) String() string
func (TestAllTypesProto2_NestedEnum) Type() protoreflect.EnumType
func (x *TestAllTypesProto2_NestedEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type TestAllTypesProto2_NestedMessage struct { A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"` Corecursive *TestAllTypesProto2 `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypesProto2_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_NestedMessage.ProtoReflect.Descriptor instead.
func (x *TestAllTypesProto2_NestedMessage) GetA() int32
func (x *TestAllTypesProto2_NestedMessage) GetCorecursive() *TestAllTypesProto2
func (*TestAllTypesProto2_NestedMessage) ProtoMessage()
func (x *TestAllTypesProto2_NestedMessage) ProtoReflect() protoreflect.Message
func (x *TestAllTypesProto2_NestedMessage) Reset()
func (x *TestAllTypesProto2_NestedMessage) String() string
type TestAllTypesProto2_OneofBool struct { OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,oneof"` }
type TestAllTypesProto2_OneofBytes struct { OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,oneof"` }
type TestAllTypesProto2_OneofDouble struct { OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,oneof"` }
type TestAllTypesProto2_OneofEnum struct { OneofEnum TestAllTypesProto2_NestedEnum `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,enum=protobuf_test_messages.proto2.TestAllTypesProto2_NestedEnum,oneof"` }
type TestAllTypesProto2_OneofFloat struct { OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,oneof"` }
type TestAllTypesProto2_OneofNestedMessage struct { OneofNestedMessage *TestAllTypesProto2_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,oneof"` }
type TestAllTypesProto2_OneofString struct { OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,oneof"` }
type TestAllTypesProto2_OneofUint32 struct { OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,oneof"` }
type TestAllTypesProto2_OneofUint64 struct { OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,oneof"` }
This proto includes every type of field in both singular and repeated forms.
Also, crucially, all messages and enums in this file are eventually submessages of this message. So for example, a fuzz test of TestAllTypes could trigger bugs that occur in any message type in this file. We verify this stays true in a unit test.
type TestAllTypesProto3 struct { // Singular OptionalInt32 int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32,proto3" json:"optional_int32,omitempty"` OptionalInt64 int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64,proto3" json:"optional_int64,omitempty"` OptionalUint32 uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32,proto3" json:"optional_uint32,omitempty"` OptionalUint64 uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64,proto3" json:"optional_uint64,omitempty"` OptionalSint32 int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32,proto3" json:"optional_sint32,omitempty"` OptionalSint64 int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64,proto3" json:"optional_sint64,omitempty"` OptionalFixed32 uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32,proto3" json:"optional_fixed32,omitempty"` OptionalFixed64 uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64,proto3" json:"optional_fixed64,omitempty"` OptionalSfixed32 int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32,proto3" json:"optional_sfixed32,omitempty"` OptionalSfixed64 int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64,proto3" json:"optional_sfixed64,omitempty"` OptionalFloat float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat,proto3" json:"optional_float,omitempty"` OptionalDouble float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble,proto3" json:"optional_double,omitempty"` OptionalBool bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool,proto3" json:"optional_bool,omitempty"` OptionalString string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString,proto3" json:"optional_string,omitempty"` OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"` OptionalNestedMessage *TestAllTypesProto3_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage,proto3" json:"optional_nested_message,omitempty"` OptionalForeignMessage *ForeignMessage `protobuf:"bytes,19,opt,name=optional_foreign_message,json=optionalForeignMessage,proto3" json:"optional_foreign_message,omitempty"` OptionalNestedEnum TestAllTypesProto3_NestedEnum `protobuf:"varint,21,opt,name=optional_nested_enum,json=optionalNestedEnum,proto3,enum=protobuf_test_messages.proto3.TestAllTypesProto3_NestedEnum" json:"optional_nested_enum,omitempty"` OptionalForeignEnum ForeignEnum `protobuf:"varint,22,opt,name=optional_foreign_enum,json=optionalForeignEnum,proto3,enum=protobuf_test_messages.proto3.ForeignEnum" json:"optional_foreign_enum,omitempty"` OptionalAliasedEnum TestAllTypesProto3_AliasedEnum `protobuf:"varint,23,opt,name=optional_aliased_enum,json=optionalAliasedEnum,proto3,enum=protobuf_test_messages.proto3.TestAllTypesProto3_AliasedEnum" json:"optional_aliased_enum,omitempty"` OptionalStringPiece string `protobuf:"bytes,24,opt,name=optional_string_piece,json=optionalStringPiece,proto3" json:"optional_string_piece,omitempty"` OptionalCord string `protobuf:"bytes,25,opt,name=optional_cord,json=optionalCord,proto3" json:"optional_cord,omitempty"` RecursiveMessage *TestAllTypesProto3 `protobuf:"bytes,27,opt,name=recursive_message,json=recursiveMessage,proto3" json:"recursive_message,omitempty"` // Repeated RepeatedInt32 []int32 `protobuf:"varint,31,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"` RepeatedInt64 []int64 `protobuf:"varint,32,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"` RepeatedUint32 []uint32 `protobuf:"varint,33,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"` RepeatedUint64 []uint64 `protobuf:"varint,34,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"` RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"` RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"` RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"` RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"` RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"` RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"` RepeatedFloat []float32 `protobuf:"fixed32,41,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"` RepeatedDouble []float64 `protobuf:"fixed64,42,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"` RepeatedBool []bool `protobuf:"varint,43,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"` RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"` RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"` RepeatedNestedMessage []*TestAllTypesProto3_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage,proto3" json:"repeated_nested_message,omitempty"` RepeatedForeignMessage []*ForeignMessage `protobuf:"bytes,49,rep,name=repeated_foreign_message,json=repeatedForeignMessage,proto3" json:"repeated_foreign_message,omitempty"` RepeatedNestedEnum []TestAllTypesProto3_NestedEnum `protobuf:"varint,51,rep,packed,name=repeated_nested_enum,json=repeatedNestedEnum,proto3,enum=protobuf_test_messages.proto3.TestAllTypesProto3_NestedEnum" json:"repeated_nested_enum,omitempty"` RepeatedForeignEnum []ForeignEnum `protobuf:"varint,52,rep,packed,name=repeated_foreign_enum,json=repeatedForeignEnum,proto3,enum=protobuf_test_messages.proto3.ForeignEnum" json:"repeated_foreign_enum,omitempty"` RepeatedStringPiece []string `protobuf:"bytes,54,rep,name=repeated_string_piece,json=repeatedStringPiece,proto3" json:"repeated_string_piece,omitempty"` RepeatedCord []string `protobuf:"bytes,55,rep,name=repeated_cord,json=repeatedCord,proto3" json:"repeated_cord,omitempty"` // Packed PackedInt32 []int32 `protobuf:"varint,75,rep,packed,name=packed_int32,json=packedInt32,proto3" json:"packed_int32,omitempty"` PackedInt64 []int64 `protobuf:"varint,76,rep,packed,name=packed_int64,json=packedInt64,proto3" json:"packed_int64,omitempty"` PackedUint32 []uint32 `protobuf:"varint,77,rep,packed,name=packed_uint32,json=packedUint32,proto3" json:"packed_uint32,omitempty"` PackedUint64 []uint64 `protobuf:"varint,78,rep,packed,name=packed_uint64,json=packedUint64,proto3" json:"packed_uint64,omitempty"` PackedSint32 []int32 `protobuf:"zigzag32,79,rep,packed,name=packed_sint32,json=packedSint32,proto3" json:"packed_sint32,omitempty"` PackedSint64 []int64 `protobuf:"zigzag64,80,rep,packed,name=packed_sint64,json=packedSint64,proto3" json:"packed_sint64,omitempty"` PackedFixed32 []uint32 `protobuf:"fixed32,81,rep,packed,name=packed_fixed32,json=packedFixed32,proto3" json:"packed_fixed32,omitempty"` PackedFixed64 []uint64 `protobuf:"fixed64,82,rep,packed,name=packed_fixed64,json=packedFixed64,proto3" json:"packed_fixed64,omitempty"` PackedSfixed32 []int32 `protobuf:"fixed32,83,rep,packed,name=packed_sfixed32,json=packedSfixed32,proto3" json:"packed_sfixed32,omitempty"` PackedSfixed64 []int64 `protobuf:"fixed64,84,rep,packed,name=packed_sfixed64,json=packedSfixed64,proto3" json:"packed_sfixed64,omitempty"` PackedFloat []float32 `protobuf:"fixed32,85,rep,packed,name=packed_float,json=packedFloat,proto3" json:"packed_float,omitempty"` PackedDouble []float64 `protobuf:"fixed64,86,rep,packed,name=packed_double,json=packedDouble,proto3" json:"packed_double,omitempty"` PackedBool []bool `protobuf:"varint,87,rep,packed,name=packed_bool,json=packedBool,proto3" json:"packed_bool,omitempty"` PackedNestedEnum []TestAllTypesProto3_NestedEnum `protobuf:"varint,88,rep,packed,name=packed_nested_enum,json=packedNestedEnum,proto3,enum=protobuf_test_messages.proto3.TestAllTypesProto3_NestedEnum" json:"packed_nested_enum,omitempty"` // Unpacked UnpackedInt32 []int32 `protobuf:"varint,89,rep,name=unpacked_int32,json=unpackedInt32,proto3" json:"unpacked_int32,omitempty"` UnpackedInt64 []int64 `protobuf:"varint,90,rep,name=unpacked_int64,json=unpackedInt64,proto3" json:"unpacked_int64,omitempty"` UnpackedUint32 []uint32 `protobuf:"varint,91,rep,name=unpacked_uint32,json=unpackedUint32,proto3" json:"unpacked_uint32,omitempty"` UnpackedUint64 []uint64 `protobuf:"varint,92,rep,name=unpacked_uint64,json=unpackedUint64,proto3" json:"unpacked_uint64,omitempty"` UnpackedSint32 []int32 `protobuf:"zigzag32,93,rep,name=unpacked_sint32,json=unpackedSint32,proto3" json:"unpacked_sint32,omitempty"` UnpackedSint64 []int64 `protobuf:"zigzag64,94,rep,name=unpacked_sint64,json=unpackedSint64,proto3" json:"unpacked_sint64,omitempty"` UnpackedFixed32 []uint32 `protobuf:"fixed32,95,rep,name=unpacked_fixed32,json=unpackedFixed32,proto3" json:"unpacked_fixed32,omitempty"` UnpackedFixed64 []uint64 `protobuf:"fixed64,96,rep,name=unpacked_fixed64,json=unpackedFixed64,proto3" json:"unpacked_fixed64,omitempty"` UnpackedSfixed32 []int32 `protobuf:"fixed32,97,rep,name=unpacked_sfixed32,json=unpackedSfixed32,proto3" json:"unpacked_sfixed32,omitempty"` UnpackedSfixed64 []int64 `protobuf:"fixed64,98,rep,name=unpacked_sfixed64,json=unpackedSfixed64,proto3" json:"unpacked_sfixed64,omitempty"` UnpackedFloat []float32 `protobuf:"fixed32,99,rep,name=unpacked_float,json=unpackedFloat,proto3" json:"unpacked_float,omitempty"` UnpackedDouble []float64 `protobuf:"fixed64,100,rep,name=unpacked_double,json=unpackedDouble,proto3" json:"unpacked_double,omitempty"` UnpackedBool []bool `protobuf:"varint,101,rep,name=unpacked_bool,json=unpackedBool,proto3" json:"unpacked_bool,omitempty"` UnpackedNestedEnum []TestAllTypesProto3_NestedEnum `protobuf:"varint,102,rep,name=unpacked_nested_enum,json=unpackedNestedEnum,proto3,enum=protobuf_test_messages.proto3.TestAllTypesProto3_NestedEnum" json:"unpacked_nested_enum,omitempty"` // Map MapInt32Int32 map[int32]int32 `protobuf:"bytes,56,rep,name=map_int32_int32,json=mapInt32Int32,proto3" json:"map_int32_int32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapInt64Int64 map[int64]int64 `protobuf:"bytes,57,rep,name=map_int64_int64,json=mapInt64Int64,proto3" json:"map_int64_int64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapUint32Uint32 map[uint32]uint32 `protobuf:"bytes,58,rep,name=map_uint32_uint32,json=mapUint32Uint32,proto3" json:"map_uint32_uint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapUint64Uint64 map[uint64]uint64 `protobuf:"bytes,59,rep,name=map_uint64_uint64,json=mapUint64Uint64,proto3" json:"map_uint64_uint64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapSint32Sint32 map[int32]int32 `protobuf:"bytes,60,rep,name=map_sint32_sint32,json=mapSint32Sint32,proto3" json:"map_sint32_sint32,omitempty" protobuf_key:"zigzag32,1,opt,name=key,proto3" protobuf_val:"zigzag32,2,opt,name=value,proto3"` MapSint64Sint64 map[int64]int64 `protobuf:"bytes,61,rep,name=map_sint64_sint64,json=mapSint64Sint64,proto3" json:"map_sint64_sint64,omitempty" protobuf_key:"zigzag64,1,opt,name=key,proto3" protobuf_val:"zigzag64,2,opt,name=value,proto3"` MapFixed32Fixed32 map[uint32]uint32 `protobuf:"bytes,62,rep,name=map_fixed32_fixed32,json=mapFixed32Fixed32,proto3" json:"map_fixed32_fixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` MapFixed64Fixed64 map[uint64]uint64 `protobuf:"bytes,63,rep,name=map_fixed64_fixed64,json=mapFixed64Fixed64,proto3" json:"map_fixed64_fixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` MapSfixed32Sfixed32 map[int32]int32 `protobuf:"bytes,64,rep,name=map_sfixed32_sfixed32,json=mapSfixed32Sfixed32,proto3" json:"map_sfixed32_sfixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` MapSfixed64Sfixed64 map[int64]int64 `protobuf:"bytes,65,rep,name=map_sfixed64_sfixed64,json=mapSfixed64Sfixed64,proto3" json:"map_sfixed64_sfixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` MapInt32Float map[int32]float32 `protobuf:"bytes,66,rep,name=map_int32_float,json=mapInt32Float,proto3" json:"map_int32_float,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` MapInt32Double map[int32]float64 `protobuf:"bytes,67,rep,name=map_int32_double,json=mapInt32Double,proto3" json:"map_int32_double,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` MapBoolBool map[bool]bool `protobuf:"bytes,68,rep,name=map_bool_bool,json=mapBoolBool,proto3" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapStringString map[string]string `protobuf:"bytes,69,rep,name=map_string_string,json=mapStringString,proto3" json:"map_string_string,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapStringBytes map[string][]byte `protobuf:"bytes,70,rep,name=map_string_bytes,json=mapStringBytes,proto3" json:"map_string_bytes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapStringNestedMessage map[string]*TestAllTypesProto3_NestedMessage `protobuf:"bytes,71,rep,name=map_string_nested_message,json=mapStringNestedMessage,proto3" json:"map_string_nested_message,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapStringForeignMessage map[string]*ForeignMessage `protobuf:"bytes,72,rep,name=map_string_foreign_message,json=mapStringForeignMessage,proto3" json:"map_string_foreign_message,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapStringNestedEnum map[string]TestAllTypesProto3_NestedEnum `protobuf:"bytes,73,rep,name=map_string_nested_enum,json=mapStringNestedEnum,proto3" json:"map_string_nested_enum,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=protobuf_test_messages.proto3.TestAllTypesProto3_NestedEnum"` MapStringForeignEnum map[string]ForeignEnum `protobuf:"bytes,74,rep,name=map_string_foreign_enum,json=mapStringForeignEnum,proto3" json:"map_string_foreign_enum,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=protobuf_test_messages.proto3.ForeignEnum"` // Types that are assignable to OneofField: // // *TestAllTypesProto3_OneofUint32 // *TestAllTypesProto3_OneofNestedMessage // *TestAllTypesProto3_OneofString // *TestAllTypesProto3_OneofBytes // *TestAllTypesProto3_OneofBool // *TestAllTypesProto3_OneofUint64 // *TestAllTypesProto3_OneofFloat // *TestAllTypesProto3_OneofDouble // *TestAllTypesProto3_OneofEnum // *TestAllTypesProto3_OneofNullValue OneofField isTestAllTypesProto3_OneofField `protobuf_oneof:"oneof_field"` // Well-known types OptionalBoolWrapper *wrapperspb.BoolValue `protobuf:"bytes,201,opt,name=optional_bool_wrapper,json=optionalBoolWrapper,proto3" json:"optional_bool_wrapper,omitempty"` OptionalInt32Wrapper *wrapperspb.Int32Value `protobuf:"bytes,202,opt,name=optional_int32_wrapper,json=optionalInt32Wrapper,proto3" json:"optional_int32_wrapper,omitempty"` OptionalInt64Wrapper *wrapperspb.Int64Value `protobuf:"bytes,203,opt,name=optional_int64_wrapper,json=optionalInt64Wrapper,proto3" json:"optional_int64_wrapper,omitempty"` OptionalUint32Wrapper *wrapperspb.UInt32Value `protobuf:"bytes,204,opt,name=optional_uint32_wrapper,json=optionalUint32Wrapper,proto3" json:"optional_uint32_wrapper,omitempty"` OptionalUint64Wrapper *wrapperspb.UInt64Value `protobuf:"bytes,205,opt,name=optional_uint64_wrapper,json=optionalUint64Wrapper,proto3" json:"optional_uint64_wrapper,omitempty"` OptionalFloatWrapper *wrapperspb.FloatValue `protobuf:"bytes,206,opt,name=optional_float_wrapper,json=optionalFloatWrapper,proto3" json:"optional_float_wrapper,omitempty"` OptionalDoubleWrapper *wrapperspb.DoubleValue `protobuf:"bytes,207,opt,name=optional_double_wrapper,json=optionalDoubleWrapper,proto3" json:"optional_double_wrapper,omitempty"` OptionalStringWrapper *wrapperspb.StringValue `protobuf:"bytes,208,opt,name=optional_string_wrapper,json=optionalStringWrapper,proto3" json:"optional_string_wrapper,omitempty"` OptionalBytesWrapper *wrapperspb.BytesValue `protobuf:"bytes,209,opt,name=optional_bytes_wrapper,json=optionalBytesWrapper,proto3" json:"optional_bytes_wrapper,omitempty"` RepeatedBoolWrapper []*wrapperspb.BoolValue `protobuf:"bytes,211,rep,name=repeated_bool_wrapper,json=repeatedBoolWrapper,proto3" json:"repeated_bool_wrapper,omitempty"` RepeatedInt32Wrapper []*wrapperspb.Int32Value `protobuf:"bytes,212,rep,name=repeated_int32_wrapper,json=repeatedInt32Wrapper,proto3" json:"repeated_int32_wrapper,omitempty"` RepeatedInt64Wrapper []*wrapperspb.Int64Value `protobuf:"bytes,213,rep,name=repeated_int64_wrapper,json=repeatedInt64Wrapper,proto3" json:"repeated_int64_wrapper,omitempty"` RepeatedUint32Wrapper []*wrapperspb.UInt32Value `protobuf:"bytes,214,rep,name=repeated_uint32_wrapper,json=repeatedUint32Wrapper,proto3" json:"repeated_uint32_wrapper,omitempty"` RepeatedUint64Wrapper []*wrapperspb.UInt64Value `protobuf:"bytes,215,rep,name=repeated_uint64_wrapper,json=repeatedUint64Wrapper,proto3" json:"repeated_uint64_wrapper,omitempty"` RepeatedFloatWrapper []*wrapperspb.FloatValue `protobuf:"bytes,216,rep,name=repeated_float_wrapper,json=repeatedFloatWrapper,proto3" json:"repeated_float_wrapper,omitempty"` RepeatedDoubleWrapper []*wrapperspb.DoubleValue `protobuf:"bytes,217,rep,name=repeated_double_wrapper,json=repeatedDoubleWrapper,proto3" json:"repeated_double_wrapper,omitempty"` RepeatedStringWrapper []*wrapperspb.StringValue `protobuf:"bytes,218,rep,name=repeated_string_wrapper,json=repeatedStringWrapper,proto3" json:"repeated_string_wrapper,omitempty"` RepeatedBytesWrapper []*wrapperspb.BytesValue `protobuf:"bytes,219,rep,name=repeated_bytes_wrapper,json=repeatedBytesWrapper,proto3" json:"repeated_bytes_wrapper,omitempty"` OptionalDuration *durationpb.Duration `protobuf:"bytes,301,opt,name=optional_duration,json=optionalDuration,proto3" json:"optional_duration,omitempty"` OptionalTimestamp *timestamppb.Timestamp `protobuf:"bytes,302,opt,name=optional_timestamp,json=optionalTimestamp,proto3" json:"optional_timestamp,omitempty"` OptionalFieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,303,opt,name=optional_field_mask,json=optionalFieldMask,proto3" json:"optional_field_mask,omitempty"` OptionalStruct *structpb.Struct `protobuf:"bytes,304,opt,name=optional_struct,json=optionalStruct,proto3" json:"optional_struct,omitempty"` OptionalAny *anypb.Any `protobuf:"bytes,305,opt,name=optional_any,json=optionalAny,proto3" json:"optional_any,omitempty"` OptionalValue *structpb.Value `protobuf:"bytes,306,opt,name=optional_value,json=optionalValue,proto3" json:"optional_value,omitempty"` OptionalNullValue structpb.NullValue `protobuf:"varint,307,opt,name=optional_null_value,json=optionalNullValue,proto3,enum=google.protobuf.NullValue" json:"optional_null_value,omitempty"` RepeatedDuration []*durationpb.Duration `protobuf:"bytes,311,rep,name=repeated_duration,json=repeatedDuration,proto3" json:"repeated_duration,omitempty"` RepeatedTimestamp []*timestamppb.Timestamp `protobuf:"bytes,312,rep,name=repeated_timestamp,json=repeatedTimestamp,proto3" json:"repeated_timestamp,omitempty"` RepeatedFieldmask []*fieldmaskpb.FieldMask `protobuf:"bytes,313,rep,name=repeated_fieldmask,json=repeatedFieldmask,proto3" json:"repeated_fieldmask,omitempty"` RepeatedStruct []*structpb.Struct `protobuf:"bytes,324,rep,name=repeated_struct,json=repeatedStruct,proto3" json:"repeated_struct,omitempty"` RepeatedAny []*anypb.Any `protobuf:"bytes,315,rep,name=repeated_any,json=repeatedAny,proto3" json:"repeated_any,omitempty"` RepeatedValue []*structpb.Value `protobuf:"bytes,316,rep,name=repeated_value,json=repeatedValue,proto3" json:"repeated_value,omitempty"` RepeatedListValue []*structpb.ListValue `protobuf:"bytes,317,rep,name=repeated_list_value,json=repeatedListValue,proto3" json:"repeated_list_value,omitempty"` // Test field-name-to-JSON-name convention. // (protobuf says names can be any valid C/C++ identifier.) Fieldname1 int32 `protobuf:"varint,401,opt,name=fieldname1,proto3" json:"fieldname1,omitempty"` FieldName2 int32 `protobuf:"varint,402,opt,name=field_name2,json=fieldName2,proto3" json:"field_name2,omitempty"` XFieldName3 int32 `protobuf:"varint,403,opt,name=_field_name3,json=FieldName3,proto3" json:"_field_name3,omitempty"` Field_Name4_ int32 `protobuf:"varint,404,opt,name=field__name4_,json=fieldName4,proto3" json:"field__name4_,omitempty"` Field0Name5 int32 `protobuf:"varint,405,opt,name=field0name5,proto3" json:"field0name5,omitempty"` Field_0Name6 int32 `protobuf:"varint,406,opt,name=field_0_name6,json=field0Name6,proto3" json:"field_0_name6,omitempty"` FieldName7 int32 `protobuf:"varint,407,opt,name=fieldName7,proto3" json:"fieldName7,omitempty"` FieldName8 int32 `protobuf:"varint,408,opt,name=FieldName8,proto3" json:"FieldName8,omitempty"` Field_Name9 int32 `protobuf:"varint,409,opt,name=field_Name9,json=fieldName9,proto3" json:"field_Name9,omitempty"` Field_Name10 int32 `protobuf:"varint,410,opt,name=Field_Name10,json=FieldName10,proto3" json:"Field_Name10,omitempty"` FIELD_NAME11 int32 `protobuf:"varint,411,opt,name=FIELD_NAME11,json=FIELDNAME11,proto3" json:"FIELD_NAME11,omitempty"` FIELDName12 int32 `protobuf:"varint,412,opt,name=FIELD_name12,json=FIELDName12,proto3" json:"FIELD_name12,omitempty"` XFieldName13 int32 `protobuf:"varint,413,opt,name=__field_name13,json=FieldName13,proto3" json:"__field_name13,omitempty"` X_FieldName14 int32 `protobuf:"varint,414,opt,name=__Field_name14,json=FieldName14,proto3" json:"__Field_name14,omitempty"` Field_Name15 int32 `protobuf:"varint,415,opt,name=field__name15,json=fieldName15,proto3" json:"field__name15,omitempty"` Field__Name16 int32 `protobuf:"varint,416,opt,name=field__Name16,json=fieldName16,proto3" json:"field__Name16,omitempty"` FieldName17__ int32 `protobuf:"varint,417,opt,name=field_name17__,json=fieldName17,proto3" json:"field_name17__,omitempty"` FieldName18__ int32 `protobuf:"varint,418,opt,name=Field_name18__,json=FieldName18,proto3" json:"Field_name18__,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypesProto3) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto3.ProtoReflect.Descriptor instead.
func (x *TestAllTypesProto3) GetFIELDName12() int32
func (x *TestAllTypesProto3) GetFIELD_NAME11() int32
func (x *TestAllTypesProto3) GetField0Name5() int32
func (x *TestAllTypesProto3) GetFieldName17__() int32
func (x *TestAllTypesProto3) GetFieldName18__() int32
func (x *TestAllTypesProto3) GetFieldName2() int32
func (x *TestAllTypesProto3) GetFieldName7() int32
func (x *TestAllTypesProto3) GetFieldName8() int32
func (x *TestAllTypesProto3) GetField_0Name6() int32
func (x *TestAllTypesProto3) GetField_Name10() int32
func (x *TestAllTypesProto3) GetField_Name15() int32
func (x *TestAllTypesProto3) GetField_Name4_() int32
func (x *TestAllTypesProto3) GetField_Name9() int32
func (x *TestAllTypesProto3) GetField__Name16() int32
func (x *TestAllTypesProto3) GetFieldname1() int32
func (x *TestAllTypesProto3) GetMapBoolBool() map[bool]bool
func (x *TestAllTypesProto3) GetMapFixed32Fixed32() map[uint32]uint32
func (x *TestAllTypesProto3) GetMapFixed64Fixed64() map[uint64]uint64
func (x *TestAllTypesProto3) GetMapInt32Double() map[int32]float64
func (x *TestAllTypesProto3) GetMapInt32Float() map[int32]float32
func (x *TestAllTypesProto3) GetMapInt32Int32() map[int32]int32
func (x *TestAllTypesProto3) GetMapInt64Int64() map[int64]int64
func (x *TestAllTypesProto3) GetMapSfixed32Sfixed32() map[int32]int32
func (x *TestAllTypesProto3) GetMapSfixed64Sfixed64() map[int64]int64
func (x *TestAllTypesProto3) GetMapSint32Sint32() map[int32]int32
func (x *TestAllTypesProto3) GetMapSint64Sint64() map[int64]int64
func (x *TestAllTypesProto3) GetMapStringBytes() map[string][]byte
func (x *TestAllTypesProto3) GetMapStringForeignEnum() map[string]ForeignEnum
func (x *TestAllTypesProto3) GetMapStringForeignMessage() map[string]*ForeignMessage
func (x *TestAllTypesProto3) GetMapStringNestedEnum() map[string]TestAllTypesProto3_NestedEnum
func (x *TestAllTypesProto3) GetMapStringNestedMessage() map[string]*TestAllTypesProto3_NestedMessage
func (x *TestAllTypesProto3) GetMapStringString() map[string]string
func (x *TestAllTypesProto3) GetMapUint32Uint32() map[uint32]uint32
func (x *TestAllTypesProto3) GetMapUint64Uint64() map[uint64]uint64
func (x *TestAllTypesProto3) GetOneofBool() bool
func (x *TestAllTypesProto3) GetOneofBytes() []byte
func (x *TestAllTypesProto3) GetOneofDouble() float64
func (x *TestAllTypesProto3) GetOneofEnum() TestAllTypesProto3_NestedEnum
func (m *TestAllTypesProto3) GetOneofField() isTestAllTypesProto3_OneofField
func (x *TestAllTypesProto3) GetOneofFloat() float32
func (x *TestAllTypesProto3) GetOneofNestedMessage() *TestAllTypesProto3_NestedMessage
func (x *TestAllTypesProto3) GetOneofNullValue() structpb.NullValue
func (x *TestAllTypesProto3) GetOneofString() string
func (x *TestAllTypesProto3) GetOneofUint32() uint32
func (x *TestAllTypesProto3) GetOneofUint64() uint64
func (x *TestAllTypesProto3) GetOptionalAliasedEnum() TestAllTypesProto3_AliasedEnum
func (x *TestAllTypesProto3) GetOptionalAny() *anypb.Any
func (x *TestAllTypesProto3) GetOptionalBool() bool
func (x *TestAllTypesProto3) GetOptionalBoolWrapper() *wrapperspb.BoolValue
func (x *TestAllTypesProto3) GetOptionalBytes() []byte
func (x *TestAllTypesProto3) GetOptionalBytesWrapper() *wrapperspb.BytesValue
func (x *TestAllTypesProto3) GetOptionalCord() string
func (x *TestAllTypesProto3) GetOptionalDouble() float64
func (x *TestAllTypesProto3) GetOptionalDoubleWrapper() *wrapperspb.DoubleValue
func (x *TestAllTypesProto3) GetOptionalDuration() *durationpb.Duration
func (x *TestAllTypesProto3) GetOptionalFieldMask() *fieldmaskpb.FieldMask
func (x *TestAllTypesProto3) GetOptionalFixed32() uint32
func (x *TestAllTypesProto3) GetOptionalFixed64() uint64
func (x *TestAllTypesProto3) GetOptionalFloat() float32
func (x *TestAllTypesProto3) GetOptionalFloatWrapper() *wrapperspb.FloatValue
func (x *TestAllTypesProto3) GetOptionalForeignEnum() ForeignEnum
func (x *TestAllTypesProto3) GetOptionalForeignMessage() *ForeignMessage
func (x *TestAllTypesProto3) GetOptionalInt32() int32
func (x *TestAllTypesProto3) GetOptionalInt32Wrapper() *wrapperspb.Int32Value
func (x *TestAllTypesProto3) GetOptionalInt64() int64
func (x *TestAllTypesProto3) GetOptionalInt64Wrapper() *wrapperspb.Int64Value
func (x *TestAllTypesProto3) GetOptionalNestedEnum() TestAllTypesProto3_NestedEnum
func (x *TestAllTypesProto3) GetOptionalNestedMessage() *TestAllTypesProto3_NestedMessage
func (x *TestAllTypesProto3) GetOptionalNullValue() structpb.NullValue
func (x *TestAllTypesProto3) GetOptionalSfixed32() int32
func (x *TestAllTypesProto3) GetOptionalSfixed64() int64
func (x *TestAllTypesProto3) GetOptionalSint32() int32
func (x *TestAllTypesProto3) GetOptionalSint64() int64
func (x *TestAllTypesProto3) GetOptionalString() string
func (x *TestAllTypesProto3) GetOptionalStringPiece() string
func (x *TestAllTypesProto3) GetOptionalStringWrapper() *wrapperspb.StringValue
func (x *TestAllTypesProto3) GetOptionalStruct() *structpb.Struct
func (x *TestAllTypesProto3) GetOptionalTimestamp() *timestamppb.Timestamp
func (x *TestAllTypesProto3) GetOptionalUint32() uint32
func (x *TestAllTypesProto3) GetOptionalUint32Wrapper() *wrapperspb.UInt32Value
func (x *TestAllTypesProto3) GetOptionalUint64() uint64
func (x *TestAllTypesProto3) GetOptionalUint64Wrapper() *wrapperspb.UInt64Value
func (x *TestAllTypesProto3) GetOptionalValue() *structpb.Value
func (x *TestAllTypesProto3) GetPackedBool() []bool
func (x *TestAllTypesProto3) GetPackedDouble() []float64
func (x *TestAllTypesProto3) GetPackedFixed32() []uint32
func (x *TestAllTypesProto3) GetPackedFixed64() []uint64
func (x *TestAllTypesProto3) GetPackedFloat() []float32
func (x *TestAllTypesProto3) GetPackedInt32() []int32
func (x *TestAllTypesProto3) GetPackedInt64() []int64
func (x *TestAllTypesProto3) GetPackedNestedEnum() []TestAllTypesProto3_NestedEnum
func (x *TestAllTypesProto3) GetPackedSfixed32() []int32
func (x *TestAllTypesProto3) GetPackedSfixed64() []int64
func (x *TestAllTypesProto3) GetPackedSint32() []int32
func (x *TestAllTypesProto3) GetPackedSint64() []int64
func (x *TestAllTypesProto3) GetPackedUint32() []uint32
func (x *TestAllTypesProto3) GetPackedUint64() []uint64
func (x *TestAllTypesProto3) GetRecursiveMessage() *TestAllTypesProto3
func (x *TestAllTypesProto3) GetRepeatedAny() []*anypb.Any
func (x *TestAllTypesProto3) GetRepeatedBool() []bool
func (x *TestAllTypesProto3) GetRepeatedBoolWrapper() []*wrapperspb.BoolValue
func (x *TestAllTypesProto3) GetRepeatedBytes() [][]byte
func (x *TestAllTypesProto3) GetRepeatedBytesWrapper() []*wrapperspb.BytesValue
func (x *TestAllTypesProto3) GetRepeatedCord() []string
func (x *TestAllTypesProto3) GetRepeatedDouble() []float64
func (x *TestAllTypesProto3) GetRepeatedDoubleWrapper() []*wrapperspb.DoubleValue
func (x *TestAllTypesProto3) GetRepeatedDuration() []*durationpb.Duration
func (x *TestAllTypesProto3) GetRepeatedFieldmask() []*fieldmaskpb.FieldMask
func (x *TestAllTypesProto3) GetRepeatedFixed32() []uint32
func (x *TestAllTypesProto3) GetRepeatedFixed64() []uint64
func (x *TestAllTypesProto3) GetRepeatedFloat() []float32
func (x *TestAllTypesProto3) GetRepeatedFloatWrapper() []*wrapperspb.FloatValue
func (x *TestAllTypesProto3) GetRepeatedForeignEnum() []ForeignEnum
func (x *TestAllTypesProto3) GetRepeatedForeignMessage() []*ForeignMessage
func (x *TestAllTypesProto3) GetRepeatedInt32() []int32
func (x *TestAllTypesProto3) GetRepeatedInt32Wrapper() []*wrapperspb.Int32Value
func (x *TestAllTypesProto3) GetRepeatedInt64() []int64
func (x *TestAllTypesProto3) GetRepeatedInt64Wrapper() []*wrapperspb.Int64Value
func (x *TestAllTypesProto3) GetRepeatedListValue() []*structpb.ListValue
func (x *TestAllTypesProto3) GetRepeatedNestedEnum() []TestAllTypesProto3_NestedEnum
func (x *TestAllTypesProto3) GetRepeatedNestedMessage() []*TestAllTypesProto3_NestedMessage
func (x *TestAllTypesProto3) GetRepeatedSfixed32() []int32
func (x *TestAllTypesProto3) GetRepeatedSfixed64() []int64
func (x *TestAllTypesProto3) GetRepeatedSint32() []int32
func (x *TestAllTypesProto3) GetRepeatedSint64() []int64
func (x *TestAllTypesProto3) GetRepeatedString() []string
func (x *TestAllTypesProto3) GetRepeatedStringPiece() []string
func (x *TestAllTypesProto3) GetRepeatedStringWrapper() []*wrapperspb.StringValue
func (x *TestAllTypesProto3) GetRepeatedStruct() []*structpb.Struct
func (x *TestAllTypesProto3) GetRepeatedTimestamp() []*timestamppb.Timestamp
func (x *TestAllTypesProto3) GetRepeatedUint32() []uint32
func (x *TestAllTypesProto3) GetRepeatedUint32Wrapper() []*wrapperspb.UInt32Value
func (x *TestAllTypesProto3) GetRepeatedUint64() []uint64
func (x *TestAllTypesProto3) GetRepeatedUint64Wrapper() []*wrapperspb.UInt64Value
func (x *TestAllTypesProto3) GetRepeatedValue() []*structpb.Value
func (x *TestAllTypesProto3) GetUnpackedBool() []bool
func (x *TestAllTypesProto3) GetUnpackedDouble() []float64
func (x *TestAllTypesProto3) GetUnpackedFixed32() []uint32
func (x *TestAllTypesProto3) GetUnpackedFixed64() []uint64
func (x *TestAllTypesProto3) GetUnpackedFloat() []float32
func (x *TestAllTypesProto3) GetUnpackedInt32() []int32
func (x *TestAllTypesProto3) GetUnpackedInt64() []int64
func (x *TestAllTypesProto3) GetUnpackedNestedEnum() []TestAllTypesProto3_NestedEnum
func (x *TestAllTypesProto3) GetUnpackedSfixed32() []int32
func (x *TestAllTypesProto3) GetUnpackedSfixed64() []int64
func (x *TestAllTypesProto3) GetUnpackedSint32() []int32
func (x *TestAllTypesProto3) GetUnpackedSint64() []int64
func (x *TestAllTypesProto3) GetUnpackedUint32() []uint32
func (x *TestAllTypesProto3) GetUnpackedUint64() []uint64
func (x *TestAllTypesProto3) GetXFieldName13() int32
func (x *TestAllTypesProto3) GetXFieldName3() int32
func (x *TestAllTypesProto3) GetX_FieldName14() int32
func (*TestAllTypesProto3) ProtoMessage()
func (x *TestAllTypesProto3) ProtoReflect() protoreflect.Message
func (x *TestAllTypesProto3) Reset()
func (x *TestAllTypesProto3) String() string
type TestAllTypesProto3_AliasedEnum int32
const ( TestAllTypesProto3_ALIAS_FOO TestAllTypesProto3_AliasedEnum = 0 TestAllTypesProto3_ALIAS_BAR TestAllTypesProto3_AliasedEnum = 1 TestAllTypesProto3_ALIAS_BAZ TestAllTypesProto3_AliasedEnum = 2 TestAllTypesProto3_MOO TestAllTypesProto3_AliasedEnum = 2 TestAllTypesProto3_moo TestAllTypesProto3_AliasedEnum = 2 TestAllTypesProto3_bAz TestAllTypesProto3_AliasedEnum = 2 )
func (TestAllTypesProto3_AliasedEnum) Descriptor() protoreflect.EnumDescriptor
func (x TestAllTypesProto3_AliasedEnum) Enum() *TestAllTypesProto3_AliasedEnum
func (TestAllTypesProto3_AliasedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto3_AliasedEnum.Descriptor instead.
func (x TestAllTypesProto3_AliasedEnum) Number() protoreflect.EnumNumber
func (x TestAllTypesProto3_AliasedEnum) String() string
func (TestAllTypesProto3_AliasedEnum) Type() protoreflect.EnumType
type TestAllTypesProto3_NestedEnum int32
const ( TestAllTypesProto3_FOO TestAllTypesProto3_NestedEnum = 0 TestAllTypesProto3_BAR TestAllTypesProto3_NestedEnum = 1 TestAllTypesProto3_BAZ TestAllTypesProto3_NestedEnum = 2 TestAllTypesProto3_NEG TestAllTypesProto3_NestedEnum = -1 // Intentionally negative. )
func (TestAllTypesProto3_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (x TestAllTypesProto3_NestedEnum) Enum() *TestAllTypesProto3_NestedEnum
func (TestAllTypesProto3_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto3_NestedEnum.Descriptor instead.
func (x TestAllTypesProto3_NestedEnum) Number() protoreflect.EnumNumber
func (x TestAllTypesProto3_NestedEnum) String() string
func (TestAllTypesProto3_NestedEnum) Type() protoreflect.EnumType
type TestAllTypesProto3_NestedMessage struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` Corecursive *TestAllTypesProto3 `protobuf:"bytes,2,opt,name=corecursive,proto3" json:"corecursive,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypesProto3_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto3_NestedMessage.ProtoReflect.Descriptor instead.
func (x *TestAllTypesProto3_NestedMessage) GetA() int32
func (x *TestAllTypesProto3_NestedMessage) GetCorecursive() *TestAllTypesProto3
func (*TestAllTypesProto3_NestedMessage) ProtoMessage()
func (x *TestAllTypesProto3_NestedMessage) ProtoReflect() protoreflect.Message
func (x *TestAllTypesProto3_NestedMessage) Reset()
func (x *TestAllTypesProto3_NestedMessage) String() string
type TestAllTypesProto3_OneofBool struct { OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,proto3,oneof"` }
type TestAllTypesProto3_OneofBytes struct { OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"` }
type TestAllTypesProto3_OneofDouble struct { OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,proto3,oneof"` }
type TestAllTypesProto3_OneofEnum struct { OneofEnum TestAllTypesProto3_NestedEnum `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,proto3,enum=protobuf_test_messages.proto3.TestAllTypesProto3_NestedEnum,oneof"` }
type TestAllTypesProto3_OneofFloat struct { OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,proto3,oneof"` }
type TestAllTypesProto3_OneofNestedMessage struct { OneofNestedMessage *TestAllTypesProto3_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,proto3,oneof"` }
type TestAllTypesProto3_OneofNullValue struct { OneofNullValue structpb.NullValue `protobuf:"varint,120,opt,name=oneof_null_value,json=oneofNullValue,proto3,enum=google.protobuf.NullValue,oneof"` }
type TestAllTypesProto3_OneofString struct { OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,proto3,oneof"` }
type TestAllTypesProto3_OneofUint32 struct { OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"` }
type TestAllTypesProto3_OneofUint64 struct { OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,proto3,oneof"` }
type TestCategory int32
const ( TestCategory_UNSPECIFIED_TEST TestCategory = 0 TestCategory_BINARY_TEST TestCategory = 1 // Test binary wire format. TestCategory_JSON_TEST TestCategory = 2 // Test json wire format. // Similar to JSON_TEST. However, during parsing json, testee should ignore // unknown fields. This feature is optional. Each implementation can decide // whether to support it. See // https://developers.google.com/protocol-buffers/docs/proto3#json_options // for more detail. TestCategory_JSON_IGNORE_UNKNOWN_PARSING_TEST TestCategory = 3 // Test jspb wire format. Only used inside Google. Opensource testees just // skip it. TestCategory_JSPB_TEST TestCategory = 4 // Test text format. For cpp, java and python, testees can already deal with // this type. Testees of other languages can simply skip it. TestCategory_TEXT_FORMAT_TEST TestCategory = 5 )
func (TestCategory) Descriptor() protoreflect.EnumDescriptor
func (x TestCategory) Enum() *TestCategory
func (TestCategory) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestCategory.Descriptor instead.
func (x TestCategory) Number() protoreflect.EnumNumber
func (x TestCategory) String() string
func (TestCategory) Type() protoreflect.EnumType
type UnknownToTestAllTypes struct { OptionalInt32 *int32 `protobuf:"varint,1001,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"` OptionalString *string `protobuf:"bytes,1002,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"` NestedMessage *ForeignMessageProto2 `protobuf:"bytes,1003,opt,name=nested_message,json=nestedMessage" json:"nested_message,omitempty"` Optionalgroup *UnknownToTestAllTypes_OptionalGroup `protobuf:"group,1004,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"` OptionalBool *bool `protobuf:"varint,1006,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"` RepeatedInt32 []int32 `protobuf:"varint,1011,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"` // contains filtered or unexported fields }
func (*UnknownToTestAllTypes) Descriptor() ([]byte, []int)
Deprecated: Use UnknownToTestAllTypes.ProtoReflect.Descriptor instead.
func (x *UnknownToTestAllTypes) GetNestedMessage() *ForeignMessageProto2
func (x *UnknownToTestAllTypes) GetOptionalBool() bool
func (x *UnknownToTestAllTypes) GetOptionalInt32() int32
func (x *UnknownToTestAllTypes) GetOptionalString() string
func (x *UnknownToTestAllTypes) GetOptionalgroup() *UnknownToTestAllTypes_OptionalGroup
func (x *UnknownToTestAllTypes) GetRepeatedInt32() []int32
func (*UnknownToTestAllTypes) ProtoMessage()
func (x *UnknownToTestAllTypes) ProtoReflect() protoreflect.Message
func (x *UnknownToTestAllTypes) Reset()
func (x *UnknownToTestAllTypes) String() string
type UnknownToTestAllTypes_OptionalGroup struct { A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"` // contains filtered or unexported fields }
func (*UnknownToTestAllTypes_OptionalGroup) Descriptor() ([]byte, []int)
Deprecated: Use UnknownToTestAllTypes_OptionalGroup.ProtoReflect.Descriptor instead.
func (x *UnknownToTestAllTypes_OptionalGroup) GetA() int32
func (*UnknownToTestAllTypes_OptionalGroup) ProtoMessage()
func (x *UnknownToTestAllTypes_OptionalGroup) ProtoReflect() protoreflect.Message
func (x *UnknownToTestAllTypes_OptionalGroup) Reset()
func (x *UnknownToTestAllTypes_OptionalGroup) String() string
type WireFormat int32
const ( WireFormat_UNSPECIFIED WireFormat = 0 WireFormat_PROTOBUF WireFormat = 1 WireFormat_JSON WireFormat = 2 WireFormat_JSPB WireFormat = 3 // Only used inside Google. Opensource testees just skip it. WireFormat_TEXT_FORMAT WireFormat = 4 )
func (WireFormat) Descriptor() protoreflect.EnumDescriptor
func (x WireFormat) Enum() *WireFormat
func (WireFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use WireFormat.Descriptor instead.
func (x WireFormat) Number() protoreflect.EnumNumber
func (x WireFormat) String() string
func (WireFormat) Type() protoreflect.EnumType