Documentation
¶
Index ¶
- Variables
- type ForeignEnum
- type ForeignMessage
- func (*ForeignMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ForeignMessage) GetC() int32
- func (x *ForeignMessage) GetD() int32
- func (*ForeignMessage) ProtoMessage()
- func (x *ForeignMessage) ProtoReflect() protoreflect.Message
- func (x *ForeignMessage) Reset()
- func (x *ForeignMessage) String() string
- func (m *ForeignMessage) XXX_Methods() *protoiface.Methods
- type ImportEnum
- type ImportMessage
- type TestAllTypes
- func (*TestAllTypes) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypes) GetMapBoolBool() map[bool]bool
- func (x *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32
- func (x *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64
- func (x *TestAllTypes) GetMapInt32Double() map[int32]float64
- func (x *TestAllTypes) GetMapInt32Float() map[int32]float32
- func (x *TestAllTypes) GetMapInt32Int32() map[int32]int32
- func (x *TestAllTypes) GetMapInt64Int64() map[int64]int64
- func (x *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32
- func (x *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64
- func (x *TestAllTypes) GetMapSint32Sint32() map[int32]int32
- func (x *TestAllTypes) GetMapSint64Sint64() map[int64]int64
- func (x *TestAllTypes) GetMapStringBytes() map[string][]byte
- func (x *TestAllTypes) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum
- func (x *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetMapStringString() map[string]string
- func (x *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32
- func (x *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64
- func (x *TestAllTypes) GetOneofBool() bool
- func (x *TestAllTypes) GetOneofBytes() []byte
- func (x *TestAllTypes) GetOneofDouble() float64
- func (x *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum
- func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField
- func (x *TestAllTypes) GetOneofFloat() float32
- func (x *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetOneofString() string
- func (x *TestAllTypes) GetOneofUint32() uint32
- func (x *TestAllTypes) GetOneofUint64() uint64
- func (x *TestAllTypes) GetOptionalBool() bool
- func (x *TestAllTypes) GetOptionalBytes() []byte
- func (x *TestAllTypes) GetOptionalDouble() float64
- func (x *TestAllTypes) GetOptionalFixed32() uint32
- func (x *TestAllTypes) GetOptionalFixed64() uint64
- func (x *TestAllTypes) GetOptionalFloat() float32
- func (x *TestAllTypes) GetOptionalForeignEnum() ForeignEnum
- func (x *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage
- func (x *TestAllTypes) GetOptionalImportEnum() ImportEnum
- func (x *TestAllTypes) GetOptionalImportMessage() *ImportMessage
- func (x *TestAllTypes) GetOptionalInt32() int32
- func (x *TestAllTypes) GetOptionalInt64() int64
- func (x *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum
- func (x *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetOptionalSfixed32() int32
- func (x *TestAllTypes) GetOptionalSfixed64() int64
- func (x *TestAllTypes) GetOptionalSint32() int32
- func (x *TestAllTypes) GetOptionalSint64() int64
- func (x *TestAllTypes) GetOptionalString() string
- func (x *TestAllTypes) GetOptionalUint32() uint32
- func (x *TestAllTypes) GetOptionalUint64() uint64
- func (x *TestAllTypes) GetRepeatedBool() []bool
- func (x *TestAllTypes) GetRepeatedBytes() [][]byte
- func (x *TestAllTypes) GetRepeatedDouble() []float64
- func (x *TestAllTypes) GetRepeatedFixed32() []uint32
- func (x *TestAllTypes) GetRepeatedFixed64() []uint64
- func (x *TestAllTypes) GetRepeatedFloat() []float32
- func (x *TestAllTypes) GetRepeatedForeignEnum() []ForeignEnum
- func (x *TestAllTypes) GetRepeatedForeignMessage() []*ForeignMessage
- func (x *TestAllTypes) GetRepeatedImportenum() []ImportEnum
- func (x *TestAllTypes) GetRepeatedImportmessage() []*ImportMessage
- func (x *TestAllTypes) GetRepeatedInt32() []int32
- func (x *TestAllTypes) GetRepeatedInt64() []int64
- func (x *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum
- func (x *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetRepeatedSfixed32() []int32
- func (x *TestAllTypes) GetRepeatedSfixed64() []int64
- func (x *TestAllTypes) GetRepeatedSint32() []int32
- func (x *TestAllTypes) GetRepeatedSint64() []int64
- func (x *TestAllTypes) GetRepeatedString() []string
- func (x *TestAllTypes) GetRepeatedUint32() []uint32
- func (x *TestAllTypes) GetRepeatedUint64() []uint64
- func (*TestAllTypes) ProtoMessage()
- func (x *TestAllTypes) ProtoReflect() protoreflect.Message
- func (x *TestAllTypes) Reset()
- func (x *TestAllTypes) String() string
- func (m *TestAllTypes) XXX_Methods() *protoiface.Methods
- func (*TestAllTypes) XXX_OneofWrappers() []interface{}
- type TestAllTypes_NestedEnum
- type TestAllTypes_NestedMessage
- func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypes_NestedMessage) GetA() int32
- func (x *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes
- func (*TestAllTypes_NestedMessage) ProtoMessage()
- func (x *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message
- func (x *TestAllTypes_NestedMessage) Reset()
- func (x *TestAllTypes_NestedMessage) String() string
- func (m *TestAllTypes_NestedMessage) XXX_Methods() *protoiface.Methods
- type TestAllTypes_OneofBool
- type TestAllTypes_OneofBytes
- type TestAllTypes_OneofDouble
- type TestAllTypes_OneofEnum
- type TestAllTypes_OneofFloat
- type TestAllTypes_OneofNestedMessage
- type TestAllTypes_OneofString
- type TestAllTypes_OneofUint32
- type TestAllTypes_OneofUint64
Constants ¶
This section is empty.
Variables ¶
var File_test3_test_import_proto protoreflect.FileDescriptor
var File_test3_test_proto protoreflect.FileDescriptor
var ForeignEnum_name = map[int32]string{
0: "FOREIGN_ZERO",
4: "FOREIGN_FOO",
5: "FOREIGN_BAR",
6: "FOREIGN_BAZ",
}
Deprecated: Use ForeignEnum.Type.Values instead.
var ForeignEnum_value = map[string]int32{
"FOREIGN_ZERO": 0,
"FOREIGN_FOO": 4,
"FOREIGN_BAR": 5,
"FOREIGN_BAZ": 6,
}
Deprecated: Use ForeignEnum.Type.Values instead.
var ImportEnum_name = map[int32]string{
0: "IMPORT_ZERO",
}
Deprecated: Use ImportEnum.Type.Values instead.
var ImportEnum_value = map[string]int32{
"IMPORT_ZERO": 0,
}
Deprecated: Use ImportEnum.Type.Values instead.
var TestAllTypes_NestedEnum_name = map[int32]string{
0: "FOO",
1: "BAR",
2: "BAZ",
-1: "NEG",
}
Deprecated: Use TestAllTypes_NestedEnum.Type.Values instead.
var TestAllTypes_NestedEnum_value = map[string]int32{
"FOO": 0,
"BAR": 1,
"BAZ": 2,
"NEG": -1,
}
Deprecated: Use TestAllTypes_NestedEnum.Type.Values instead.
Functions ¶
This section is empty.
Types ¶
type ForeignEnum ¶
type ForeignEnum int32
const ( ForeignEnum_FOREIGN_ZERO ForeignEnum = 0 ForeignEnum_FOREIGN_FOO ForeignEnum = 4 ForeignEnum_FOREIGN_BAR ForeignEnum = 5 ForeignEnum_FOREIGN_BAZ ForeignEnum = 6 )
func (ForeignEnum) EnumDescriptor
deprecated
func (ForeignEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForeignEnum.Type instead.
func (ForeignEnum) Number ¶
func (x ForeignEnum) Number() protoreflect.EnumNumber
func (ForeignEnum) String ¶
func (x ForeignEnum) String() string
func (ForeignEnum) Type ¶
func (ForeignEnum) Type() protoreflect.EnumType
type ForeignMessage ¶
type ForeignMessage struct {
C int32 `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"`
D int32 `protobuf:"varint,2,opt,name=d,proto3" json:"d,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
XXX_sizecache protoimpl.SizeCache `json:"-"`
}
func (*ForeignMessage) Descriptor
deprecated
func (*ForeignMessage) Descriptor() ([]byte, []int)
Deprecated: Use ForeignMessage.ProtoReflect.Type instead.
func (*ForeignMessage) GetC ¶
func (x *ForeignMessage) GetC() int32
func (*ForeignMessage) GetD ¶
func (x *ForeignMessage) GetD() 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
func (*ForeignMessage) XXX_Methods ¶
func (m *ForeignMessage) XXX_Methods() *protoiface.Methods
type ImportEnum ¶
type ImportEnum int32
const (
ImportEnum_IMPORT_ZERO ImportEnum = 0
)
func (ImportEnum) EnumDescriptor
deprecated
func (ImportEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImportEnum.Type instead.
func (ImportEnum) Number ¶
func (x ImportEnum) Number() protoreflect.EnumNumber
func (ImportEnum) String ¶
func (x ImportEnum) String() string
func (ImportEnum) Type ¶
func (ImportEnum) Type() protoreflect.EnumType
type ImportMessage ¶
type ImportMessage struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
XXX_sizecache protoimpl.SizeCache `json:"-"`
}
func (*ImportMessage) Descriptor
deprecated
func (*ImportMessage) Descriptor() ([]byte, []int)
Deprecated: Use ImportMessage.ProtoReflect.Type instead.
func (*ImportMessage) ProtoMessage ¶
func (*ImportMessage) ProtoMessage()
func (*ImportMessage) ProtoReflect ¶
func (x *ImportMessage) ProtoReflect() protoreflect.Message
func (*ImportMessage) Reset ¶
func (x *ImportMessage) Reset()
func (*ImportMessage) String ¶
func (x *ImportMessage) String() string
func (*ImportMessage) XXX_Methods ¶
func (m *ImportMessage) XXX_Methods() *protoiface.Methods
type TestAllTypes ¶
type TestAllTypes struct {
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 *TestAllTypes_NestedMessage `` /* 127-byte string literal not displayed */
OptionalForeignMessage *ForeignMessage `` /* 130-byte string literal not displayed */
OptionalImportMessage *ImportMessage `` /* 127-byte string literal not displayed */
OptionalNestedEnum TestAllTypes_NestedEnum `` /* 168-byte string literal not displayed */
OptionalForeignEnum ForeignEnum `` /* 159-byte string literal not displayed */
OptionalImportEnum ImportEnum `` /* 155-byte string literal not displayed */
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 []*TestAllTypes_NestedMessage `` /* 127-byte string literal not displayed */
RepeatedForeignMessage []*ForeignMessage `` /* 130-byte string literal not displayed */
RepeatedImportmessage []*ImportMessage `protobuf:"bytes,50,rep,name=repeated_importmessage,json=repeatedImportmessage,proto3" json:"repeated_importmessage,omitempty"`
RepeatedNestedEnum []TestAllTypes_NestedEnum `` /* 175-byte string literal not displayed */
RepeatedForeignEnum []ForeignEnum `` /* 166-byte string literal not displayed */
RepeatedImportenum []ImportEnum `` /* 160-byte string literal not displayed */
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]*TestAllTypes_NestedMessage `` /* 220-byte string literal not displayed */
MapStringNestedEnum map[string]TestAllTypes_NestedEnum `` /* 261-byte string literal not displayed */
// Types that are valid to be assigned to OneofField:
// *TestAllTypes_OneofUint32
// *TestAllTypes_OneofNestedMessage
// *TestAllTypes_OneofString
// *TestAllTypes_OneofBytes
// *TestAllTypes_OneofBool
// *TestAllTypes_OneofUint64
// *TestAllTypes_OneofFloat
// *TestAllTypes_OneofDouble
// *TestAllTypes_OneofEnum
OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
XXX_sizecache protoimpl.SizeCache `json:"-"`
}
func (*TestAllTypes) Descriptor
deprecated
func (*TestAllTypes) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes.ProtoReflect.Type instead.
func (*TestAllTypes) GetMapBoolBool ¶
func (x *TestAllTypes) GetMapBoolBool() map[bool]bool
func (*TestAllTypes) GetMapFixed32Fixed32 ¶
func (x *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32
func (*TestAllTypes) GetMapFixed64Fixed64 ¶
func (x *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64
func (*TestAllTypes) GetMapInt32Double ¶
func (x *TestAllTypes) GetMapInt32Double() map[int32]float64
func (*TestAllTypes) GetMapInt32Float ¶
func (x *TestAllTypes) GetMapInt32Float() map[int32]float32
func (*TestAllTypes) GetMapInt32Int32 ¶
func (x *TestAllTypes) GetMapInt32Int32() map[int32]int32
func (*TestAllTypes) GetMapInt64Int64 ¶
func (x *TestAllTypes) GetMapInt64Int64() map[int64]int64
func (*TestAllTypes) GetMapSfixed32Sfixed32 ¶
func (x *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32
func (*TestAllTypes) GetMapSfixed64Sfixed64 ¶
func (x *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64
func (*TestAllTypes) GetMapSint32Sint32 ¶
func (x *TestAllTypes) GetMapSint32Sint32() map[int32]int32
func (*TestAllTypes) GetMapSint64Sint64 ¶
func (x *TestAllTypes) GetMapSint64Sint64() map[int64]int64
func (*TestAllTypes) GetMapStringBytes ¶
func (x *TestAllTypes) GetMapStringBytes() map[string][]byte
func (*TestAllTypes) GetMapStringNestedEnum ¶
func (x *TestAllTypes) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum
func (*TestAllTypes) GetMapStringNestedMessage ¶
func (x *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage
func (*TestAllTypes) GetMapStringString ¶
func (x *TestAllTypes) GetMapStringString() map[string]string
func (*TestAllTypes) GetMapUint32Uint32 ¶
func (x *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32
func (*TestAllTypes) GetMapUint64Uint64 ¶
func (x *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64
func (*TestAllTypes) GetOneofBool ¶
func (x *TestAllTypes) GetOneofBool() bool
func (*TestAllTypes) GetOneofBytes ¶
func (x *TestAllTypes) GetOneofBytes() []byte
func (*TestAllTypes) GetOneofDouble ¶
func (x *TestAllTypes) GetOneofDouble() float64
func (*TestAllTypes) GetOneofEnum ¶
func (x *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum
func (*TestAllTypes) GetOneofField ¶
func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField
func (*TestAllTypes) GetOneofFloat ¶
func (x *TestAllTypes) GetOneofFloat() float32
func (*TestAllTypes) GetOneofNestedMessage ¶
func (x *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes) GetOneofString ¶
func (x *TestAllTypes) GetOneofString() string
func (*TestAllTypes) GetOneofUint32 ¶
func (x *TestAllTypes) GetOneofUint32() uint32
func (*TestAllTypes) GetOneofUint64 ¶
func (x *TestAllTypes) GetOneofUint64() uint64
func (*TestAllTypes) GetOptionalBool ¶
func (x *TestAllTypes) GetOptionalBool() bool
func (*TestAllTypes) GetOptionalBytes ¶
func (x *TestAllTypes) GetOptionalBytes() []byte
func (*TestAllTypes) GetOptionalDouble ¶
func (x *TestAllTypes) GetOptionalDouble() float64
func (*TestAllTypes) GetOptionalFixed32 ¶
func (x *TestAllTypes) GetOptionalFixed32() uint32
func (*TestAllTypes) GetOptionalFixed64 ¶
func (x *TestAllTypes) GetOptionalFixed64() uint64
func (*TestAllTypes) GetOptionalFloat ¶
func (x *TestAllTypes) GetOptionalFloat() float32
func (*TestAllTypes) GetOptionalForeignEnum ¶
func (x *TestAllTypes) GetOptionalForeignEnum() ForeignEnum
func (*TestAllTypes) GetOptionalForeignMessage ¶
func (x *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage
func (*TestAllTypes) GetOptionalImportEnum ¶
func (x *TestAllTypes) GetOptionalImportEnum() ImportEnum
func (*TestAllTypes) GetOptionalImportMessage ¶
func (x *TestAllTypes) GetOptionalImportMessage() *ImportMessage
func (*TestAllTypes) GetOptionalInt32 ¶
func (x *TestAllTypes) GetOptionalInt32() int32
func (*TestAllTypes) GetOptionalInt64 ¶
func (x *TestAllTypes) GetOptionalInt64() int64
func (*TestAllTypes) GetOptionalNestedEnum ¶
func (x *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum
func (*TestAllTypes) GetOptionalNestedMessage ¶
func (x *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes) GetOptionalSfixed32 ¶
func (x *TestAllTypes) GetOptionalSfixed32() int32
func (*TestAllTypes) GetOptionalSfixed64 ¶
func (x *TestAllTypes) GetOptionalSfixed64() int64
func (*TestAllTypes) GetOptionalSint32 ¶
func (x *TestAllTypes) GetOptionalSint32() int32
func (*TestAllTypes) GetOptionalSint64 ¶
func (x *TestAllTypes) GetOptionalSint64() int64
func (*TestAllTypes) GetOptionalString ¶
func (x *TestAllTypes) GetOptionalString() string
func (*TestAllTypes) GetOptionalUint32 ¶
func (x *TestAllTypes) GetOptionalUint32() uint32
func (*TestAllTypes) GetOptionalUint64 ¶
func (x *TestAllTypes) GetOptionalUint64() uint64
func (*TestAllTypes) GetRepeatedBool ¶
func (x *TestAllTypes) GetRepeatedBool() []bool
func (*TestAllTypes) GetRepeatedBytes ¶
func (x *TestAllTypes) GetRepeatedBytes() [][]byte
func (*TestAllTypes) GetRepeatedDouble ¶
func (x *TestAllTypes) GetRepeatedDouble() []float64
func (*TestAllTypes) GetRepeatedFixed32 ¶
func (x *TestAllTypes) GetRepeatedFixed32() []uint32
func (*TestAllTypes) GetRepeatedFixed64 ¶
func (x *TestAllTypes) GetRepeatedFixed64() []uint64
func (*TestAllTypes) GetRepeatedFloat ¶
func (x *TestAllTypes) GetRepeatedFloat() []float32
func (*TestAllTypes) GetRepeatedForeignEnum ¶
func (x *TestAllTypes) GetRepeatedForeignEnum() []ForeignEnum
func (*TestAllTypes) GetRepeatedForeignMessage ¶
func (x *TestAllTypes) GetRepeatedForeignMessage() []*ForeignMessage
func (*TestAllTypes) GetRepeatedImportenum ¶
func (x *TestAllTypes) GetRepeatedImportenum() []ImportEnum
func (*TestAllTypes) GetRepeatedImportmessage ¶
func (x *TestAllTypes) GetRepeatedImportmessage() []*ImportMessage
func (*TestAllTypes) GetRepeatedInt32 ¶
func (x *TestAllTypes) GetRepeatedInt32() []int32
func (*TestAllTypes) GetRepeatedInt64 ¶
func (x *TestAllTypes) GetRepeatedInt64() []int64
func (*TestAllTypes) GetRepeatedNestedEnum ¶
func (x *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum
func (*TestAllTypes) GetRepeatedNestedMessage ¶
func (x *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage
func (*TestAllTypes) GetRepeatedSfixed32 ¶
func (x *TestAllTypes) GetRepeatedSfixed32() []int32
func (*TestAllTypes) GetRepeatedSfixed64 ¶
func (x *TestAllTypes) GetRepeatedSfixed64() []int64
func (*TestAllTypes) GetRepeatedSint32 ¶
func (x *TestAllTypes) GetRepeatedSint32() []int32
func (*TestAllTypes) GetRepeatedSint64 ¶
func (x *TestAllTypes) GetRepeatedSint64() []int64
func (*TestAllTypes) GetRepeatedString ¶
func (x *TestAllTypes) GetRepeatedString() []string
func (*TestAllTypes) GetRepeatedUint32 ¶
func (x *TestAllTypes) GetRepeatedUint32() []uint32
func (*TestAllTypes) GetRepeatedUint64 ¶
func (x *TestAllTypes) GetRepeatedUint64() []uint64
func (*TestAllTypes) ProtoMessage ¶
func (*TestAllTypes) ProtoMessage()
func (*TestAllTypes) ProtoReflect ¶
func (x *TestAllTypes) ProtoReflect() protoreflect.Message
func (*TestAllTypes) Reset ¶
func (x *TestAllTypes) Reset()
func (*TestAllTypes) String ¶
func (x *TestAllTypes) String() string
func (*TestAllTypes) XXX_Methods ¶
func (m *TestAllTypes) XXX_Methods() *protoiface.Methods
func (*TestAllTypes) XXX_OneofWrappers ¶
func (*TestAllTypes) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
type TestAllTypes_NestedEnum ¶
type TestAllTypes_NestedEnum int32
const ( TestAllTypes_FOO TestAllTypes_NestedEnum = 0 TestAllTypes_BAR TestAllTypes_NestedEnum = 1 TestAllTypes_BAZ TestAllTypes_NestedEnum = 2 TestAllTypes_NEG TestAllTypes_NestedEnum = -1 )
func (TestAllTypes_NestedEnum) EnumDescriptor
deprecated
func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedEnum.Type instead.
func (TestAllTypes_NestedEnum) Number ¶
func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber
func (TestAllTypes_NestedEnum) String ¶
func (x TestAllTypes_NestedEnum) String() string
func (TestAllTypes_NestedEnum) Type ¶
func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType
type TestAllTypes_NestedMessage ¶
type TestAllTypes_NestedMessage struct {
A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive,proto3" json:"corecursive,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
XXX_sizecache protoimpl.SizeCache `json:"-"`
}
func (*TestAllTypes_NestedMessage) Descriptor
deprecated
func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Type instead.
func (*TestAllTypes_NestedMessage) GetA ¶
func (x *TestAllTypes_NestedMessage) GetA() int32
func (*TestAllTypes_NestedMessage) GetCorecursive ¶
func (x *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes
func (*TestAllTypes_NestedMessage) ProtoMessage ¶
func (*TestAllTypes_NestedMessage) ProtoMessage()
func (*TestAllTypes_NestedMessage) ProtoReflect ¶
func (x *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message
func (*TestAllTypes_NestedMessage) Reset ¶
func (x *TestAllTypes_NestedMessage) Reset()
func (*TestAllTypes_NestedMessage) String ¶
func (x *TestAllTypes_NestedMessage) String() string
func (*TestAllTypes_NestedMessage) XXX_Methods ¶
func (m *TestAllTypes_NestedMessage) XXX_Methods() *protoiface.Methods
type TestAllTypes_OneofBool ¶
type TestAllTypes_OneofBool struct {
OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,proto3,oneof"`
}
type TestAllTypes_OneofBytes ¶
type TestAllTypes_OneofBytes struct {
OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
}
type TestAllTypes_OneofDouble ¶
type TestAllTypes_OneofDouble struct {
OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,proto3,oneof"`
}
type TestAllTypes_OneofEnum ¶
type TestAllTypes_OneofEnum struct {
OneofEnum TestAllTypes_NestedEnum `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,proto3,enum=goproto.proto.test3.TestAllTypes_NestedEnum,oneof"`
}
type TestAllTypes_OneofFloat ¶
type TestAllTypes_OneofFloat struct {
OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,proto3,oneof"`
}
type TestAllTypes_OneofNestedMessage ¶
type TestAllTypes_OneofNestedMessage struct {
OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,proto3,oneof"`
}
type TestAllTypes_OneofString ¶
type TestAllTypes_OneofString struct {
OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,proto3,oneof"`
}
type TestAllTypes_OneofUint32 ¶
type TestAllTypes_OneofUint32 struct {
OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"`
}
type TestAllTypes_OneofUint64 ¶
type TestAllTypes_OneofUint64 struct {
OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,proto3,oneof"`
}