Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type ForeignEnum
- func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor
- func (x ForeignEnum) Enum() *ForeignEnum
- func (ForeignEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x ForeignEnum) Number() protoreflect.EnumNumber
- func (x ForeignEnum) String() string
- func (ForeignEnum) Type() protoreflect.EnumType
- 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
- type ImportEnum
- type ImportMessage
- type MultiLayeredNesting
- func (*MultiLayeredNesting) Descriptor() ([]byte, []int)deprecated
- func (x *MultiLayeredNesting) GetNested1() *MultiLayeredNesting_Nested1
- func (*MultiLayeredNesting) ProtoMessage()
- func (x *MultiLayeredNesting) ProtoReflect() protoreflect.Message
- func (x *MultiLayeredNesting) Reset()
- func (x *MultiLayeredNesting) String() string
- type MultiLayeredNesting_Nested1
- type MultiLayeredNesting_Nested1_Nested2
- func (*MultiLayeredNesting_Nested1_Nested2) Descriptor() ([]byte, []int)deprecated
- func (x *MultiLayeredNesting_Nested1_Nested2) GetNested_3() *MultiLayeredNesting_Nested1_Nested2_Nested3
- func (*MultiLayeredNesting_Nested1_Nested2) ProtoMessage()
- func (x *MultiLayeredNesting_Nested1_Nested2) ProtoReflect() protoreflect.Message
- func (x *MultiLayeredNesting_Nested1_Nested2) Reset()
- func (x *MultiLayeredNesting_Nested1_Nested2) String() string
- type MultiLayeredNesting_Nested1_Nested2_Nested3
- func (*MultiLayeredNesting_Nested1_Nested2_Nested3) Descriptor() ([]byte, []int)deprecated
- func (x *MultiLayeredNesting_Nested1_Nested2_Nested3) GetNested3Oneof() isMultiLayeredNesting_Nested1_Nested2_Nested3_Nested3Oneof
- func (x *MultiLayeredNesting_Nested1_Nested2_Nested3) GetNested_3Int32() int32
- func (x *MultiLayeredNesting_Nested1_Nested2_Nested3) GetNested_3String() string
- func (*MultiLayeredNesting_Nested1_Nested2_Nested3) ProtoMessage()
- func (x *MultiLayeredNesting_Nested1_Nested2_Nested3) ProtoReflect() protoreflect.Message
- func (x *MultiLayeredNesting_Nested1_Nested2_Nested3) Reset()
- func (x *MultiLayeredNesting_Nested1_Nested2_Nested3) String() string
- type MultiLayeredNesting_Nested1_Nested2_Nested3_Nested_3Int32
- type MultiLayeredNesting_Nested1_Nested2_Nested3_Nested_3String
- 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 (x *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) 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 (x *TestAllTypes) GetSingularBool() bool
- func (x *TestAllTypes) GetSingularBytes() []byte
- func (x *TestAllTypes) GetSingularDouble() float64
- func (x *TestAllTypes) GetSingularFixed32() uint32
- func (x *TestAllTypes) GetSingularFixed64() uint64
- func (x *TestAllTypes) GetSingularFloat() float32
- func (x *TestAllTypes) GetSingularForeignEnum() ForeignEnum
- func (x *TestAllTypes) GetSingularForeignMessage() *ForeignMessage
- func (x *TestAllTypes) GetSingularImportEnum() ImportEnum
- func (x *TestAllTypes) GetSingularImportMessage() *ImportMessage
- func (x *TestAllTypes) GetSingularInt32() int32
- func (x *TestAllTypes) GetSingularInt64() int64
- func (x *TestAllTypes) GetSingularNestedEnum() TestAllTypes_NestedEnum
- func (x *TestAllTypes) GetSingularNestedMessage() *TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetSingularSfixed32() int32
- func (x *TestAllTypes) GetSingularSfixed64() int64
- func (x *TestAllTypes) GetSingularSint32() int32
- func (x *TestAllTypes) GetSingularSint64() int64
- func (x *TestAllTypes) GetSingularString() string
- func (x *TestAllTypes) GetSingularUint32() uint32
- func (x *TestAllTypes) GetSingularUint64() uint64
- func (*TestAllTypes) ProtoMessage()
- func (x *TestAllTypes) ProtoReflect() protoreflect.Message
- func (x *TestAllTypes) Reset()
- func (x *TestAllTypes) String() string
- type TestAllTypes_NestedEnum
- func (TestAllTypes_NestedEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum
- func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber
- func (x TestAllTypes_NestedEnum) String() string
- func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType
- 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
- 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 ( ForeignEnum_name = map[int32]string{ 0: "FOREIGN_ZERO", 4: "FOREIGN_FOO", 5: "FOREIGN_BAR", 6: "FOREIGN_BAZ", } ForeignEnum_value = map[string]int32{ "FOREIGN_ZERO": 0, "FOREIGN_FOO": 4, "FOREIGN_BAR": 5, "FOREIGN_BAZ": 6, } )
Enum value maps for ForeignEnum.
var ( TestAllTypes_NestedEnum_name = map[int32]string{ 0: "FOO", 1: "BAR", 2: "BAZ", -1: "NEG", } TestAllTypes_NestedEnum_value = map[string]int32{ "FOO": 0, "BAR": 1, "BAZ": 2, "NEG": -1, } )
Enum value maps for TestAllTypes_NestedEnum.
var ( ImportEnum_name = map[int32]string{ 0: "IMPORT_ZERO", } ImportEnum_value = map[string]int32{ "IMPORT_ZERO": 0, } )
Enum value maps for ImportEnum.
var File_internal_testprotos_test3_test_import_proto protoreflect.FileDescriptor
var File_internal_testprotos_test3_test_nesting_proto protoreflect.FileDescriptor
var File_internal_testprotos_test3_test_proto protoreflect.FileDescriptor
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) Descriptor ¶
func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor
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 ¶
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"` // 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) 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
type ImportEnum ¶
type ImportEnum int32
const (
ImportEnum_IMPORT_ZERO ImportEnum = 0
)
func (ImportEnum) Descriptor ¶
func (ImportEnum) Descriptor() protoreflect.EnumDescriptor
func (ImportEnum) Enum ¶
func (x ImportEnum) Enum() *ImportEnum
func (ImportEnum) EnumDescriptor
deprecated
func (ImportEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImportEnum.Descriptor 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 {
// contains filtered or unexported fields
}
func (*ImportMessage) Descriptor
deprecated
func (*ImportMessage) Descriptor() ([]byte, []int)
Deprecated: Use ImportMessage.ProtoReflect.Descriptor 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
type MultiLayeredNesting ¶
type MultiLayeredNesting struct { Nested1 *MultiLayeredNesting_Nested1 `protobuf:"bytes,1,opt,name=nested1,proto3" json:"nested1,omitempty"` // contains filtered or unexported fields }
func (*MultiLayeredNesting) Descriptor
deprecated
func (*MultiLayeredNesting) Descriptor() ([]byte, []int)
Deprecated: Use MultiLayeredNesting.ProtoReflect.Descriptor instead.
func (*MultiLayeredNesting) GetNested1 ¶
func (x *MultiLayeredNesting) GetNested1() *MultiLayeredNesting_Nested1
func (*MultiLayeredNesting) ProtoMessage ¶
func (*MultiLayeredNesting) ProtoMessage()
func (*MultiLayeredNesting) ProtoReflect ¶
func (x *MultiLayeredNesting) ProtoReflect() protoreflect.Message
func (*MultiLayeredNesting) Reset ¶
func (x *MultiLayeredNesting) Reset()
func (*MultiLayeredNesting) String ¶
func (x *MultiLayeredNesting) String() string
type MultiLayeredNesting_Nested1 ¶
type MultiLayeredNesting_Nested1 struct {
// contains filtered or unexported fields
}
func (*MultiLayeredNesting_Nested1) Descriptor
deprecated
func (*MultiLayeredNesting_Nested1) Descriptor() ([]byte, []int)
Deprecated: Use MultiLayeredNesting_Nested1.ProtoReflect.Descriptor instead.
func (*MultiLayeredNesting_Nested1) ProtoMessage ¶
func (*MultiLayeredNesting_Nested1) ProtoMessage()
func (*MultiLayeredNesting_Nested1) ProtoReflect ¶
func (x *MultiLayeredNesting_Nested1) ProtoReflect() protoreflect.Message
func (*MultiLayeredNesting_Nested1) Reset ¶
func (x *MultiLayeredNesting_Nested1) Reset()
func (*MultiLayeredNesting_Nested1) String ¶
func (x *MultiLayeredNesting_Nested1) String() string
type MultiLayeredNesting_Nested1_Nested2 ¶
type MultiLayeredNesting_Nested1_Nested2 struct { Nested_3 *MultiLayeredNesting_Nested1_Nested2_Nested3 `protobuf:"bytes,1,opt,name=nested_3,json=nested3,proto3" json:"nested_3,omitempty"` // contains filtered or unexported fields }
func (*MultiLayeredNesting_Nested1_Nested2) Descriptor
deprecated
func (*MultiLayeredNesting_Nested1_Nested2) Descriptor() ([]byte, []int)
Deprecated: Use MultiLayeredNesting_Nested1_Nested2.ProtoReflect.Descriptor instead.
func (*MultiLayeredNesting_Nested1_Nested2) GetNested_3 ¶
func (x *MultiLayeredNesting_Nested1_Nested2) GetNested_3() *MultiLayeredNesting_Nested1_Nested2_Nested3
func (*MultiLayeredNesting_Nested1_Nested2) ProtoMessage ¶
func (*MultiLayeredNesting_Nested1_Nested2) ProtoMessage()
func (*MultiLayeredNesting_Nested1_Nested2) ProtoReflect ¶
func (x *MultiLayeredNesting_Nested1_Nested2) ProtoReflect() protoreflect.Message
func (*MultiLayeredNesting_Nested1_Nested2) Reset ¶
func (x *MultiLayeredNesting_Nested1_Nested2) Reset()
func (*MultiLayeredNesting_Nested1_Nested2) String ¶
func (x *MultiLayeredNesting_Nested1_Nested2) String() string
type MultiLayeredNesting_Nested1_Nested2_Nested3 ¶
type MultiLayeredNesting_Nested1_Nested2_Nested3 struct { // Types that are assignable to Nested3Oneof: // *MultiLayeredNesting_Nested1_Nested2_Nested3_Nested_3String // *MultiLayeredNesting_Nested1_Nested2_Nested3_Nested_3Int32 Nested3Oneof isMultiLayeredNesting_Nested1_Nested2_Nested3_Nested3Oneof `protobuf_oneof:"nested3_oneof"` // contains filtered or unexported fields }
func (*MultiLayeredNesting_Nested1_Nested2_Nested3) Descriptor
deprecated
func (*MultiLayeredNesting_Nested1_Nested2_Nested3) Descriptor() ([]byte, []int)
Deprecated: Use MultiLayeredNesting_Nested1_Nested2_Nested3.ProtoReflect.Descriptor instead.
func (*MultiLayeredNesting_Nested1_Nested2_Nested3) GetNested3Oneof ¶
func (x *MultiLayeredNesting_Nested1_Nested2_Nested3) GetNested3Oneof() isMultiLayeredNesting_Nested1_Nested2_Nested3_Nested3Oneof
func (*MultiLayeredNesting_Nested1_Nested2_Nested3) GetNested_3Int32 ¶
func (x *MultiLayeredNesting_Nested1_Nested2_Nested3) GetNested_3Int32() int32
func (*MultiLayeredNesting_Nested1_Nested2_Nested3) GetNested_3String ¶
func (x *MultiLayeredNesting_Nested1_Nested2_Nested3) GetNested_3String() string
func (*MultiLayeredNesting_Nested1_Nested2_Nested3) ProtoMessage ¶
func (*MultiLayeredNesting_Nested1_Nested2_Nested3) ProtoMessage()
func (*MultiLayeredNesting_Nested1_Nested2_Nested3) ProtoReflect ¶
func (x *MultiLayeredNesting_Nested1_Nested2_Nested3) ProtoReflect() protoreflect.Message
func (*MultiLayeredNesting_Nested1_Nested2_Nested3) Reset ¶
func (x *MultiLayeredNesting_Nested1_Nested2_Nested3) Reset()
func (*MultiLayeredNesting_Nested1_Nested2_Nested3) String ¶
func (x *MultiLayeredNesting_Nested1_Nested2_Nested3) String() string
type MultiLayeredNesting_Nested1_Nested2_Nested3_Nested_3Int32 ¶
type MultiLayeredNesting_Nested1_Nested2_Nested3_Nested_3Int32 struct {
Nested_3Int32 int32 `protobuf:"varint,2,opt,name=nested_3_int32,json=nested3Int32,proto3,oneof"`
}
type MultiLayeredNesting_Nested1_Nested2_Nested3_Nested_3String ¶
type MultiLayeredNesting_Nested1_Nested2_Nested3_Nested_3String struct {
Nested_3String string `protobuf:"bytes,1,opt,name=nested_3_string,json=nested3String,proto3,oneof"`
}
type TestAllTypes ¶
type TestAllTypes struct { SingularInt32 int32 `protobuf:"varint,81,opt,name=singular_int32,json=singularInt32,proto3" json:"singular_int32,omitempty"` SingularInt64 int64 `protobuf:"varint,82,opt,name=singular_int64,json=singularInt64,proto3" json:"singular_int64,omitempty"` SingularUint32 uint32 `protobuf:"varint,83,opt,name=singular_uint32,json=singularUint32,proto3" json:"singular_uint32,omitempty"` SingularUint64 uint64 `protobuf:"varint,84,opt,name=singular_uint64,json=singularUint64,proto3" json:"singular_uint64,omitempty"` SingularSint32 int32 `protobuf:"zigzag32,85,opt,name=singular_sint32,json=singularSint32,proto3" json:"singular_sint32,omitempty"` SingularSint64 int64 `protobuf:"zigzag64,86,opt,name=singular_sint64,json=singularSint64,proto3" json:"singular_sint64,omitempty"` SingularFixed32 uint32 `protobuf:"fixed32,87,opt,name=singular_fixed32,json=singularFixed32,proto3" json:"singular_fixed32,omitempty"` SingularFixed64 uint64 `protobuf:"fixed64,88,opt,name=singular_fixed64,json=singularFixed64,proto3" json:"singular_fixed64,omitempty"` SingularSfixed32 int32 `protobuf:"fixed32,89,opt,name=singular_sfixed32,json=singularSfixed32,proto3" json:"singular_sfixed32,omitempty"` SingularSfixed64 int64 `protobuf:"fixed64,90,opt,name=singular_sfixed64,json=singularSfixed64,proto3" json:"singular_sfixed64,omitempty"` SingularFloat float32 `protobuf:"fixed32,91,opt,name=singular_float,json=singularFloat,proto3" json:"singular_float,omitempty"` SingularDouble float64 `protobuf:"fixed64,92,opt,name=singular_double,json=singularDouble,proto3" json:"singular_double,omitempty"` SingularBool bool `protobuf:"varint,93,opt,name=singular_bool,json=singularBool,proto3" json:"singular_bool,omitempty"` SingularString string `protobuf:"bytes,94,opt,name=singular_string,json=singularString,proto3" json:"singular_string,omitempty"` SingularBytes []byte `protobuf:"bytes,95,opt,name=singular_bytes,json=singularBytes,proto3" json:"singular_bytes,omitempty"` SingularNestedMessage *TestAllTypes_NestedMessage `` /* 127-byte string literal not displayed */ SingularForeignMessage *ForeignMessage `` /* 130-byte string literal not displayed */ SingularImportMessage *ImportMessage `` /* 128-byte string literal not displayed */ SingularNestedEnum TestAllTypes_NestedEnum `` /* 169-byte string literal not displayed */ SingularForeignEnum ForeignEnum `` /* 160-byte string literal not displayed */ SingularImportEnum ImportEnum `` /* 156-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 assignable 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"` // contains filtered or unexported fields }
func (*TestAllTypes) Descriptor
deprecated
func (*TestAllTypes) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes.ProtoReflect.Descriptor 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 (x *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) 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) GetSingularBool ¶
func (x *TestAllTypes) GetSingularBool() bool
func (*TestAllTypes) GetSingularBytes ¶
func (x *TestAllTypes) GetSingularBytes() []byte
func (*TestAllTypes) GetSingularDouble ¶
func (x *TestAllTypes) GetSingularDouble() float64
func (*TestAllTypes) GetSingularFixed32 ¶
func (x *TestAllTypes) GetSingularFixed32() uint32
func (*TestAllTypes) GetSingularFixed64 ¶
func (x *TestAllTypes) GetSingularFixed64() uint64
func (*TestAllTypes) GetSingularFloat ¶
func (x *TestAllTypes) GetSingularFloat() float32
func (*TestAllTypes) GetSingularForeignEnum ¶
func (x *TestAllTypes) GetSingularForeignEnum() ForeignEnum
func (*TestAllTypes) GetSingularForeignMessage ¶
func (x *TestAllTypes) GetSingularForeignMessage() *ForeignMessage
func (*TestAllTypes) GetSingularImportEnum ¶
func (x *TestAllTypes) GetSingularImportEnum() ImportEnum
func (*TestAllTypes) GetSingularImportMessage ¶
func (x *TestAllTypes) GetSingularImportMessage() *ImportMessage
func (*TestAllTypes) GetSingularInt32 ¶
func (x *TestAllTypes) GetSingularInt32() int32
func (*TestAllTypes) GetSingularInt64 ¶
func (x *TestAllTypes) GetSingularInt64() int64
func (*TestAllTypes) GetSingularNestedEnum ¶
func (x *TestAllTypes) GetSingularNestedEnum() TestAllTypes_NestedEnum
func (*TestAllTypes) GetSingularNestedMessage ¶
func (x *TestAllTypes) GetSingularNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes) GetSingularSfixed32 ¶
func (x *TestAllTypes) GetSingularSfixed32() int32
func (*TestAllTypes) GetSingularSfixed64 ¶
func (x *TestAllTypes) GetSingularSfixed64() int64
func (*TestAllTypes) GetSingularSint32 ¶
func (x *TestAllTypes) GetSingularSint32() int32
func (*TestAllTypes) GetSingularSint64 ¶
func (x *TestAllTypes) GetSingularSint64() int64
func (*TestAllTypes) GetSingularString ¶
func (x *TestAllTypes) GetSingularString() string
func (*TestAllTypes) GetSingularUint32 ¶
func (x *TestAllTypes) GetSingularUint32() uint32
func (*TestAllTypes) GetSingularUint64 ¶
func (x *TestAllTypes) GetSingularUint64() 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
type TestAllTypes_NestedEnum ¶
type TestAllTypes_NestedEnum int32
NestedEnum should eventually become nested when fast-reflection supports it.
const ( TestAllTypes_FOO TestAllTypes_NestedEnum = 0 TestAllTypes_BAR TestAllTypes_NestedEnum = 1 TestAllTypes_BAZ TestAllTypes_NestedEnum = 2 TestAllTypes_NEG TestAllTypes_NestedEnum = -1 // Intentionally negative. )
func (TestAllTypes_NestedEnum) Descriptor ¶
func (TestAllTypes_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (TestAllTypes_NestedEnum) Enum ¶
func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum
func (TestAllTypes_NestedEnum) EnumDescriptor
deprecated
func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedEnum.Descriptor 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"` // contains filtered or unexported fields }
NestedMessage should eventually become nested when fast-reflection supports it
func (*TestAllTypes_NestedMessage) Descriptor
deprecated
func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Descriptor 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
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"`
}