conformance

package
v1.34.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
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 TestAllTypesProto2 fields.

View Source
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")
)

Default values for TestAllRequiredTypesProto2 fields.

Variables

View Source
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 WireFormat.

View Source
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 TestCategory.

View Source
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 ForeignEnumProto2.

View Source
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 TestAllTypesProto2_NestedEnum.

View Source
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 EnumOnlyProto2_Bool.

View Source
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,
	}
)

Enum value maps for TestAllRequiredTypesProto2_NestedEnum.

View Source
var (
	// optional int32 extension_int32 = 120;
	E_ExtensionInt32 = &file_google_protobuf_test_messages_proto2_proto_extTypes[0]
	// optional protobuf_test_messages.proto2.GroupField groupfield = 121;
	E_Groupfield = &file_google_protobuf_test_messages_proto2_proto_extTypes[1]
)

Extension fields to TestAllTypesProto2.

View Source
var (
	// optional protobuf_test_messages.proto2.TestAllTypesProto2.MessageSetCorrectExtension1 message_set_extension = 1547769;
	E_TestAllTypesProto2_MessageSetCorrectExtension1_MessageSetExtension = &file_google_protobuf_test_messages_proto2_proto_extTypes[2]
	// optional protobuf_test_messages.proto2.TestAllTypesProto2.MessageSetCorrectExtension2 message_set_extension = 4135312;
	E_TestAllTypesProto2_MessageSetCorrectExtension2_MessageSetExtension = &file_google_protobuf_test_messages_proto2_proto_extTypes[3]
)

Extension fields to TestAllTypesProto2_MessageSetCorrect.

View Source
var (
	// optional protobuf_test_messages.proto2.TestAllRequiredTypesProto2.MessageSetCorrectExtension1 message_set_extension = 1547769;
	E_TestAllRequiredTypesProto2_MessageSetCorrectExtension1_MessageSetExtension = &file_google_protobuf_test_messages_proto2_proto_extTypes[4]
	// optional protobuf_test_messages.proto2.TestAllRequiredTypesProto2.MessageSetCorrectExtension2 message_set_extension = 4135312;
	E_TestAllRequiredTypesProto2_MessageSetCorrectExtension2_MessageSetExtension = &file_google_protobuf_test_messages_proto2_proto_extTypes[5]
)

Extension fields to TestAllRequiredTypesProto2_MessageSetCorrect.

View Source
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 ForeignEnum.

View Source
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_NestedEnum.

View Source
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 TestAllTypesProto3_AliasedEnum.

View Source
var (
	EnumOnlyProto3_Bool_name = map[int32]string{
		0: "kFalse",
		1: "kTrue",
	}
	EnumOnlyProto3_Bool_value = map[string]int32{
		"kFalse": 0,
		"kTrue":  1,
	}
)

Enum value maps for EnumOnlyProto3_Bool.

View Source
var (
	Default_TestAllRequiredTypesProto2_DefaultBytes = []byte("joshua")
)

Default values for TestAllRequiredTypesProto2 fields.

View Source
var (
	Default_TestAllTypesProto2_DefaultBytes = []byte("joshua")
)

Default values for TestAllTypesProto2 fields.

View Source
var File_conformance_conformance_proto protoreflect.FileDescriptor
View Source
var File_google_protobuf_test_messages_proto2_proto protoreflect.FileDescriptor
View Source
var File_google_protobuf_test_messages_proto3_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConformanceRequest

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 `` /* 155-byte string literal not displayed */
	// 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 `` /* 128-byte string literal not displayed */
	// 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
}

Represents a single test case's input. The testee should:

  1. parse this proto (which should always succeed)
  2. parse the protobuf or JSON payload in "payload" (which may fail)
  3. if the parse succeeded, serialize the message in the requested format.

func (*ConformanceRequest) Descriptor deprecated

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

Deprecated: Use ConformanceRequest.ProtoReflect.Descriptor instead.

func (*ConformanceRequest) GetJsonPayload

func (x *ConformanceRequest) GetJsonPayload() string

func (*ConformanceRequest) GetJspbEncodingOptions

func (x *ConformanceRequest) GetJspbEncodingOptions() *JspbEncodingConfig

func (*ConformanceRequest) GetJspbPayload

func (x *ConformanceRequest) GetJspbPayload() string

func (*ConformanceRequest) GetMessageType

func (x *ConformanceRequest) GetMessageType() string

func (*ConformanceRequest) GetPayload

func (m *ConformanceRequest) GetPayload() isConformanceRequest_Payload

func (*ConformanceRequest) GetPrintUnknownFields

func (x *ConformanceRequest) GetPrintUnknownFields() bool

func (*ConformanceRequest) GetProtobufPayload

func (x *ConformanceRequest) GetProtobufPayload() []byte

func (*ConformanceRequest) GetRequestedOutputFormat

func (x *ConformanceRequest) GetRequestedOutputFormat() WireFormat

func (*ConformanceRequest) GetTestCategory

func (x *ConformanceRequest) GetTestCategory() TestCategory

func (*ConformanceRequest) GetTextPayload

func (x *ConformanceRequest) GetTextPayload() string

func (*ConformanceRequest) ProtoMessage

func (*ConformanceRequest) ProtoMessage()

func (*ConformanceRequest) ProtoReflect

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

func (*ConformanceRequest) Reset

func (x *ConformanceRequest) Reset()

func (*ConformanceRequest) String

func (x *ConformanceRequest) String() string

type ConformanceRequest_JsonPayload

type ConformanceRequest_JsonPayload struct {
	JsonPayload string `protobuf:"bytes,2,opt,name=json_payload,json=jsonPayload,proto3,oneof"`
}

type ConformanceRequest_JspbPayload

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

type ConformanceRequest_ProtobufPayload struct {
	ProtobufPayload []byte `protobuf:"bytes,1,opt,name=protobuf_payload,json=protobufPayload,proto3,oneof"`
}

type ConformanceRequest_TextPayload

type ConformanceRequest_TextPayload struct {
	TextPayload string `protobuf:"bytes,8,opt,name=text_payload,json=textPayload,proto3,oneof"`
}

type ConformanceResponse

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
}

Represents a single test case's output.

func (*ConformanceResponse) Descriptor deprecated

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

Deprecated: Use ConformanceResponse.ProtoReflect.Descriptor instead.

func (*ConformanceResponse) GetJsonPayload

func (x *ConformanceResponse) GetJsonPayload() string

func (*ConformanceResponse) GetJspbPayload

func (x *ConformanceResponse) GetJspbPayload() string

func (*ConformanceResponse) GetParseError

func (x *ConformanceResponse) GetParseError() string

func (*ConformanceResponse) GetProtobufPayload

func (x *ConformanceResponse) GetProtobufPayload() []byte

func (*ConformanceResponse) GetResult

func (m *ConformanceResponse) GetResult() isConformanceResponse_Result

func (*ConformanceResponse) GetRuntimeError

func (x *ConformanceResponse) GetRuntimeError() string

func (*ConformanceResponse) GetSerializeError

func (x *ConformanceResponse) GetSerializeError() string

func (*ConformanceResponse) GetSkipped

func (x *ConformanceResponse) GetSkipped() string

func (*ConformanceResponse) GetTextPayload

func (x *ConformanceResponse) GetTextPayload() string

func (*ConformanceResponse) GetTimeoutError added in v1.29.0

func (x *ConformanceResponse) GetTimeoutError() string

func (*ConformanceResponse) ProtoMessage

func (*ConformanceResponse) ProtoMessage()

func (*ConformanceResponse) ProtoReflect

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

func (*ConformanceResponse) Reset

func (x *ConformanceResponse) Reset()

func (*ConformanceResponse) String

func (x *ConformanceResponse) String() string

type ConformanceResponse_JsonPayload

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

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

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

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

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

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

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

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 added in v1.29.0

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 added in v1.29.0

type EnumOnlyProto2 struct {
	// contains filtered or unexported fields
}

func (*EnumOnlyProto2) Descriptor deprecated added in v1.29.0

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

Deprecated: Use EnumOnlyProto2.ProtoReflect.Descriptor instead.

func (*EnumOnlyProto2) ProtoMessage added in v1.29.0

func (*EnumOnlyProto2) ProtoMessage()

func (*EnumOnlyProto2) ProtoReflect added in v1.29.0

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

func (*EnumOnlyProto2) Reset added in v1.29.0

func (x *EnumOnlyProto2) Reset()

func (*EnumOnlyProto2) String added in v1.29.0

func (x *EnumOnlyProto2) String() string

type EnumOnlyProto2_Bool added in v1.29.0

type EnumOnlyProto2_Bool int32
const (
	EnumOnlyProto2_kFalse EnumOnlyProto2_Bool = 0
	EnumOnlyProto2_kTrue  EnumOnlyProto2_Bool = 1
)

func (EnumOnlyProto2_Bool) Descriptor added in v1.29.0

func (EnumOnlyProto2_Bool) Enum added in v1.29.0

func (EnumOnlyProto2_Bool) EnumDescriptor deprecated added in v1.29.0

func (EnumOnlyProto2_Bool) EnumDescriptor() ([]byte, []int)

Deprecated: Use EnumOnlyProto2_Bool.Descriptor instead.

func (EnumOnlyProto2_Bool) Number added in v1.29.0

func (EnumOnlyProto2_Bool) String added in v1.29.0

func (x EnumOnlyProto2_Bool) String() string

func (EnumOnlyProto2_Bool) Type added in v1.29.0

func (*EnumOnlyProto2_Bool) UnmarshalJSON deprecated added in v1.29.0

func (x *EnumOnlyProto2_Bool) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type EnumOnlyProto3 added in v1.29.0

type EnumOnlyProto3 struct {
	// contains filtered or unexported fields
}

func (*EnumOnlyProto3) Descriptor deprecated added in v1.29.0

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

Deprecated: Use EnumOnlyProto3.ProtoReflect.Descriptor instead.

func (*EnumOnlyProto3) ProtoMessage added in v1.29.0

func (*EnumOnlyProto3) ProtoMessage()

func (*EnumOnlyProto3) ProtoReflect added in v1.29.0

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

func (*EnumOnlyProto3) Reset added in v1.29.0

func (x *EnumOnlyProto3) Reset()

func (*EnumOnlyProto3) String added in v1.29.0

func (x *EnumOnlyProto3) String() string

type EnumOnlyProto3_Bool added in v1.29.0

type EnumOnlyProto3_Bool int32
const (
	EnumOnlyProto3_kFalse EnumOnlyProto3_Bool = 0
	EnumOnlyProto3_kTrue  EnumOnlyProto3_Bool = 1
)

func (EnumOnlyProto3_Bool) Descriptor added in v1.29.0

func (EnumOnlyProto3_Bool) Enum added in v1.29.0

func (EnumOnlyProto3_Bool) EnumDescriptor deprecated added in v1.29.0

func (EnumOnlyProto3_Bool) EnumDescriptor() ([]byte, []int)

Deprecated: Use EnumOnlyProto3_Bool.Descriptor instead.

func (EnumOnlyProto3_Bool) Number added in v1.29.0

func (EnumOnlyProto3_Bool) String added in v1.29.0

func (x EnumOnlyProto3_Bool) String() string

func (EnumOnlyProto3_Bool) Type added in v1.29.0

type FailureSet

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

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.

func (*FailureSet) Descriptor deprecated

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

Deprecated: Use FailureSet.ProtoReflect.Descriptor instead.

func (*FailureSet) GetFailure

func (x *FailureSet) GetFailure() []string

func (*FailureSet) ProtoMessage

func (*FailureSet) ProtoMessage()

func (*FailureSet) ProtoReflect

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

func (*FailureSet) Reset

func (x *FailureSet) Reset()

func (*FailureSet) String

func (x *FailureSet) String() string

type ForeignEnum

type ForeignEnum int32
const (
	ForeignEnum_FOREIGN_FOO ForeignEnum = 0
	ForeignEnum_FOREIGN_BAR ForeignEnum = 1
	ForeignEnum_FOREIGN_BAZ ForeignEnum = 2
)

func (ForeignEnum) Descriptor

func (ForeignEnum) Enum

func (x ForeignEnum) Enum() *ForeignEnum

func (ForeignEnum) EnumDescriptor deprecated

func (ForeignEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use ForeignEnum.Descriptor instead.

func (ForeignEnum) Number

func (x ForeignEnum) Number() protoreflect.EnumNumber

func (ForeignEnum) String

func (x ForeignEnum) String() string

func (ForeignEnum) Type

type ForeignEnumProto2

type ForeignEnumProto2 int32
const (
	ForeignEnumProto2_FOREIGN_FOO ForeignEnumProto2 = 0
	ForeignEnumProto2_FOREIGN_BAR ForeignEnumProto2 = 1
	ForeignEnumProto2_FOREIGN_BAZ ForeignEnumProto2 = 2
)

func (ForeignEnumProto2) Descriptor

func (ForeignEnumProto2) Enum

func (ForeignEnumProto2) EnumDescriptor deprecated

func (ForeignEnumProto2) EnumDescriptor() ([]byte, []int)

Deprecated: Use ForeignEnumProto2.Descriptor instead.

func (ForeignEnumProto2) Number

func (ForeignEnumProto2) String

func (x ForeignEnumProto2) String() string

func (ForeignEnumProto2) Type

func (*ForeignEnumProto2) UnmarshalJSON deprecated

func (x *ForeignEnumProto2) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ForeignMessage

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

func (*ForeignMessage) Descriptor deprecated

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

Deprecated: Use ForeignMessage.ProtoReflect.Descriptor instead.

func (*ForeignMessage) GetC

func (x *ForeignMessage) GetC() int32

func (*ForeignMessage) ProtoMessage

func (*ForeignMessage) ProtoMessage()

func (*ForeignMessage) ProtoReflect

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

func (*ForeignMessage) Reset

func (x *ForeignMessage) Reset()

func (*ForeignMessage) String

func (x *ForeignMessage) String() string

type ForeignMessageProto2

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

func (*ForeignMessageProto2) Descriptor deprecated

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

Deprecated: Use ForeignMessageProto2.ProtoReflect.Descriptor instead.

func (*ForeignMessageProto2) GetC

func (x *ForeignMessageProto2) GetC() int32

func (*ForeignMessageProto2) ProtoMessage

func (*ForeignMessageProto2) ProtoMessage()

func (*ForeignMessageProto2) ProtoReflect

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

func (*ForeignMessageProto2) Reset

func (x *ForeignMessageProto2) Reset()

func (*ForeignMessageProto2) String

func (x *ForeignMessageProto2) String() string

type GroupField added in v1.34.1

type GroupField struct {
	GroupInt32  *int32  `protobuf:"varint,122,opt,name=group_int32,json=groupInt32" json:"group_int32,omitempty"`
	GroupUint32 *uint32 `protobuf:"varint,123,opt,name=group_uint32,json=groupUint32" json:"group_uint32,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupField) Descriptor deprecated added in v1.34.1

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

Deprecated: Use GroupField.ProtoReflect.Descriptor instead.

func (*GroupField) GetGroupInt32 added in v1.34.1

func (x *GroupField) GetGroupInt32() int32

func (*GroupField) GetGroupUint32 added in v1.34.1

func (x *GroupField) GetGroupUint32() uint32

func (*GroupField) ProtoMessage added in v1.34.1

func (*GroupField) ProtoMessage()

func (*GroupField) ProtoReflect added in v1.34.1

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

func (*GroupField) Reset added in v1.34.1

func (x *GroupField) Reset()

func (*GroupField) String added in v1.34.1

func (x *GroupField) String() string

type JspbEncodingConfig

type JspbEncodingConfig struct {

	// Encode the value field of Any as jspb array if true, otherwise binary.
	UseJspbArrayAnyFormat bool `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Encoding options for jspb format.

func (*JspbEncodingConfig) Descriptor deprecated

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

Deprecated: Use JspbEncodingConfig.ProtoReflect.Descriptor instead.

func (*JspbEncodingConfig) GetUseJspbArrayAnyFormat

func (x *JspbEncodingConfig) GetUseJspbArrayAnyFormat() bool

func (*JspbEncodingConfig) ProtoMessage

func (*JspbEncodingConfig) ProtoMessage()

func (*JspbEncodingConfig) ProtoReflect

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

func (*JspbEncodingConfig) Reset

func (x *JspbEncodingConfig) Reset()

func (*JspbEncodingConfig) String

func (x *JspbEncodingConfig) String() string

type NullHypothesisProto2 added in v1.29.0

type NullHypothesisProto2 struct {
	// contains filtered or unexported fields
}

func (*NullHypothesisProto2) Descriptor deprecated added in v1.29.0

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

Deprecated: Use NullHypothesisProto2.ProtoReflect.Descriptor instead.

func (*NullHypothesisProto2) ProtoMessage added in v1.29.0

func (*NullHypothesisProto2) ProtoMessage()

func (*NullHypothesisProto2) ProtoReflect added in v1.29.0

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

func (*NullHypothesisProto2) Reset added in v1.29.0

func (x *NullHypothesisProto2) Reset()

func (*NullHypothesisProto2) String added in v1.29.0

func (x *NullHypothesisProto2) String() string

type NullHypothesisProto3 added in v1.29.0

type NullHypothesisProto3 struct {
	// contains filtered or unexported fields
}

func (*NullHypothesisProto3) Descriptor deprecated added in v1.29.0

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

Deprecated: Use NullHypothesisProto3.ProtoReflect.Descriptor instead.

func (*NullHypothesisProto3) ProtoMessage added in v1.29.0

func (*NullHypothesisProto3) ProtoMessage()

func (*NullHypothesisProto3) ProtoReflect added in v1.29.0

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

func (*NullHypothesisProto3) Reset added in v1.29.0

func (x *NullHypothesisProto3) Reset()

func (*NullHypothesisProto3) String added in v1.29.0

func (x *NullHypothesisProto3) String() string

type OneStringProto2 added in v1.29.0

type OneStringProto2 struct {
	Data *string `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*OneStringProto2) Descriptor deprecated added in v1.29.0

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

Deprecated: Use OneStringProto2.ProtoReflect.Descriptor instead.

func (*OneStringProto2) GetData added in v1.29.0

func (x *OneStringProto2) GetData() string

func (*OneStringProto2) ProtoMessage added in v1.29.0

func (*OneStringProto2) ProtoMessage()

func (*OneStringProto2) ProtoReflect added in v1.29.0

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

func (*OneStringProto2) Reset added in v1.29.0

func (x *OneStringProto2) Reset()

func (*OneStringProto2) String added in v1.29.0

func (x *OneStringProto2) String() string

type ProtoWithKeywords added in v1.29.0

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 deprecated added in v1.29.0

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

Deprecated: Use ProtoWithKeywords.ProtoReflect.Descriptor instead.

func (*ProtoWithKeywords) GetConcept added in v1.29.0

func (x *ProtoWithKeywords) GetConcept() string

func (*ProtoWithKeywords) GetInline added in v1.29.0

func (x *ProtoWithKeywords) GetInline() int32

func (*ProtoWithKeywords) GetRequires added in v1.29.0

func (x *ProtoWithKeywords) GetRequires() []string

func (*ProtoWithKeywords) ProtoMessage added in v1.29.0

func (*ProtoWithKeywords) ProtoMessage()

func (*ProtoWithKeywords) ProtoReflect added in v1.29.0

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

func (*ProtoWithKeywords) Reset added in v1.29.0

func (x *ProtoWithKeywords) Reset()

func (*ProtoWithKeywords) String added in v1.29.0

func (x *ProtoWithKeywords) String() string

type TestAllRequiredTypesProto2 added in v1.31.0

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    `` /* 185-byte string literal not displayed */
	RequiredForeignEnum      *ForeignEnumProto2                        `` /* 168-byte string literal not displayed */
	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               `` /* 129-byte string literal not displayed */
	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   `` /* 128-byte string literal not displayed */
	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 deprecated added in v1.31.0

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

Deprecated: Use TestAllRequiredTypesProto2.ProtoReflect.Descriptor instead.

func (*TestAllRequiredTypesProto2) GetData added in v1.31.0

func (*TestAllRequiredTypesProto2) GetDefaultBool added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetDefaultBool() bool

func (*TestAllRequiredTypesProto2) GetDefaultBytes added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetDefaultBytes() []byte

func (*TestAllRequiredTypesProto2) GetDefaultDouble added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetDefaultDouble() float64

func (*TestAllRequiredTypesProto2) GetDefaultFixed32 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetDefaultFixed32() uint32

func (*TestAllRequiredTypesProto2) GetDefaultFixed64 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetDefaultFixed64() uint64

func (*TestAllRequiredTypesProto2) GetDefaultFloat added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetDefaultFloat() float32

func (*TestAllRequiredTypesProto2) GetDefaultInt32 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetDefaultInt32() int32

func (*TestAllRequiredTypesProto2) GetDefaultInt64 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetDefaultInt64() int64

func (*TestAllRequiredTypesProto2) GetDefaultSfixed32 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetDefaultSfixed32() int32

func (*TestAllRequiredTypesProto2) GetDefaultSfixed64 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetDefaultSfixed64() int64

func (*TestAllRequiredTypesProto2) GetDefaultSint32 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetDefaultSint32() int32

func (*TestAllRequiredTypesProto2) GetDefaultSint64 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetDefaultSint64() int64

func (*TestAllRequiredTypesProto2) GetDefaultString added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetDefaultString() string

func (*TestAllRequiredTypesProto2) GetDefaultUint32 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetDefaultUint32() uint32

func (*TestAllRequiredTypesProto2) GetDefaultUint64 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetDefaultUint64() uint64

func (*TestAllRequiredTypesProto2) GetOptionalRecursiveMessage added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetOptionalRecursiveMessage() *TestAllRequiredTypesProto2

func (*TestAllRequiredTypesProto2) GetRecursiveMessage added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRecursiveMessage() *TestAllRequiredTypesProto2

func (*TestAllRequiredTypesProto2) GetRequiredBool added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredBool() bool

func (*TestAllRequiredTypesProto2) GetRequiredBytes added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredBytes() []byte

func (*TestAllRequiredTypesProto2) GetRequiredCord added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredCord() string

func (*TestAllRequiredTypesProto2) GetRequiredDouble added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredDouble() float64

func (*TestAllRequiredTypesProto2) GetRequiredFixed32 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredFixed32() uint32

func (*TestAllRequiredTypesProto2) GetRequiredFixed64 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredFixed64() uint64

func (*TestAllRequiredTypesProto2) GetRequiredFloat added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredFloat() float32

func (*TestAllRequiredTypesProto2) GetRequiredForeignEnum added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredForeignEnum() ForeignEnumProto2

func (*TestAllRequiredTypesProto2) GetRequiredForeignMessage added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredForeignMessage() *ForeignMessageProto2

func (*TestAllRequiredTypesProto2) GetRequiredInt32 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredInt32() int32

func (*TestAllRequiredTypesProto2) GetRequiredInt64 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredInt64() int64

func (*TestAllRequiredTypesProto2) GetRequiredNestedEnum added in v1.31.0

func (*TestAllRequiredTypesProto2) GetRequiredNestedMessage added in v1.31.0

func (*TestAllRequiredTypesProto2) GetRequiredSfixed32 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredSfixed32() int32

func (*TestAllRequiredTypesProto2) GetRequiredSfixed64 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredSfixed64() int64

func (*TestAllRequiredTypesProto2) GetRequiredSint32 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredSint32() int32

func (*TestAllRequiredTypesProto2) GetRequiredSint64 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredSint64() int64

func (*TestAllRequiredTypesProto2) GetRequiredString added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredString() string

func (*TestAllRequiredTypesProto2) GetRequiredStringPiece added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredStringPiece() string

func (*TestAllRequiredTypesProto2) GetRequiredUint32 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredUint32() uint32

func (*TestAllRequiredTypesProto2) GetRequiredUint64 added in v1.31.0

func (x *TestAllRequiredTypesProto2) GetRequiredUint64() uint64

func (*TestAllRequiredTypesProto2) ProtoMessage added in v1.31.0

func (*TestAllRequiredTypesProto2) ProtoMessage()

func (*TestAllRequiredTypesProto2) ProtoReflect added in v1.31.0

func (*TestAllRequiredTypesProto2) Reset added in v1.31.0

func (x *TestAllRequiredTypesProto2) Reset()

func (*TestAllRequiredTypesProto2) String added in v1.31.0

func (x *TestAllRequiredTypesProto2) String() string

type TestAllRequiredTypesProto2_Data added in v1.31.0

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
}

groups

func (*TestAllRequiredTypesProto2_Data) Descriptor deprecated added in v1.31.0

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

Deprecated: Use TestAllRequiredTypesProto2_Data.ProtoReflect.Descriptor instead.

func (*TestAllRequiredTypesProto2_Data) GetGroupInt32 added in v1.31.0

func (x *TestAllRequiredTypesProto2_Data) GetGroupInt32() int32

func (*TestAllRequiredTypesProto2_Data) GetGroupUint32 added in v1.31.0

func (x *TestAllRequiredTypesProto2_Data) GetGroupUint32() uint32

func (*TestAllRequiredTypesProto2_Data) ProtoMessage added in v1.31.0

func (*TestAllRequiredTypesProto2_Data) ProtoMessage()

func (*TestAllRequiredTypesProto2_Data) ProtoReflect added in v1.31.0

func (*TestAllRequiredTypesProto2_Data) Reset added in v1.31.0

func (*TestAllRequiredTypesProto2_Data) String added in v1.31.0

type TestAllRequiredTypesProto2_MessageSetCorrect added in v1.31.0

type TestAllRequiredTypesProto2_MessageSetCorrect struct {
	// contains filtered or unexported fields
}

message_set test case.

func (*TestAllRequiredTypesProto2_MessageSetCorrect) Descriptor deprecated added in v1.31.0

Deprecated: Use TestAllRequiredTypesProto2_MessageSetCorrect.ProtoReflect.Descriptor instead.

func (*TestAllRequiredTypesProto2_MessageSetCorrect) ProtoMessage added in v1.31.0

func (*TestAllRequiredTypesProto2_MessageSetCorrect) ProtoReflect added in v1.31.0

func (*TestAllRequiredTypesProto2_MessageSetCorrect) Reset added in v1.31.0

func (*TestAllRequiredTypesProto2_MessageSetCorrect) String added in v1.31.0

type TestAllRequiredTypesProto2_MessageSetCorrectExtension1 added in v1.31.0

type TestAllRequiredTypesProto2_MessageSetCorrectExtension1 struct {
	Str *string `protobuf:"bytes,25,req,name=str" json:"str,omitempty"`
	// contains filtered or unexported fields
}

func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Descriptor deprecated added in v1.31.0

Deprecated: Use TestAllRequiredTypesProto2_MessageSetCorrectExtension1.ProtoReflect.Descriptor instead.

func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) GetStr added in v1.31.0

func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoMessage added in v1.31.0

func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoReflect added in v1.31.0

func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Reset added in v1.31.0

func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) String added in v1.31.0

type TestAllRequiredTypesProto2_MessageSetCorrectExtension2 added in v1.31.0

type TestAllRequiredTypesProto2_MessageSetCorrectExtension2 struct {
	I *int32 `protobuf:"varint,9,req,name=i" json:"i,omitempty"`
	// contains filtered or unexported fields
}

func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Descriptor deprecated added in v1.31.0

Deprecated: Use TestAllRequiredTypesProto2_MessageSetCorrectExtension2.ProtoReflect.Descriptor instead.

func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) GetI added in v1.31.0

func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoMessage added in v1.31.0

func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoReflect added in v1.31.0

func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Reset added in v1.31.0

func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) String added in v1.31.0

type TestAllRequiredTypesProto2_NestedEnum added in v1.31.0

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 added in v1.31.0

func (TestAllRequiredTypesProto2_NestedEnum) Enum added in v1.31.0

func (TestAllRequiredTypesProto2_NestedEnum) EnumDescriptor deprecated added in v1.31.0

func (TestAllRequiredTypesProto2_NestedEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestAllRequiredTypesProto2_NestedEnum.Descriptor instead.

func (TestAllRequiredTypesProto2_NestedEnum) Number added in v1.31.0

func (TestAllRequiredTypesProto2_NestedEnum) String added in v1.31.0

func (TestAllRequiredTypesProto2_NestedEnum) Type added in v1.31.0

func (*TestAllRequiredTypesProto2_NestedEnum) UnmarshalJSON deprecated added in v1.31.0

func (x *TestAllRequiredTypesProto2_NestedEnum) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TestAllRequiredTypesProto2_NestedMessage added in v1.31.0

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 deprecated added in v1.31.0

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

Deprecated: Use TestAllRequiredTypesProto2_NestedMessage.ProtoReflect.Descriptor instead.

func (*TestAllRequiredTypesProto2_NestedMessage) GetA added in v1.31.0

func (*TestAllRequiredTypesProto2_NestedMessage) GetCorecursive added in v1.31.0

func (*TestAllRequiredTypesProto2_NestedMessage) GetOptionalCorecursive added in v1.31.0

func (*TestAllRequiredTypesProto2_NestedMessage) ProtoMessage added in v1.31.0

func (*TestAllRequiredTypesProto2_NestedMessage) ProtoReflect added in v1.31.0

func (*TestAllRequiredTypesProto2_NestedMessage) Reset added in v1.31.0

func (*TestAllRequiredTypesProto2_NestedMessage) String added in v1.31.0

type TestAllTypesProto2

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    `` /* 177-byte string literal not displayed */
	OptionalForeignEnum    *ForeignEnumProto2                `` /* 168-byte string literal not displayed */
	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     `` /* 177-byte string literal not displayed */
	RepeatedForeignEnum    []ForeignEnumProto2                 `` /* 168-byte string literal not displayed */
	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 `` /* 178-byte string literal not displayed */
	// 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 `` /* 178-byte string literal not displayed */
	// Map
	MapInt32Int32           map[int32]int32                              `` /* 172-byte string literal not displayed */
	MapInt64Int64           map[int64]int64                              `` /* 172-byte string literal not displayed */
	MapUint32Uint32         map[uint32]uint32                            `` /* 178-byte string literal not displayed */
	MapUint64Uint64         map[uint64]uint64                            `` /* 178-byte string literal not displayed */
	MapSint32Sint32         map[int32]int32                              `` /* 182-byte string literal not displayed */
	MapSint64Sint64         map[int64]int64                              `` /* 182-byte string literal not displayed */
	MapFixed32Fixed32       map[uint32]uint32                            `` /* 186-byte string literal not displayed */
	MapFixed64Fixed64       map[uint64]uint64                            `` /* 186-byte string literal not displayed */
	MapSfixed32Sfixed32     map[int32]int32                              `` /* 192-byte string literal not displayed */
	MapSfixed64Sfixed64     map[int64]int64                              `` /* 192-byte string literal not displayed */
	MapInt32Float           map[int32]float32                            `` /* 173-byte string literal not displayed */
	MapInt32Double          map[int32]float64                            `` /* 176-byte string literal not displayed */
	MapBoolBool             map[bool]bool                                `` /* 166-byte string literal not displayed */
	MapStringString         map[string]string                            `` /* 176-byte string literal not displayed */
	MapStringBytes          map[string][]byte                            `` /* 173-byte string literal not displayed */
	MapStringNestedMessage  map[string]*TestAllTypesProto2_NestedMessage `` /* 199-byte string literal not displayed */
	MapStringForeignMessage map[string]*ForeignMessageProto2             `` /* 202-byte string literal not displayed */
	MapStringNestedEnum     map[string]TestAllTypesProto2_NestedEnum     `` /* 256-byte string literal not displayed */
	MapStringForeignEnum    map[string]ForeignEnumProto2                 `` /* 247-byte string literal not displayed */
	// 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"`
	Multiwordgroupfield *TestAllTypesProto2_MultiWordGroupField `protobuf:"group,204,opt,name=MultiWordGroupField,json=multiwordgroupfield" json:"multiwordgroupfield,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   `` /* 128-byte string literal not displayed */
	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
}

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.

func (*TestAllTypesProto2) Descriptor deprecated

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

Deprecated: Use TestAllTypesProto2.ProtoReflect.Descriptor instead.

func (*TestAllTypesProto2) GetData

func (*TestAllTypesProto2) GetDefaultBool added in v1.29.0

func (x *TestAllTypesProto2) GetDefaultBool() bool

func (*TestAllTypesProto2) GetDefaultBytes added in v1.29.0

func (x *TestAllTypesProto2) GetDefaultBytes() []byte

func (*TestAllTypesProto2) GetDefaultDouble added in v1.29.0

func (x *TestAllTypesProto2) GetDefaultDouble() float64

func (*TestAllTypesProto2) GetDefaultFixed32 added in v1.29.0

func (x *TestAllTypesProto2) GetDefaultFixed32() uint32

func (*TestAllTypesProto2) GetDefaultFixed64 added in v1.29.0

func (x *TestAllTypesProto2) GetDefaultFixed64() uint64

func (*TestAllTypesProto2) GetDefaultFloat added in v1.29.0

func (x *TestAllTypesProto2) GetDefaultFloat() float32

func (*TestAllTypesProto2) GetDefaultInt32 added in v1.29.0

func (x *TestAllTypesProto2) GetDefaultInt32() int32

func (*TestAllTypesProto2) GetDefaultInt64 added in v1.29.0

func (x *TestAllTypesProto2) GetDefaultInt64() int64

func (*TestAllTypesProto2) GetDefaultSfixed32 added in v1.29.0

func (x *TestAllTypesProto2) GetDefaultSfixed32() int32

func (*TestAllTypesProto2) GetDefaultSfixed64 added in v1.29.0

func (x *TestAllTypesProto2) GetDefaultSfixed64() int64

func (*TestAllTypesProto2) GetDefaultSint32 added in v1.29.0

func (x *TestAllTypesProto2) GetDefaultSint32() int32

func (*TestAllTypesProto2) GetDefaultSint64 added in v1.29.0

func (x *TestAllTypesProto2) GetDefaultSint64() int64

func (*TestAllTypesProto2) GetDefaultString added in v1.29.0

func (x *TestAllTypesProto2) GetDefaultString() string

func (*TestAllTypesProto2) GetDefaultUint32 added in v1.29.0

func (x *TestAllTypesProto2) GetDefaultUint32() uint32

func (*TestAllTypesProto2) GetDefaultUint64 added in v1.29.0

func (x *TestAllTypesProto2) GetDefaultUint64() uint64

func (*TestAllTypesProto2) GetFIELDName12

func (x *TestAllTypesProto2) GetFIELDName12() int32

func (*TestAllTypesProto2) GetFIELD_NAME11

func (x *TestAllTypesProto2) GetFIELD_NAME11() int32

func (*TestAllTypesProto2) GetField0Name5

func (x *TestAllTypesProto2) GetField0Name5() int32

func (*TestAllTypesProto2) GetFieldName17__

func (x *TestAllTypesProto2) GetFieldName17__() int32

func (*TestAllTypesProto2) GetFieldName18__

func (x *TestAllTypesProto2) GetFieldName18__() int32

func (*TestAllTypesProto2) GetFieldName2

func (x *TestAllTypesProto2) GetFieldName2() int32

func (*TestAllTypesProto2) GetFieldName7

func (x *TestAllTypesProto2) GetFieldName7() int32

func (*TestAllTypesProto2) GetFieldName8

func (x *TestAllTypesProto2) GetFieldName8() int32

func (*TestAllTypesProto2) GetField_0Name6

func (x *TestAllTypesProto2) GetField_0Name6() int32

func (*TestAllTypesProto2) GetField_Name10

func (x *TestAllTypesProto2) GetField_Name10() int32

func (*TestAllTypesProto2) GetField_Name15

func (x *TestAllTypesProto2) GetField_Name15() int32

func (*TestAllTypesProto2) GetField_Name4_

func (x *TestAllTypesProto2) GetField_Name4_() int32

func (*TestAllTypesProto2) GetField_Name9

func (x *TestAllTypesProto2) GetField_Name9() int32

func (*TestAllTypesProto2) GetField__Name16

func (x *TestAllTypesProto2) GetField__Name16() int32

func (*TestAllTypesProto2) GetFieldname1

func (x *TestAllTypesProto2) GetFieldname1() int32

func (*TestAllTypesProto2) GetMapBoolBool

func (x *TestAllTypesProto2) GetMapBoolBool() map[bool]bool

func (*TestAllTypesProto2) GetMapFixed32Fixed32

func (x *TestAllTypesProto2) GetMapFixed32Fixed32() map[uint32]uint32

func (*TestAllTypesProto2) GetMapFixed64Fixed64

func (x *TestAllTypesProto2) GetMapFixed64Fixed64() map[uint64]uint64

func (*TestAllTypesProto2) GetMapInt32Double

func (x *TestAllTypesProto2) GetMapInt32Double() map[int32]float64

func (*TestAllTypesProto2) GetMapInt32Float

func (x *TestAllTypesProto2) GetMapInt32Float() map[int32]float32

func (*TestAllTypesProto2) GetMapInt32Int32

func (x *TestAllTypesProto2) GetMapInt32Int32() map[int32]int32

func (*TestAllTypesProto2) GetMapInt64Int64

func (x *TestAllTypesProto2) GetMapInt64Int64() map[int64]int64

func (*TestAllTypesProto2) GetMapSfixed32Sfixed32

func (x *TestAllTypesProto2) GetMapSfixed32Sfixed32() map[int32]int32

func (*TestAllTypesProto2) GetMapSfixed64Sfixed64

func (x *TestAllTypesProto2) GetMapSfixed64Sfixed64() map[int64]int64

func (*TestAllTypesProto2) GetMapSint32Sint32

func (x *TestAllTypesProto2) GetMapSint32Sint32() map[int32]int32

func (*TestAllTypesProto2) GetMapSint64Sint64

func (x *TestAllTypesProto2) GetMapSint64Sint64() map[int64]int64

func (*TestAllTypesProto2) GetMapStringBytes

func (x *TestAllTypesProto2) GetMapStringBytes() map[string][]byte

func (*TestAllTypesProto2) GetMapStringForeignEnum

func (x *TestAllTypesProto2) GetMapStringForeignEnum() map[string]ForeignEnumProto2

func (*TestAllTypesProto2) GetMapStringForeignMessage

func (x *TestAllTypesProto2) GetMapStringForeignMessage() map[string]*ForeignMessageProto2

func (*TestAllTypesProto2) GetMapStringNestedEnum

func (x *TestAllTypesProto2) GetMapStringNestedEnum() map[string]TestAllTypesProto2_NestedEnum

func (*TestAllTypesProto2) GetMapStringNestedMessage

func (x *TestAllTypesProto2) GetMapStringNestedMessage() map[string]*TestAllTypesProto2_NestedMessage

func (*TestAllTypesProto2) GetMapStringString

func (x *TestAllTypesProto2) GetMapStringString() map[string]string

func (*TestAllTypesProto2) GetMapUint32Uint32

func (x *TestAllTypesProto2) GetMapUint32Uint32() map[uint32]uint32

func (*TestAllTypesProto2) GetMapUint64Uint64

func (x *TestAllTypesProto2) GetMapUint64Uint64() map[uint64]uint64

func (*TestAllTypesProto2) GetMultiwordgroupfield added in v1.34.1

func (x *TestAllTypesProto2) GetMultiwordgroupfield() *TestAllTypesProto2_MultiWordGroupField

func (*TestAllTypesProto2) GetOneofBool

func (x *TestAllTypesProto2) GetOneofBool() bool

func (*TestAllTypesProto2) GetOneofBytes

func (x *TestAllTypesProto2) GetOneofBytes() []byte

func (*TestAllTypesProto2) GetOneofDouble

func (x *TestAllTypesProto2) GetOneofDouble() float64

func (*TestAllTypesProto2) GetOneofEnum

func (*TestAllTypesProto2) GetOneofField

func (m *TestAllTypesProto2) GetOneofField() isTestAllTypesProto2_OneofField

func (*TestAllTypesProto2) GetOneofFloat

func (x *TestAllTypesProto2) GetOneofFloat() float32

func (*TestAllTypesProto2) GetOneofNestedMessage

func (x *TestAllTypesProto2) GetOneofNestedMessage() *TestAllTypesProto2_NestedMessage

func (*TestAllTypesProto2) GetOneofString

func (x *TestAllTypesProto2) GetOneofString() string

func (*TestAllTypesProto2) GetOneofUint32

func (x *TestAllTypesProto2) GetOneofUint32() uint32

func (*TestAllTypesProto2) GetOneofUint64

func (x *TestAllTypesProto2) GetOneofUint64() uint64

func (*TestAllTypesProto2) GetOptionalBool

func (x *TestAllTypesProto2) GetOptionalBool() bool

func (*TestAllTypesProto2) GetOptionalBytes

func (x *TestAllTypesProto2) GetOptionalBytes() []byte

func (*TestAllTypesProto2) GetOptionalCord

func (x *TestAllTypesProto2) GetOptionalCord() string

func (*TestAllTypesProto2) GetOptionalDouble

func (x *TestAllTypesProto2) GetOptionalDouble() float64

func (*TestAllTypesProto2) GetOptionalFixed32

func (x *TestAllTypesProto2) GetOptionalFixed32() uint32

func (*TestAllTypesProto2) GetOptionalFixed64

func (x *TestAllTypesProto2) GetOptionalFixed64() uint64

func (*TestAllTypesProto2) GetOptionalFloat

func (x *TestAllTypesProto2) GetOptionalFloat() float32

func (*TestAllTypesProto2) GetOptionalForeignEnum

func (x *TestAllTypesProto2) GetOptionalForeignEnum() ForeignEnumProto2

func (*TestAllTypesProto2) GetOptionalForeignMessage

func (x *TestAllTypesProto2) GetOptionalForeignMessage() *ForeignMessageProto2

func (*TestAllTypesProto2) GetOptionalInt32

func (x *TestAllTypesProto2) GetOptionalInt32() int32

func (*TestAllTypesProto2) GetOptionalInt64

func (x *TestAllTypesProto2) GetOptionalInt64() int64

func (*TestAllTypesProto2) GetOptionalNestedEnum

func (x *TestAllTypesProto2) GetOptionalNestedEnum() TestAllTypesProto2_NestedEnum

func (*TestAllTypesProto2) GetOptionalNestedMessage

func (x *TestAllTypesProto2) GetOptionalNestedMessage() *TestAllTypesProto2_NestedMessage

func (*TestAllTypesProto2) GetOptionalSfixed32

func (x *TestAllTypesProto2) GetOptionalSfixed32() int32

func (*TestAllTypesProto2) GetOptionalSfixed64

func (x *TestAllTypesProto2) GetOptionalSfixed64() int64

func (*TestAllTypesProto2) GetOptionalSint32

func (x *TestAllTypesProto2) GetOptionalSint32() int32

func (*TestAllTypesProto2) GetOptionalSint64

func (x *TestAllTypesProto2) GetOptionalSint64() int64

func (*TestAllTypesProto2) GetOptionalString

func (x *TestAllTypesProto2) GetOptionalString() string

func (*TestAllTypesProto2) GetOptionalStringPiece

func (x *TestAllTypesProto2) GetOptionalStringPiece() string

func (*TestAllTypesProto2) GetOptionalUint32

func (x *TestAllTypesProto2) GetOptionalUint32() uint32

func (*TestAllTypesProto2) GetOptionalUint64

func (x *TestAllTypesProto2) GetOptionalUint64() uint64

func (*TestAllTypesProto2) GetPackedBool added in v1.21.0

func (x *TestAllTypesProto2) GetPackedBool() []bool

func (*TestAllTypesProto2) GetPackedDouble added in v1.21.0

func (x *TestAllTypesProto2) GetPackedDouble() []float64

func (*TestAllTypesProto2) GetPackedFixed32 added in v1.21.0

func (x *TestAllTypesProto2) GetPackedFixed32() []uint32

func (*TestAllTypesProto2) GetPackedFixed64 added in v1.21.0

func (x *TestAllTypesProto2) GetPackedFixed64() []uint64

func (*TestAllTypesProto2) GetPackedFloat added in v1.21.0

func (x *TestAllTypesProto2) GetPackedFloat() []float32

func (*TestAllTypesProto2) GetPackedInt32 added in v1.21.0

func (x *TestAllTypesProto2) GetPackedInt32() []int32

func (*TestAllTypesProto2) GetPackedInt64 added in v1.21.0

func (x *TestAllTypesProto2) GetPackedInt64() []int64

func (*TestAllTypesProto2) GetPackedNestedEnum added in v1.21.0

func (x *TestAllTypesProto2) GetPackedNestedEnum() []TestAllTypesProto2_NestedEnum

func (*TestAllTypesProto2) GetPackedSfixed32 added in v1.21.0

func (x *TestAllTypesProto2) GetPackedSfixed32() []int32

func (*TestAllTypesProto2) GetPackedSfixed64 added in v1.21.0

func (x *TestAllTypesProto2) GetPackedSfixed64() []int64

func (*TestAllTypesProto2) GetPackedSint32 added in v1.21.0

func (x *TestAllTypesProto2) GetPackedSint32() []int32

func (*TestAllTypesProto2) GetPackedSint64 added in v1.21.0

func (x *TestAllTypesProto2) GetPackedSint64() []int64

func (*TestAllTypesProto2) GetPackedUint32 added in v1.21.0

func (x *TestAllTypesProto2) GetPackedUint32() []uint32

func (*TestAllTypesProto2) GetPackedUint64 added in v1.21.0

func (x *TestAllTypesProto2) GetPackedUint64() []uint64

func (*TestAllTypesProto2) GetRecursiveMessage

func (x *TestAllTypesProto2) GetRecursiveMessage() *TestAllTypesProto2

func (*TestAllTypesProto2) GetRepeatedBool

func (x *TestAllTypesProto2) GetRepeatedBool() []bool

func (*TestAllTypesProto2) GetRepeatedBytes

func (x *TestAllTypesProto2) GetRepeatedBytes() [][]byte

func (*TestAllTypesProto2) GetRepeatedCord

func (x *TestAllTypesProto2) GetRepeatedCord() []string

func (*TestAllTypesProto2) GetRepeatedDouble

func (x *TestAllTypesProto2) GetRepeatedDouble() []float64

func (*TestAllTypesProto2) GetRepeatedFixed32

func (x *TestAllTypesProto2) GetRepeatedFixed32() []uint32

func (*TestAllTypesProto2) GetRepeatedFixed64

func (x *TestAllTypesProto2) GetRepeatedFixed64() []uint64

func (*TestAllTypesProto2) GetRepeatedFloat

func (x *TestAllTypesProto2) GetRepeatedFloat() []float32

func (*TestAllTypesProto2) GetRepeatedForeignEnum

func (x *TestAllTypesProto2) GetRepeatedForeignEnum() []ForeignEnumProto2

func (*TestAllTypesProto2) GetRepeatedForeignMessage

func (x *TestAllTypesProto2) GetRepeatedForeignMessage() []*ForeignMessageProto2

func (*TestAllTypesProto2) GetRepeatedInt32

func (x *TestAllTypesProto2) GetRepeatedInt32() []int32

func (*TestAllTypesProto2) GetRepeatedInt64

func (x *TestAllTypesProto2) GetRepeatedInt64() []int64

func (*TestAllTypesProto2) GetRepeatedNestedEnum

func (x *TestAllTypesProto2) GetRepeatedNestedEnum() []TestAllTypesProto2_NestedEnum

func (*TestAllTypesProto2) GetRepeatedNestedMessage

func (x *TestAllTypesProto2) GetRepeatedNestedMessage() []*TestAllTypesProto2_NestedMessage

func (*TestAllTypesProto2) GetRepeatedSfixed32

func (x *TestAllTypesProto2) GetRepeatedSfixed32() []int32

func (*TestAllTypesProto2) GetRepeatedSfixed64

func (x *TestAllTypesProto2) GetRepeatedSfixed64() []int64

func (*TestAllTypesProto2) GetRepeatedSint32

func (x *TestAllTypesProto2) GetRepeatedSint32() []int32

func (*TestAllTypesProto2) GetRepeatedSint64

func (x *TestAllTypesProto2) GetRepeatedSint64() []int64

func (*TestAllTypesProto2) GetRepeatedString

func (x *TestAllTypesProto2) GetRepeatedString() []string

func (*TestAllTypesProto2) GetRepeatedStringPiece

func (x *TestAllTypesProto2) GetRepeatedStringPiece() []string

func (*TestAllTypesProto2) GetRepeatedUint32

func (x *TestAllTypesProto2) GetRepeatedUint32() []uint32

func (*TestAllTypesProto2) GetRepeatedUint64

func (x *TestAllTypesProto2) GetRepeatedUint64() []uint64

func (*TestAllTypesProto2) GetUnpackedBool added in v1.21.0

func (x *TestAllTypesProto2) GetUnpackedBool() []bool

func (*TestAllTypesProto2) GetUnpackedDouble added in v1.21.0

func (x *TestAllTypesProto2) GetUnpackedDouble() []float64

func (*TestAllTypesProto2) GetUnpackedFixed32 added in v1.21.0

func (x *TestAllTypesProto2) GetUnpackedFixed32() []uint32

func (*TestAllTypesProto2) GetUnpackedFixed64 added in v1.21.0

func (x *TestAllTypesProto2) GetUnpackedFixed64() []uint64

func (*TestAllTypesProto2) GetUnpackedFloat added in v1.21.0

func (x *TestAllTypesProto2) GetUnpackedFloat() []float32

func (*TestAllTypesProto2) GetUnpackedInt32 added in v1.21.0

func (x *TestAllTypesProto2) GetUnpackedInt32() []int32

func (*TestAllTypesProto2) GetUnpackedInt64 added in v1.21.0

func (x *TestAllTypesProto2) GetUnpackedInt64() []int64

func (*TestAllTypesProto2) GetUnpackedNestedEnum added in v1.21.0

func (x *TestAllTypesProto2) GetUnpackedNestedEnum() []TestAllTypesProto2_NestedEnum

func (*TestAllTypesProto2) GetUnpackedSfixed32 added in v1.21.0

func (x *TestAllTypesProto2) GetUnpackedSfixed32() []int32

func (*TestAllTypesProto2) GetUnpackedSfixed64 added in v1.21.0

func (x *TestAllTypesProto2) GetUnpackedSfixed64() []int64

func (*TestAllTypesProto2) GetUnpackedSint32 added in v1.21.0

func (x *TestAllTypesProto2) GetUnpackedSint32() []int32

func (*TestAllTypesProto2) GetUnpackedSint64 added in v1.21.0

func (x *TestAllTypesProto2) GetUnpackedSint64() []int64

func (*TestAllTypesProto2) GetUnpackedUint32 added in v1.21.0

func (x *TestAllTypesProto2) GetUnpackedUint32() []uint32

func (*TestAllTypesProto2) GetUnpackedUint64 added in v1.21.0

func (x *TestAllTypesProto2) GetUnpackedUint64() []uint64

func (*TestAllTypesProto2) GetXFieldName13

func (x *TestAllTypesProto2) GetXFieldName13() int32

func (*TestAllTypesProto2) GetXFieldName3

func (x *TestAllTypesProto2) GetXFieldName3() int32

func (*TestAllTypesProto2) GetX_FieldName14

func (x *TestAllTypesProto2) GetX_FieldName14() int32

func (*TestAllTypesProto2) ProtoMessage

func (*TestAllTypesProto2) ProtoMessage()

func (*TestAllTypesProto2) ProtoReflect

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

func (*TestAllTypesProto2) Reset

func (x *TestAllTypesProto2) Reset()

func (*TestAllTypesProto2) String

func (x *TestAllTypesProto2) String() string

type TestAllTypesProto2_Data

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
}

groups

func (*TestAllTypesProto2_Data) Descriptor deprecated

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

Deprecated: Use TestAllTypesProto2_Data.ProtoReflect.Descriptor instead.

func (*TestAllTypesProto2_Data) GetGroupInt32

func (x *TestAllTypesProto2_Data) GetGroupInt32() int32

func (*TestAllTypesProto2_Data) GetGroupUint32

func (x *TestAllTypesProto2_Data) GetGroupUint32() uint32

func (*TestAllTypesProto2_Data) ProtoMessage

func (*TestAllTypesProto2_Data) ProtoMessage()

func (*TestAllTypesProto2_Data) ProtoReflect

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

func (*TestAllTypesProto2_Data) Reset

func (x *TestAllTypesProto2_Data) Reset()

func (*TestAllTypesProto2_Data) String

func (x *TestAllTypesProto2_Data) String() string

type TestAllTypesProto2_MessageSetCorrect

type TestAllTypesProto2_MessageSetCorrect struct {
	// contains filtered or unexported fields
}

message_set test case.

func (*TestAllTypesProto2_MessageSetCorrect) Descriptor deprecated

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

Deprecated: Use TestAllTypesProto2_MessageSetCorrect.ProtoReflect.Descriptor instead.

func (*TestAllTypesProto2_MessageSetCorrect) ProtoMessage

func (*TestAllTypesProto2_MessageSetCorrect) ProtoMessage()

func (*TestAllTypesProto2_MessageSetCorrect) ProtoReflect

func (*TestAllTypesProto2_MessageSetCorrect) Reset

func (*TestAllTypesProto2_MessageSetCorrect) String

type TestAllTypesProto2_MessageSetCorrectExtension1

type TestAllTypesProto2_MessageSetCorrectExtension1 struct {
	Str *string `protobuf:"bytes,25,opt,name=str" json:"str,omitempty"`
	// contains filtered or unexported fields
}

func (*TestAllTypesProto2_MessageSetCorrectExtension1) Descriptor deprecated

Deprecated: Use TestAllTypesProto2_MessageSetCorrectExtension1.ProtoReflect.Descriptor instead.

func (*TestAllTypesProto2_MessageSetCorrectExtension1) GetStr

func (*TestAllTypesProto2_MessageSetCorrectExtension1) ProtoMessage

func (*TestAllTypesProto2_MessageSetCorrectExtension1) ProtoReflect

func (*TestAllTypesProto2_MessageSetCorrectExtension1) Reset

func (*TestAllTypesProto2_MessageSetCorrectExtension1) String

type TestAllTypesProto2_MessageSetCorrectExtension2

type TestAllTypesProto2_MessageSetCorrectExtension2 struct {
	I *int32 `protobuf:"varint,9,opt,name=i" json:"i,omitempty"`
	// contains filtered or unexported fields
}

func (*TestAllTypesProto2_MessageSetCorrectExtension2) Descriptor deprecated

Deprecated: Use TestAllTypesProto2_MessageSetCorrectExtension2.ProtoReflect.Descriptor instead.

func (*TestAllTypesProto2_MessageSetCorrectExtension2) GetI

func (*TestAllTypesProto2_MessageSetCorrectExtension2) ProtoMessage

func (*TestAllTypesProto2_MessageSetCorrectExtension2) ProtoReflect

func (*TestAllTypesProto2_MessageSetCorrectExtension2) Reset

func (*TestAllTypesProto2_MessageSetCorrectExtension2) String

type TestAllTypesProto2_MultiWordGroupField added in v1.34.1

type TestAllTypesProto2_MultiWordGroupField struct {
	GroupInt32  *int32  `protobuf:"varint,205,opt,name=group_int32,json=groupInt32" json:"group_int32,omitempty"`
	GroupUint32 *uint32 `protobuf:"varint,206,opt,name=group_uint32,json=groupUint32" json:"group_uint32,omitempty"`
	// contains filtered or unexported fields
}

func (*TestAllTypesProto2_MultiWordGroupField) Descriptor deprecated added in v1.34.1

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

Deprecated: Use TestAllTypesProto2_MultiWordGroupField.ProtoReflect.Descriptor instead.

func (*TestAllTypesProto2_MultiWordGroupField) GetGroupInt32 added in v1.34.1

func (x *TestAllTypesProto2_MultiWordGroupField) GetGroupInt32() int32

func (*TestAllTypesProto2_MultiWordGroupField) GetGroupUint32 added in v1.34.1

func (x *TestAllTypesProto2_MultiWordGroupField) GetGroupUint32() uint32

func (*TestAllTypesProto2_MultiWordGroupField) ProtoMessage added in v1.34.1

func (*TestAllTypesProto2_MultiWordGroupField) ProtoReflect added in v1.34.1

func (*TestAllTypesProto2_MultiWordGroupField) Reset added in v1.34.1

func (*TestAllTypesProto2_MultiWordGroupField) String added in v1.34.1

type TestAllTypesProto2_NestedEnum

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

func (TestAllTypesProto2_NestedEnum) Enum

func (TestAllTypesProto2_NestedEnum) EnumDescriptor deprecated

func (TestAllTypesProto2_NestedEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestAllTypesProto2_NestedEnum.Descriptor instead.

func (TestAllTypesProto2_NestedEnum) Number

func (TestAllTypesProto2_NestedEnum) String

func (TestAllTypesProto2_NestedEnum) Type

func (*TestAllTypesProto2_NestedEnum) UnmarshalJSON deprecated

func (x *TestAllTypesProto2_NestedEnum) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TestAllTypesProto2_NestedMessage

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 deprecated

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

Deprecated: Use TestAllTypesProto2_NestedMessage.ProtoReflect.Descriptor instead.

func (*TestAllTypesProto2_NestedMessage) GetA

func (*TestAllTypesProto2_NestedMessage) GetCorecursive

func (*TestAllTypesProto2_NestedMessage) ProtoMessage

func (*TestAllTypesProto2_NestedMessage) ProtoMessage()

func (*TestAllTypesProto2_NestedMessage) ProtoReflect

func (*TestAllTypesProto2_NestedMessage) Reset

func (*TestAllTypesProto2_NestedMessage) String

type TestAllTypesProto2_OneofBool

type TestAllTypesProto2_OneofBool struct {
	OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,oneof"`
}

type TestAllTypesProto2_OneofBytes

type TestAllTypesProto2_OneofBytes struct {
	OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,oneof"`
}

type TestAllTypesProto2_OneofDouble

type TestAllTypesProto2_OneofDouble struct {
	OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,oneof"`
}

type TestAllTypesProto2_OneofEnum

type TestAllTypesProto2_OneofEnum struct {
	OneofEnum TestAllTypesProto2_NestedEnum `` /* 127-byte string literal not displayed */
}

type TestAllTypesProto2_OneofFloat

type TestAllTypesProto2_OneofFloat struct {
	OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,oneof"`
}

type TestAllTypesProto2_OneofNestedMessage

type TestAllTypesProto2_OneofNestedMessage struct {
	OneofNestedMessage *TestAllTypesProto2_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,oneof"`
}

type TestAllTypesProto2_OneofString

type TestAllTypesProto2_OneofString struct {
	OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,oneof"`
}

type TestAllTypesProto2_OneofUint32

type TestAllTypesProto2_OneofUint32 struct {
	OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,oneof"`
}

type TestAllTypesProto2_OneofUint64

type TestAllTypesProto2_OneofUint64 struct {
	OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,oneof"`
}

type TestAllTypesProto3

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 `` /* 127-byte string literal not displayed */
	OptionalForeignMessage *ForeignMessage                   `` /* 130-byte string literal not displayed */
	OptionalNestedEnum     TestAllTypesProto3_NestedEnum     `` /* 184-byte string literal not displayed */
	OptionalForeignEnum    ForeignEnum                       `` /* 169-byte string literal not displayed */
	OptionalAliasedEnum    TestAllTypesProto3_AliasedEnum    `` /* 188-byte string literal not displayed */
	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 `` /* 127-byte string literal not displayed */
	RepeatedForeignMessage []*ForeignMessage                   `` /* 130-byte string literal not displayed */
	RepeatedNestedEnum     []TestAllTypesProto3_NestedEnum     `` /* 191-byte string literal not displayed */
	RepeatedForeignEnum    []ForeignEnum                       `` /* 176-byte string literal not displayed */
	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 `` /* 185-byte string literal not displayed */
	// 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 `` /* 185-byte string literal not displayed */
	// Map
	MapInt32Int32           map[int32]int32                              `` /* 193-byte string literal not displayed */
	MapInt64Int64           map[int64]int64                              `` /* 193-byte string literal not displayed */
	MapUint32Uint32         map[uint32]uint32                            `` /* 199-byte string literal not displayed */
	MapUint64Uint64         map[uint64]uint64                            `` /* 199-byte string literal not displayed */
	MapSint32Sint32         map[int32]int32                              `` /* 203-byte string literal not displayed */
	MapSint64Sint64         map[int64]int64                              `` /* 203-byte string literal not displayed */
	MapFixed32Fixed32       map[uint32]uint32                            `` /* 207-byte string literal not displayed */
	MapFixed64Fixed64       map[uint64]uint64                            `` /* 207-byte string literal not displayed */
	MapSfixed32Sfixed32     map[int32]int32                              `` /* 213-byte string literal not displayed */
	MapSfixed64Sfixed64     map[int64]int64                              `` /* 213-byte string literal not displayed */
	MapInt32Float           map[int32]float32                            `` /* 194-byte string literal not displayed */
	MapInt32Double          map[int32]float64                            `` /* 197-byte string literal not displayed */
	MapBoolBool             map[bool]bool                                `` /* 187-byte string literal not displayed */
	MapStringString         map[string]string                            `` /* 197-byte string literal not displayed */
	MapStringBytes          map[string][]byte                            `` /* 194-byte string literal not displayed */
	MapStringNestedMessage  map[string]*TestAllTypesProto3_NestedMessage `` /* 220-byte string literal not displayed */
	MapStringForeignMessage map[string]*ForeignMessage                   `` /* 223-byte string literal not displayed */
	MapStringNestedEnum     map[string]TestAllTypesProto3_NestedEnum     `` /* 277-byte string literal not displayed */
	MapStringForeignEnum    map[string]ForeignEnum                       `` /* 262-byte string literal not displayed */
	// 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   `` /* 128-byte string literal not displayed */
	OptionalUint64Wrapper *wrapperspb.UInt64Value   `` /* 128-byte string literal not displayed */
	OptionalFloatWrapper  *wrapperspb.FloatValue    `protobuf:"bytes,206,opt,name=optional_float_wrapper,json=optionalFloatWrapper,proto3" json:"optional_float_wrapper,omitempty"`
	OptionalDoubleWrapper *wrapperspb.DoubleValue   `` /* 128-byte string literal not displayed */
	OptionalStringWrapper *wrapperspb.StringValue   `` /* 128-byte string literal not displayed */
	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 `` /* 128-byte string literal not displayed */
	RepeatedUint64Wrapper []*wrapperspb.UInt64Value `` /* 128-byte string literal not displayed */
	RepeatedFloatWrapper  []*wrapperspb.FloatValue  `protobuf:"bytes,216,rep,name=repeated_float_wrapper,json=repeatedFloatWrapper,proto3" json:"repeated_float_wrapper,omitempty"`
	RepeatedDoubleWrapper []*wrapperspb.DoubleValue `` /* 128-byte string literal not displayed */
	RepeatedStringWrapper []*wrapperspb.StringValue `` /* 128-byte string literal not displayed */
	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        `` /* 148-byte string literal not displayed */
	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
}

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.

func (*TestAllTypesProto3) Descriptor deprecated

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

Deprecated: Use TestAllTypesProto3.ProtoReflect.Descriptor instead.

func (*TestAllTypesProto3) GetFIELDName12

func (x *TestAllTypesProto3) GetFIELDName12() int32

func (*TestAllTypesProto3) GetFIELD_NAME11

func (x *TestAllTypesProto3) GetFIELD_NAME11() int32

func (*TestAllTypesProto3) GetField0Name5

func (x *TestAllTypesProto3) GetField0Name5() int32

func (*TestAllTypesProto3) GetFieldName17__

func (x *TestAllTypesProto3) GetFieldName17__() int32

func (*TestAllTypesProto3) GetFieldName18__

func (x *TestAllTypesProto3) GetFieldName18__() int32

func (*TestAllTypesProto3) GetFieldName2

func (x *TestAllTypesProto3) GetFieldName2() int32

func (*TestAllTypesProto3) GetFieldName7

func (x *TestAllTypesProto3) GetFieldName7() int32

func (*TestAllTypesProto3) GetFieldName8

func (x *TestAllTypesProto3) GetFieldName8() int32

func (*TestAllTypesProto3) GetField_0Name6

func (x *TestAllTypesProto3) GetField_0Name6() int32

func (*TestAllTypesProto3) GetField_Name10

func (x *TestAllTypesProto3) GetField_Name10() int32

func (*TestAllTypesProto3) GetField_Name15

func (x *TestAllTypesProto3) GetField_Name15() int32

func (*TestAllTypesProto3) GetField_Name4_

func (x *TestAllTypesProto3) GetField_Name4_() int32

func (*TestAllTypesProto3) GetField_Name9

func (x *TestAllTypesProto3) GetField_Name9() int32

func (*TestAllTypesProto3) GetField__Name16

func (x *TestAllTypesProto3) GetField__Name16() int32

func (*TestAllTypesProto3) GetFieldname1

func (x *TestAllTypesProto3) GetFieldname1() int32

func (*TestAllTypesProto3) GetMapBoolBool

func (x *TestAllTypesProto3) GetMapBoolBool() map[bool]bool

func (*TestAllTypesProto3) GetMapFixed32Fixed32

func (x *TestAllTypesProto3) GetMapFixed32Fixed32() map[uint32]uint32

func (*TestAllTypesProto3) GetMapFixed64Fixed64

func (x *TestAllTypesProto3) GetMapFixed64Fixed64() map[uint64]uint64

func (*TestAllTypesProto3) GetMapInt32Double

func (x *TestAllTypesProto3) GetMapInt32Double() map[int32]float64

func (*TestAllTypesProto3) GetMapInt32Float

func (x *TestAllTypesProto3) GetMapInt32Float() map[int32]float32

func (*TestAllTypesProto3) GetMapInt32Int32

func (x *TestAllTypesProto3) GetMapInt32Int32() map[int32]int32

func (*TestAllTypesProto3) GetMapInt64Int64

func (x *TestAllTypesProto3) GetMapInt64Int64() map[int64]int64

func (*TestAllTypesProto3) GetMapSfixed32Sfixed32

func (x *TestAllTypesProto3) GetMapSfixed32Sfixed32() map[int32]int32

func (*TestAllTypesProto3) GetMapSfixed64Sfixed64

func (x *TestAllTypesProto3) GetMapSfixed64Sfixed64() map[int64]int64

func (*TestAllTypesProto3) GetMapSint32Sint32

func (x *TestAllTypesProto3) GetMapSint32Sint32() map[int32]int32

func (*TestAllTypesProto3) GetMapSint64Sint64

func (x *TestAllTypesProto3) GetMapSint64Sint64() map[int64]int64

func (*TestAllTypesProto3) GetMapStringBytes

func (x *TestAllTypesProto3) GetMapStringBytes() map[string][]byte

func (*TestAllTypesProto3) GetMapStringForeignEnum

func (x *TestAllTypesProto3) GetMapStringForeignEnum() map[string]ForeignEnum

func (*TestAllTypesProto3) GetMapStringForeignMessage

func (x *TestAllTypesProto3) GetMapStringForeignMessage() map[string]*ForeignMessage

func (*TestAllTypesProto3) GetMapStringNestedEnum

func (x *TestAllTypesProto3) GetMapStringNestedEnum() map[string]TestAllTypesProto3_NestedEnum

func (*TestAllTypesProto3) GetMapStringNestedMessage

func (x *TestAllTypesProto3) GetMapStringNestedMessage() map[string]*TestAllTypesProto3_NestedMessage

func (*TestAllTypesProto3) GetMapStringString

func (x *TestAllTypesProto3) GetMapStringString() map[string]string

func (*TestAllTypesProto3) GetMapUint32Uint32

func (x *TestAllTypesProto3) GetMapUint32Uint32() map[uint32]uint32

func (*TestAllTypesProto3) GetMapUint64Uint64

func (x *TestAllTypesProto3) GetMapUint64Uint64() map[uint64]uint64

func (*TestAllTypesProto3) GetOneofBool

func (x *TestAllTypesProto3) GetOneofBool() bool

func (*TestAllTypesProto3) GetOneofBytes

func (x *TestAllTypesProto3) GetOneofBytes() []byte

func (*TestAllTypesProto3) GetOneofDouble

func (x *TestAllTypesProto3) GetOneofDouble() float64

func (*TestAllTypesProto3) GetOneofEnum

func (*TestAllTypesProto3) GetOneofField

func (m *TestAllTypesProto3) GetOneofField() isTestAllTypesProto3_OneofField

func (*TestAllTypesProto3) GetOneofFloat

func (x *TestAllTypesProto3) GetOneofFloat() float32

func (*TestAllTypesProto3) GetOneofNestedMessage

func (x *TestAllTypesProto3) GetOneofNestedMessage() *TestAllTypesProto3_NestedMessage

func (*TestAllTypesProto3) GetOneofNullValue added in v1.26.0

func (x *TestAllTypesProto3) GetOneofNullValue() structpb.NullValue

func (*TestAllTypesProto3) GetOneofString

func (x *TestAllTypesProto3) GetOneofString() string

func (*TestAllTypesProto3) GetOneofUint32

func (x *TestAllTypesProto3) GetOneofUint32() uint32

func (*TestAllTypesProto3) GetOneofUint64

func (x *TestAllTypesProto3) GetOneofUint64() uint64

func (*TestAllTypesProto3) GetOptionalAliasedEnum

func (x *TestAllTypesProto3) GetOptionalAliasedEnum() TestAllTypesProto3_AliasedEnum

func (*TestAllTypesProto3) GetOptionalAny

func (x *TestAllTypesProto3) GetOptionalAny() *anypb.Any

func (*TestAllTypesProto3) GetOptionalBool

func (x *TestAllTypesProto3) GetOptionalBool() bool

func (*TestAllTypesProto3) GetOptionalBoolWrapper

func (x *TestAllTypesProto3) GetOptionalBoolWrapper() *wrapperspb.BoolValue

func (*TestAllTypesProto3) GetOptionalBytes

func (x *TestAllTypesProto3) GetOptionalBytes() []byte

func (*TestAllTypesProto3) GetOptionalBytesWrapper

func (x *TestAllTypesProto3) GetOptionalBytesWrapper() *wrapperspb.BytesValue

func (*TestAllTypesProto3) GetOptionalCord

func (x *TestAllTypesProto3) GetOptionalCord() string

func (*TestAllTypesProto3) GetOptionalDouble

func (x *TestAllTypesProto3) GetOptionalDouble() float64

func (*TestAllTypesProto3) GetOptionalDoubleWrapper

func (x *TestAllTypesProto3) GetOptionalDoubleWrapper() *wrapperspb.DoubleValue

func (*TestAllTypesProto3) GetOptionalDuration

func (x *TestAllTypesProto3) GetOptionalDuration() *durationpb.Duration

func (*TestAllTypesProto3) GetOptionalFieldMask

func (x *TestAllTypesProto3) GetOptionalFieldMask() *fieldmaskpb.FieldMask

func (*TestAllTypesProto3) GetOptionalFixed32

func (x *TestAllTypesProto3) GetOptionalFixed32() uint32

func (*TestAllTypesProto3) GetOptionalFixed64

func (x *TestAllTypesProto3) GetOptionalFixed64() uint64

func (*TestAllTypesProto3) GetOptionalFloat

func (x *TestAllTypesProto3) GetOptionalFloat() float32

func (*TestAllTypesProto3) GetOptionalFloatWrapper

func (x *TestAllTypesProto3) GetOptionalFloatWrapper() *wrapperspb.FloatValue

func (*TestAllTypesProto3) GetOptionalForeignEnum

func (x *TestAllTypesProto3) GetOptionalForeignEnum() ForeignEnum

func (*TestAllTypesProto3) GetOptionalForeignMessage

func (x *TestAllTypesProto3) GetOptionalForeignMessage() *ForeignMessage

func (*TestAllTypesProto3) GetOptionalInt32

func (x *TestAllTypesProto3) GetOptionalInt32() int32

func (*TestAllTypesProto3) GetOptionalInt32Wrapper

func (x *TestAllTypesProto3) GetOptionalInt32Wrapper() *wrapperspb.Int32Value

func (*TestAllTypesProto3) GetOptionalInt64

func (x *TestAllTypesProto3) GetOptionalInt64() int64

func (*TestAllTypesProto3) GetOptionalInt64Wrapper

func (x *TestAllTypesProto3) GetOptionalInt64Wrapper() *wrapperspb.Int64Value

func (*TestAllTypesProto3) GetOptionalNestedEnum

func (x *TestAllTypesProto3) GetOptionalNestedEnum() TestAllTypesProto3_NestedEnum

func (*TestAllTypesProto3) GetOptionalNestedMessage

func (x *TestAllTypesProto3) GetOptionalNestedMessage() *TestAllTypesProto3_NestedMessage

func (*TestAllTypesProto3) GetOptionalNullValue added in v1.26.0

func (x *TestAllTypesProto3) GetOptionalNullValue() structpb.NullValue

func (*TestAllTypesProto3) GetOptionalSfixed32

func (x *TestAllTypesProto3) GetOptionalSfixed32() int32

func (*TestAllTypesProto3) GetOptionalSfixed64

func (x *TestAllTypesProto3) GetOptionalSfixed64() int64

func (*TestAllTypesProto3) GetOptionalSint32

func (x *TestAllTypesProto3) GetOptionalSint32() int32

func (*TestAllTypesProto3) GetOptionalSint64

func (x *TestAllTypesProto3) GetOptionalSint64() int64

func (*TestAllTypesProto3) GetOptionalString

func (x *TestAllTypesProto3) GetOptionalString() string

func (*TestAllTypesProto3) GetOptionalStringPiece

func (x *TestAllTypesProto3) GetOptionalStringPiece() string

func (*TestAllTypesProto3) GetOptionalStringWrapper

func (x *TestAllTypesProto3) GetOptionalStringWrapper() *wrapperspb.StringValue

func (*TestAllTypesProto3) GetOptionalStruct

func (x *TestAllTypesProto3) GetOptionalStruct() *structpb.Struct

func (*TestAllTypesProto3) GetOptionalTimestamp

func (x *TestAllTypesProto3) GetOptionalTimestamp() *timestamppb.Timestamp

func (*TestAllTypesProto3) GetOptionalUint32

func (x *TestAllTypesProto3) GetOptionalUint32() uint32

func (*TestAllTypesProto3) GetOptionalUint32Wrapper

func (x *TestAllTypesProto3) GetOptionalUint32Wrapper() *wrapperspb.UInt32Value

func (*TestAllTypesProto3) GetOptionalUint64

func (x *TestAllTypesProto3) GetOptionalUint64() uint64

func (*TestAllTypesProto3) GetOptionalUint64Wrapper

func (x *TestAllTypesProto3) GetOptionalUint64Wrapper() *wrapperspb.UInt64Value

func (*TestAllTypesProto3) GetOptionalValue

func (x *TestAllTypesProto3) GetOptionalValue() *structpb.Value

func (*TestAllTypesProto3) GetPackedBool added in v1.21.0

func (x *TestAllTypesProto3) GetPackedBool() []bool

func (*TestAllTypesProto3) GetPackedDouble added in v1.21.0

func (x *TestAllTypesProto3) GetPackedDouble() []float64

func (*TestAllTypesProto3) GetPackedFixed32 added in v1.21.0

func (x *TestAllTypesProto3) GetPackedFixed32() []uint32

func (*TestAllTypesProto3) GetPackedFixed64 added in v1.21.0

func (x *TestAllTypesProto3) GetPackedFixed64() []uint64

func (*TestAllTypesProto3) GetPackedFloat added in v1.21.0

func (x *TestAllTypesProto3) GetPackedFloat() []float32

func (*TestAllTypesProto3) GetPackedInt32 added in v1.21.0

func (x *TestAllTypesProto3) GetPackedInt32() []int32

func (*TestAllTypesProto3) GetPackedInt64 added in v1.21.0

func (x *TestAllTypesProto3) GetPackedInt64() []int64

func (*TestAllTypesProto3) GetPackedNestedEnum added in v1.21.0

func (x *TestAllTypesProto3) GetPackedNestedEnum() []TestAllTypesProto3_NestedEnum

func (*TestAllTypesProto3) GetPackedSfixed32 added in v1.21.0

func (x *TestAllTypesProto3) GetPackedSfixed32() []int32

func (*TestAllTypesProto3) GetPackedSfixed64 added in v1.21.0

func (x *TestAllTypesProto3) GetPackedSfixed64() []int64

func (*TestAllTypesProto3) GetPackedSint32 added in v1.21.0

func (x *TestAllTypesProto3) GetPackedSint32() []int32

func (*TestAllTypesProto3) GetPackedSint64 added in v1.21.0

func (x *TestAllTypesProto3) GetPackedSint64() []int64

func (*TestAllTypesProto3) GetPackedUint32 added in v1.21.0

func (x *TestAllTypesProto3) GetPackedUint32() []uint32

func (*TestAllTypesProto3) GetPackedUint64 added in v1.21.0

func (x *TestAllTypesProto3) GetPackedUint64() []uint64

func (*TestAllTypesProto3) GetRecursiveMessage

func (x *TestAllTypesProto3) GetRecursiveMessage() *TestAllTypesProto3

func (*TestAllTypesProto3) GetRepeatedAny

func (x *TestAllTypesProto3) GetRepeatedAny() []*anypb.Any

func (*TestAllTypesProto3) GetRepeatedBool

func (x *TestAllTypesProto3) GetRepeatedBool() []bool

func (*TestAllTypesProto3) GetRepeatedBoolWrapper

func (x *TestAllTypesProto3) GetRepeatedBoolWrapper() []*wrapperspb.BoolValue

func (*TestAllTypesProto3) GetRepeatedBytes

func (x *TestAllTypesProto3) GetRepeatedBytes() [][]byte

func (*TestAllTypesProto3) GetRepeatedBytesWrapper

func (x *TestAllTypesProto3) GetRepeatedBytesWrapper() []*wrapperspb.BytesValue

func (*TestAllTypesProto3) GetRepeatedCord

func (x *TestAllTypesProto3) GetRepeatedCord() []string

func (*TestAllTypesProto3) GetRepeatedDouble

func (x *TestAllTypesProto3) GetRepeatedDouble() []float64

func (*TestAllTypesProto3) GetRepeatedDoubleWrapper

func (x *TestAllTypesProto3) GetRepeatedDoubleWrapper() []*wrapperspb.DoubleValue

func (*TestAllTypesProto3) GetRepeatedDuration

func (x *TestAllTypesProto3) GetRepeatedDuration() []*durationpb.Duration

func (*TestAllTypesProto3) GetRepeatedFieldmask

func (x *TestAllTypesProto3) GetRepeatedFieldmask() []*fieldmaskpb.FieldMask

func (*TestAllTypesProto3) GetRepeatedFixed32

func (x *TestAllTypesProto3) GetRepeatedFixed32() []uint32

func (*TestAllTypesProto3) GetRepeatedFixed64

func (x *TestAllTypesProto3) GetRepeatedFixed64() []uint64

func (*TestAllTypesProto3) GetRepeatedFloat

func (x *TestAllTypesProto3) GetRepeatedFloat() []float32

func (*TestAllTypesProto3) GetRepeatedFloatWrapper

func (x *TestAllTypesProto3) GetRepeatedFloatWrapper() []*wrapperspb.FloatValue

func (*TestAllTypesProto3) GetRepeatedForeignEnum

func (x *TestAllTypesProto3) GetRepeatedForeignEnum() []ForeignEnum

func (*TestAllTypesProto3) GetRepeatedForeignMessage

func (x *TestAllTypesProto3) GetRepeatedForeignMessage() []*ForeignMessage

func (*TestAllTypesProto3) GetRepeatedInt32

func (x *TestAllTypesProto3) GetRepeatedInt32() []int32

func (*TestAllTypesProto3) GetRepeatedInt32Wrapper

func (x *TestAllTypesProto3) GetRepeatedInt32Wrapper() []*wrapperspb.Int32Value

func (*TestAllTypesProto3) GetRepeatedInt64

func (x *TestAllTypesProto3) GetRepeatedInt64() []int64

func (*TestAllTypesProto3) GetRepeatedInt64Wrapper

func (x *TestAllTypesProto3) GetRepeatedInt64Wrapper() []*wrapperspb.Int64Value

func (*TestAllTypesProto3) GetRepeatedListValue

func (x *TestAllTypesProto3) GetRepeatedListValue() []*structpb.ListValue

func (*TestAllTypesProto3) GetRepeatedNestedEnum

func (x *TestAllTypesProto3) GetRepeatedNestedEnum() []TestAllTypesProto3_NestedEnum

func (*TestAllTypesProto3) GetRepeatedNestedMessage

func (x *TestAllTypesProto3) GetRepeatedNestedMessage() []*TestAllTypesProto3_NestedMessage

func (*TestAllTypesProto3) GetRepeatedSfixed32

func (x *TestAllTypesProto3) GetRepeatedSfixed32() []int32

func (*TestAllTypesProto3) GetRepeatedSfixed64

func (x *TestAllTypesProto3) GetRepeatedSfixed64() []int64

func (*TestAllTypesProto3) GetRepeatedSint32

func (x *TestAllTypesProto3) GetRepeatedSint32() []int32

func (*TestAllTypesProto3) GetRepeatedSint64

func (x *TestAllTypesProto3) GetRepeatedSint64() []int64

func (*TestAllTypesProto3) GetRepeatedString

func (x *TestAllTypesProto3) GetRepeatedString() []string

func (*TestAllTypesProto3) GetRepeatedStringPiece

func (x *TestAllTypesProto3) GetRepeatedStringPiece() []string

func (*TestAllTypesProto3) GetRepeatedStringWrapper

func (x *TestAllTypesProto3) GetRepeatedStringWrapper() []*wrapperspb.StringValue

func (*TestAllTypesProto3) GetRepeatedStruct

func (x *TestAllTypesProto3) GetRepeatedStruct() []*structpb.Struct

func (*TestAllTypesProto3) GetRepeatedTimestamp

func (x *TestAllTypesProto3) GetRepeatedTimestamp() []*timestamppb.Timestamp

func (*TestAllTypesProto3) GetRepeatedUint32

func (x *TestAllTypesProto3) GetRepeatedUint32() []uint32

func (*TestAllTypesProto3) GetRepeatedUint32Wrapper

func (x *TestAllTypesProto3) GetRepeatedUint32Wrapper() []*wrapperspb.UInt32Value

func (*TestAllTypesProto3) GetRepeatedUint64

func (x *TestAllTypesProto3) GetRepeatedUint64() []uint64

func (*TestAllTypesProto3) GetRepeatedUint64Wrapper

func (x *TestAllTypesProto3) GetRepeatedUint64Wrapper() []*wrapperspb.UInt64Value

func (*TestAllTypesProto3) GetRepeatedValue

func (x *TestAllTypesProto3) GetRepeatedValue() []*structpb.Value

func (*TestAllTypesProto3) GetUnpackedBool added in v1.21.0

func (x *TestAllTypesProto3) GetUnpackedBool() []bool

func (*TestAllTypesProto3) GetUnpackedDouble added in v1.21.0

func (x *TestAllTypesProto3) GetUnpackedDouble() []float64

func (*TestAllTypesProto3) GetUnpackedFixed32 added in v1.21.0

func (x *TestAllTypesProto3) GetUnpackedFixed32() []uint32

func (*TestAllTypesProto3) GetUnpackedFixed64 added in v1.21.0

func (x *TestAllTypesProto3) GetUnpackedFixed64() []uint64

func (*TestAllTypesProto3) GetUnpackedFloat added in v1.21.0

func (x *TestAllTypesProto3) GetUnpackedFloat() []float32

func (*TestAllTypesProto3) GetUnpackedInt32 added in v1.21.0

func (x *TestAllTypesProto3) GetUnpackedInt32() []int32

func (*TestAllTypesProto3) GetUnpackedInt64 added in v1.21.0

func (x *TestAllTypesProto3) GetUnpackedInt64() []int64

func (*TestAllTypesProto3) GetUnpackedNestedEnum added in v1.21.0

func (x *TestAllTypesProto3) GetUnpackedNestedEnum() []TestAllTypesProto3_NestedEnum

func (*TestAllTypesProto3) GetUnpackedSfixed32 added in v1.21.0

func (x *TestAllTypesProto3) GetUnpackedSfixed32() []int32

func (*TestAllTypesProto3) GetUnpackedSfixed64 added in v1.21.0

func (x *TestAllTypesProto3) GetUnpackedSfixed64() []int64

func (*TestAllTypesProto3) GetUnpackedSint32 added in v1.21.0

func (x *TestAllTypesProto3) GetUnpackedSint32() []int32

func (*TestAllTypesProto3) GetUnpackedSint64 added in v1.21.0

func (x *TestAllTypesProto3) GetUnpackedSint64() []int64

func (*TestAllTypesProto3) GetUnpackedUint32 added in v1.21.0

func (x *TestAllTypesProto3) GetUnpackedUint32() []uint32

func (*TestAllTypesProto3) GetUnpackedUint64 added in v1.21.0

func (x *TestAllTypesProto3) GetUnpackedUint64() []uint64

func (*TestAllTypesProto3) GetXFieldName13

func (x *TestAllTypesProto3) GetXFieldName13() int32

func (*TestAllTypesProto3) GetXFieldName3

func (x *TestAllTypesProto3) GetXFieldName3() int32

func (*TestAllTypesProto3) GetX_FieldName14

func (x *TestAllTypesProto3) GetX_FieldName14() int32

func (*TestAllTypesProto3) ProtoMessage

func (*TestAllTypesProto3) ProtoMessage()

func (*TestAllTypesProto3) ProtoReflect

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

func (*TestAllTypesProto3) Reset

func (x *TestAllTypesProto3) Reset()

func (*TestAllTypesProto3) String

func (x *TestAllTypesProto3) String() string

type TestAllTypesProto3_AliasedEnum

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

func (TestAllTypesProto3_AliasedEnum) Enum

func (TestAllTypesProto3_AliasedEnum) EnumDescriptor deprecated

func (TestAllTypesProto3_AliasedEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestAllTypesProto3_AliasedEnum.Descriptor instead.

func (TestAllTypesProto3_AliasedEnum) Number

func (TestAllTypesProto3_AliasedEnum) String

func (TestAllTypesProto3_AliasedEnum) Type

type TestAllTypesProto3_NestedEnum

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

func (TestAllTypesProto3_NestedEnum) Enum

func (TestAllTypesProto3_NestedEnum) EnumDescriptor deprecated

func (TestAllTypesProto3_NestedEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestAllTypesProto3_NestedEnum.Descriptor instead.

func (TestAllTypesProto3_NestedEnum) Number

func (TestAllTypesProto3_NestedEnum) String

func (TestAllTypesProto3_NestedEnum) Type

type TestAllTypesProto3_NestedMessage

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 deprecated

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

Deprecated: Use TestAllTypesProto3_NestedMessage.ProtoReflect.Descriptor instead.

func (*TestAllTypesProto3_NestedMessage) GetA

func (*TestAllTypesProto3_NestedMessage) GetCorecursive

func (*TestAllTypesProto3_NestedMessage) ProtoMessage

func (*TestAllTypesProto3_NestedMessage) ProtoMessage()

func (*TestAllTypesProto3_NestedMessage) ProtoReflect

func (*TestAllTypesProto3_NestedMessage) Reset

func (*TestAllTypesProto3_NestedMessage) String

type TestAllTypesProto3_OneofBool

type TestAllTypesProto3_OneofBool struct {
	OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,proto3,oneof"`
}

type TestAllTypesProto3_OneofBytes

type TestAllTypesProto3_OneofBytes struct {
	OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
}

type TestAllTypesProto3_OneofDouble

type TestAllTypesProto3_OneofDouble struct {
	OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,proto3,oneof"`
}

type TestAllTypesProto3_OneofEnum

type TestAllTypesProto3_OneofEnum struct {
	OneofEnum TestAllTypesProto3_NestedEnum `` /* 134-byte string literal not displayed */
}

type TestAllTypesProto3_OneofFloat

type TestAllTypesProto3_OneofFloat struct {
	OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,proto3,oneof"`
}

type TestAllTypesProto3_OneofNestedMessage

type TestAllTypesProto3_OneofNestedMessage struct {
	OneofNestedMessage *TestAllTypesProto3_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,proto3,oneof"`
}

type TestAllTypesProto3_OneofNullValue added in v1.26.0

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

type TestAllTypesProto3_OneofString struct {
	OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,proto3,oneof"`
}

type TestAllTypesProto3_OneofUint32

type TestAllTypesProto3_OneofUint32 struct {
	OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"`
}

type TestAllTypesProto3_OneofUint64

type TestAllTypesProto3_OneofUint64 struct {
	OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,proto3,oneof"`
}

type TestCategory

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

func (TestCategory) Enum

func (x TestCategory) Enum() *TestCategory

func (TestCategory) EnumDescriptor deprecated

func (TestCategory) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestCategory.Descriptor instead.

func (TestCategory) Number

func (TestCategory) String

func (x TestCategory) String() string

func (TestCategory) Type

type UnknownToTestAllTypes

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 deprecated

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

Deprecated: Use UnknownToTestAllTypes.ProtoReflect.Descriptor instead.

func (*UnknownToTestAllTypes) GetNestedMessage

func (x *UnknownToTestAllTypes) GetNestedMessage() *ForeignMessageProto2

func (*UnknownToTestAllTypes) GetOptionalBool

func (x *UnknownToTestAllTypes) GetOptionalBool() bool

func (*UnknownToTestAllTypes) GetOptionalInt32

func (x *UnknownToTestAllTypes) GetOptionalInt32() int32

func (*UnknownToTestAllTypes) GetOptionalString

func (x *UnknownToTestAllTypes) GetOptionalString() string

func (*UnknownToTestAllTypes) GetOptionalgroup

func (*UnknownToTestAllTypes) GetRepeatedInt32

func (x *UnknownToTestAllTypes) GetRepeatedInt32() []int32

func (*UnknownToTestAllTypes) ProtoMessage

func (*UnknownToTestAllTypes) ProtoMessage()

func (*UnknownToTestAllTypes) ProtoReflect

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

func (*UnknownToTestAllTypes) Reset

func (x *UnknownToTestAllTypes) Reset()

func (*UnknownToTestAllTypes) String

func (x *UnknownToTestAllTypes) String() string

type UnknownToTestAllTypes_OptionalGroup

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

func (*UnknownToTestAllTypes_OptionalGroup) Descriptor deprecated

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

Deprecated: Use UnknownToTestAllTypes_OptionalGroup.ProtoReflect.Descriptor instead.

func (*UnknownToTestAllTypes_OptionalGroup) GetA

func (*UnknownToTestAllTypes_OptionalGroup) ProtoMessage

func (*UnknownToTestAllTypes_OptionalGroup) ProtoMessage()

func (*UnknownToTestAllTypes_OptionalGroup) ProtoReflect

func (*UnknownToTestAllTypes_OptionalGroup) Reset

func (*UnknownToTestAllTypes_OptionalGroup) String

type WireFormat

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

func (WireFormat) Descriptor() protoreflect.EnumDescriptor

func (WireFormat) Enum

func (x WireFormat) Enum() *WireFormat

func (WireFormat) EnumDescriptor deprecated

func (WireFormat) EnumDescriptor() ([]byte, []int)

Deprecated: Use WireFormat.Descriptor instead.

func (WireFormat) Number

func (x WireFormat) Number() protoreflect.EnumNumber

func (WireFormat) String

func (x WireFormat) String() string

func (WireFormat) Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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