package proto3_20190205_c823c79e
import "google.golang.org/protobuf/internal/testprotos/legacy/proto3_20190205_c823c79e"
Index ¶
- Variables
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetMapBoolBool() map[bool]bool
- func (m *Message) GetMapBoolBytes() map[bool][]byte
- func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum
- func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage
- func (m *Message) GetMapBoolDouble() map[bool]float64
- func (m *Message) GetMapBoolFixed32() map[bool]uint32
- func (m *Message) GetMapBoolFixed64() map[bool]uint64
- func (m *Message) GetMapBoolFloat() map[bool]float32
- func (m *Message) GetMapBoolInt32() map[bool]int32
- func (m *Message) GetMapBoolInt64() map[bool]int64
- func (m *Message) GetMapBoolSfixed32() map[bool]int32
- func (m *Message) GetMapBoolSfixed64() map[bool]int64
- func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum
- func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage
- func (m *Message) GetMapBoolSint32() map[bool]int32
- func (m *Message) GetMapBoolSint64() map[bool]int64
- func (m *Message) GetMapBoolString() map[bool]string
- func (m *Message) GetMapBoolUint32() map[bool]uint32
- func (m *Message) GetMapBoolUint64() map[bool]uint64
- func (m *Message) GetMapFixed32Bool() map[uint32]bool
- func (m *Message) GetMapInt32Bool() map[int32]bool
- func (m *Message) GetMapInt64Bool() map[int64]bool
- func (m *Message) GetMapSint32Bool() map[int32]bool
- func (m *Message) GetMapSint64Bool() map[int64]bool
- func (m *Message) GetMapStringBool() map[string]bool
- func (m *Message) GetMapUint32Bool() map[uint32]bool
- func (m *Message) GetMapUint64Bool() map[uint64]bool
- func (m *Message) GetOneofBool() bool
- func (m *Message) GetOneofBytes() []byte
- func (m *Message) GetOneofChildEnum() Message_ChildEnum
- func (m *Message) GetOneofChildMessage() *Message_ChildMessage
- func (m *Message) GetOneofDouble() float64
- func (m *Message) GetOneofFixed32() uint32
- func (m *Message) GetOneofFixed64() uint64
- func (m *Message) GetOneofFloat() float32
- func (m *Message) GetOneofInt32() int32
- func (m *Message) GetOneofInt64() int64
- func (m *Message) GetOneofSfixed32() int32
- func (m *Message) GetOneofSfixed64() int64
- func (m *Message) GetOneofSiblingEnum() SiblingEnum
- func (m *Message) GetOneofSiblingMessage() *SiblingMessage
- func (m *Message) GetOneofSint32() int32
- func (m *Message) GetOneofSint64() int64
- func (m *Message) GetOneofString() string
- func (m *Message) GetOneofString1() string
- func (m *Message) GetOneofString2() string
- func (m *Message) GetOneofString3() string
- func (m *Message) GetOneofUint32() uint32
- func (m *Message) GetOneofUint64() uint64
- func (m *Message) GetOneofUnion() isMessage_OneofUnion
- func (m *Message) GetOptionalBool() bool
- func (m *Message) GetOptionalBytes() []byte
- func (m *Message) GetOptionalChildEnum() Message_ChildEnum
- func (m *Message) GetOptionalChildMessage() *Message_ChildMessage
- func (m *Message) GetOptionalDouble() float64
- func (m *Message) GetOptionalFixed32() uint32
- func (m *Message) GetOptionalFixed64() uint64
- func (m *Message) GetOptionalFloat() float32
- func (m *Message) GetOptionalInt32() int32
- func (m *Message) GetOptionalInt64() int64
- func (m *Message) GetOptionalSfixed32() int32
- func (m *Message) GetOptionalSfixed64() int64
- func (m *Message) GetOptionalSiblingEnum() SiblingEnum
- func (m *Message) GetOptionalSiblingMessage() *SiblingMessage
- func (m *Message) GetOptionalSint32() int32
- func (m *Message) GetOptionalSint64() int64
- func (m *Message) GetOptionalString() string
- func (m *Message) GetOptionalUint32() uint32
- func (m *Message) GetOptionalUint64() uint64
- func (m *Message) GetRepeatedBool() []bool
- func (m *Message) GetRepeatedBytes() [][]byte
- func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum
- func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage
- func (m *Message) GetRepeatedDouble() []float64
- func (m *Message) GetRepeatedFixed32() []uint32
- func (m *Message) GetRepeatedFixed64() []uint64
- func (m *Message) GetRepeatedFloat() []float32
- func (m *Message) GetRepeatedInt32() []int32
- func (m *Message) GetRepeatedInt64() []int64
- func (m *Message) GetRepeatedSfixed32() []int32
- func (m *Message) GetRepeatedSfixed64() []int64
- func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum
- func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage
- func (m *Message) GetRepeatedSint32() []int32
- func (m *Message) GetRepeatedSint64() []int64
- func (m *Message) GetRepeatedString() []string
- func (m *Message) GetRepeatedUint32() []uint32
- func (m *Message) GetRepeatedUint64() []uint64
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) String() string
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (*Message) XXX_OneofWrappers() []interface{}
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type Message_ChildEnum
- func (Message_ChildEnum) EnumDescriptor() ([]byte, []int)
- func (x Message_ChildEnum) String() string
- type Message_ChildMessage
- func (*Message_ChildMessage) Descriptor() ([]byte, []int)
- func (m *Message_ChildMessage) GetF1() string
- func (m *Message_ChildMessage) GetF2() []string
- func (m *Message_ChildMessage) GetF3() *Message
- func (*Message_ChildMessage) ProtoMessage()
- func (m *Message_ChildMessage) Reset()
- func (m *Message_ChildMessage) String() string
- func (m *Message_ChildMessage) XXX_DiscardUnknown()
- func (m *Message_ChildMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message_ChildMessage) XXX_Merge(src proto.Message)
- func (m *Message_ChildMessage) XXX_Size() int
- func (m *Message_ChildMessage) XXX_Unmarshal(b []byte) error
- type Message_OneofBool
- type Message_OneofBytes
- type Message_OneofChildEnum
- type Message_OneofChildMessage
- type Message_OneofDouble
- type Message_OneofFixed32
- type Message_OneofFixed64
- type Message_OneofFloat
- type Message_OneofInt32
- type Message_OneofInt64
- type Message_OneofSfixed32
- type Message_OneofSfixed64
- type Message_OneofSiblingEnum
- type Message_OneofSiblingMessage
- type Message_OneofSint32
- type Message_OneofSint64
- type Message_OneofString
- type Message_OneofString1
- type Message_OneofString2
- type Message_OneofString3
- type Message_OneofUint32
- type Message_OneofUint64
- type SiblingEnum
- type SiblingMessage
- func (*SiblingMessage) Descriptor() ([]byte, []int)
- func (m *SiblingMessage) GetF1() string
- func (m *SiblingMessage) GetF2() []string
- func (m *SiblingMessage) GetF3() *Message
- func (*SiblingMessage) ProtoMessage()
- func (m *SiblingMessage) Reset()
- func (m *SiblingMessage) String() string
- func (m *SiblingMessage) XXX_DiscardUnknown()
- func (m *SiblingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SiblingMessage) XXX_Merge(src proto.Message)
- func (m *SiblingMessage) XXX_Size() int
- func (m *SiblingMessage) XXX_Unmarshal(b []byte) error
Variables ¶
Types ¶
type Message ¶
type Message struct { // Optional fields. OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool,proto3" json:"optional_bool,omitempty"` OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32,proto3" json:"optional_int32,omitempty"` OptionalSint32 int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32,proto3" json:"optional_sint32,omitempty"` OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32,proto3" json:"optional_uint32,omitempty"` OptionalInt64 int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64,proto3" json:"optional_int64,omitempty"` OptionalSint64 int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64,proto3" json:"optional_sint64,omitempty"` OptionalUint64 uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64,proto3" json:"optional_uint64,omitempty"` OptionalFixed32 uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32,proto3" json:"optional_fixed32,omitempty"` OptionalSfixed32 int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32,proto3" json:"optional_sfixed32,omitempty"` OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat,proto3" json:"optional_float,omitempty"` OptionalFixed64 uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64,proto3" json:"optional_fixed64,omitempty"` OptionalSfixed64 int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64,proto3" json:"optional_sfixed64,omitempty"` OptionalDouble float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble,proto3" json:"optional_double,omitempty"` OptionalString string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString,proto3" json:"optional_string,omitempty"` OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"` OptionalChildEnum Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,proto3,enum=google.golang.org.proto3_20190205.Message_ChildEnum" json:"optional_child_enum,omitempty"` OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage,proto3" json:"optional_child_message,omitempty"` OptionalSiblingEnum SiblingEnum `protobuf:"varint,117,opt,name=optional_sibling_enum,json=optionalSiblingEnum,proto3,enum=google.golang.org.proto3_20190205.SiblingEnum" json:"optional_sibling_enum,omitempty"` OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,118,opt,name=optional_sibling_message,json=optionalSiblingMessage,proto3" json:"optional_sibling_message,omitempty"` // Repeated fields. RepeatedBool []bool `protobuf:"varint,200,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"` RepeatedInt32 []int32 `protobuf:"varint,201,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"` RepeatedSint32 []int32 `protobuf:"zigzag32,202,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"` RepeatedUint32 []uint32 `protobuf:"varint,203,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"` RepeatedInt64 []int64 `protobuf:"varint,204,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"` RepeatedSint64 []int64 `protobuf:"zigzag64,205,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"` RepeatedUint64 []uint64 `protobuf:"varint,206,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"` RepeatedFixed32 []uint32 `protobuf:"fixed32,207,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"` RepeatedSfixed32 []int32 `protobuf:"fixed32,208,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"` RepeatedFloat []float32 `protobuf:"fixed32,209,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"` RepeatedFixed64 []uint64 `protobuf:"fixed64,210,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"` RepeatedSfixed64 []int64 `protobuf:"fixed64,211,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"` RepeatedDouble []float64 `protobuf:"fixed64,212,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"` RepeatedString []string `protobuf:"bytes,213,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"` RepeatedBytes [][]byte `protobuf:"bytes,214,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"` RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,215,rep,packed,name=repeated_child_enum,json=repeatedChildEnum,proto3,enum=google.golang.org.proto3_20190205.Message_ChildEnum" json:"repeated_child_enum,omitempty"` RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,216,rep,name=repeated_child_message,json=repeatedChildMessage,proto3" json:"repeated_child_message,omitempty"` RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,217,rep,packed,name=repeated_sibling_enum,json=repeatedSiblingEnum,proto3,enum=google.golang.org.proto3_20190205.SiblingEnum" json:"repeated_sibling_enum,omitempty"` RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,218,rep,name=repeated_sibling_message,json=repeatedSiblingMessage,proto3" json:"repeated_sibling_message,omitempty"` // Map fields. MapBoolBool map[bool]bool `protobuf:"bytes,300,rep,name=map_bool_bool,json=mapBoolBool,proto3" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapBoolInt32 map[bool]int32 `protobuf:"bytes,301,rep,name=map_bool_int32,json=mapBoolInt32,proto3" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapBoolSint32 map[bool]int32 `protobuf:"bytes,302,rep,name=map_bool_sint32,json=mapBoolSint32,proto3" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"zigzag32,2,opt,name=value,proto3"` MapBoolUint32 map[bool]uint32 `protobuf:"bytes,303,rep,name=map_bool_uint32,json=mapBoolUint32,proto3" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapBoolInt64 map[bool]int64 `protobuf:"bytes,304,rep,name=map_bool_int64,json=mapBoolInt64,proto3" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapBoolSint64 map[bool]int64 `protobuf:"bytes,305,rep,name=map_bool_sint64,json=mapBoolSint64,proto3" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"zigzag64,2,opt,name=value,proto3"` MapBoolUint64 map[bool]uint64 `protobuf:"bytes,306,rep,name=map_bool_uint64,json=mapBoolUint64,proto3" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,307,rep,name=map_bool_fixed32,json=mapBoolFixed32,proto3" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,308,rep,name=map_bool_sfixed32,json=mapBoolSfixed32,proto3" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` MapBoolFloat map[bool]float32 `protobuf:"bytes,309,rep,name=map_bool_float,json=mapBoolFloat,proto3" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,310,rep,name=map_bool_fixed64,json=mapBoolFixed64,proto3" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,311,rep,name=map_bool_sfixed64,json=mapBoolSfixed64,proto3" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` MapBoolDouble map[bool]float64 `protobuf:"bytes,312,rep,name=map_bool_double,json=mapBoolDouble,proto3" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` MapBoolString map[bool]string `protobuf:"bytes,313,rep,name=map_bool_string,json=mapBoolString,proto3" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapBoolBytes map[bool][]byte `protobuf:"bytes,314,rep,name=map_bool_bytes,json=mapBoolBytes,proto3" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,315,rep,name=map_bool_child_enum,json=mapBoolChildEnum,proto3" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.golang.org.proto3_20190205.Message_ChildEnum"` MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,316,rep,name=map_bool_child_message,json=mapBoolChildMessage,proto3" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,317,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum,proto3" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.golang.org.proto3_20190205.SiblingEnum"` MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,318,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage,proto3" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapInt32Bool map[int32]bool `protobuf:"bytes,319,rep,name=map_int32_bool,json=mapInt32Bool,proto3" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapSint32Bool map[int32]bool `protobuf:"bytes,320,rep,name=map_sint32_bool,json=mapSint32Bool,proto3" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapUint32Bool map[uint32]bool `protobuf:"bytes,321,rep,name=map_uint32_bool,json=mapUint32Bool,proto3" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapInt64Bool map[int64]bool `protobuf:"bytes,322,rep,name=map_int64_bool,json=mapInt64Bool,proto3" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapSint64Bool map[int64]bool `protobuf:"bytes,323,rep,name=map_sint64_bool,json=mapSint64Bool,proto3" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapUint64Bool map[uint64]bool `protobuf:"bytes,324,rep,name=map_uint64_bool,json=mapUint64Bool,proto3" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapFixed32Bool map[uint32]bool `protobuf:"bytes,325,rep,name=map_fixed32_bool,json=mapFixed32Bool,proto3" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapStringBool map[string]bool `protobuf:"bytes,326,rep,name=map_string_bool,json=mapStringBool,proto3" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // Oneof fields. // // Types that are valid to be assigned to OneofUnion: // *Message_OneofBool // *Message_OneofInt32 // *Message_OneofSint32 // *Message_OneofUint32 // *Message_OneofInt64 // *Message_OneofSint64 // *Message_OneofUint64 // *Message_OneofFixed32 // *Message_OneofSfixed32 // *Message_OneofFloat // *Message_OneofFixed64 // *Message_OneofSfixed64 // *Message_OneofDouble // *Message_OneofString // *Message_OneofBytes // *Message_OneofChildEnum // *Message_OneofChildMessage // *Message_OneofSiblingEnum // *Message_OneofSiblingMessage // *Message_OneofString1 // *Message_OneofString2 // *Message_OneofString3 OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Message) Descriptor ¶
func (*Message) GetMapBoolBool ¶
func (*Message) GetMapBoolBytes ¶
func (*Message) GetMapBoolChildEnum ¶
func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum
func (*Message) GetMapBoolChildMessage ¶
func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage
func (*Message) GetMapBoolDouble ¶
func (*Message) GetMapBoolFixed32 ¶
func (*Message) GetMapBoolFixed64 ¶
func (*Message) GetMapBoolFloat ¶
func (*Message) GetMapBoolInt32 ¶
func (*Message) GetMapBoolInt64 ¶
func (*Message) GetMapBoolSfixed32 ¶
func (*Message) GetMapBoolSfixed64 ¶
func (*Message) GetMapBoolSiblingEnum ¶
func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum
func (*Message) GetMapBoolSiblingMessage ¶
func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage
func (*Message) GetMapBoolSint32 ¶
func (*Message) GetMapBoolSint64 ¶
func (*Message) GetMapBoolString ¶
func (*Message) GetMapBoolUint32 ¶
func (*Message) GetMapBoolUint64 ¶
func (*Message) GetMapFixed32Bool ¶
func (*Message) GetMapInt32Bool ¶
func (*Message) GetMapInt64Bool ¶
func (*Message) GetMapSint32Bool ¶
func (*Message) GetMapSint64Bool ¶
func (*Message) GetMapStringBool ¶
func (*Message) GetMapUint32Bool ¶
func (*Message) GetMapUint64Bool ¶
func (*Message) GetOneofBool ¶
func (*Message) GetOneofBytes ¶
func (*Message) GetOneofChildEnum ¶
func (m *Message) GetOneofChildEnum() Message_ChildEnum
func (*Message) GetOneofChildMessage ¶
func (m *Message) GetOneofChildMessage() *Message_ChildMessage
func (*Message) GetOneofDouble ¶
func (*Message) GetOneofFixed32 ¶
func (*Message) GetOneofFixed64 ¶
func (*Message) GetOneofFloat ¶
func (*Message) GetOneofInt32 ¶
func (*Message) GetOneofInt64 ¶
func (*Message) GetOneofSfixed32 ¶
func (*Message) GetOneofSfixed64 ¶
func (*Message) GetOneofSiblingEnum ¶
func (m *Message) GetOneofSiblingEnum() SiblingEnum
func (*Message) GetOneofSiblingMessage ¶
func (m *Message) GetOneofSiblingMessage() *SiblingMessage
func (*Message) GetOneofSint32 ¶
func (*Message) GetOneofSint64 ¶
func (*Message) GetOneofString ¶
func (*Message) GetOneofString1 ¶
func (*Message) GetOneofString2 ¶
func (*Message) GetOneofString3 ¶
func (*Message) GetOneofUint32 ¶
func (*Message) GetOneofUint64 ¶
func (*Message) GetOneofUnion ¶
func (m *Message) GetOneofUnion() isMessage_OneofUnion
func (*Message) GetOptionalBool ¶
func (*Message) GetOptionalBytes ¶
func (*Message) GetOptionalChildEnum ¶
func (m *Message) GetOptionalChildEnum() Message_ChildEnum
func (*Message) GetOptionalChildMessage ¶
func (m *Message) GetOptionalChildMessage() *Message_ChildMessage
func (*Message) GetOptionalDouble ¶
func (*Message) GetOptionalFixed32 ¶
func (*Message) GetOptionalFixed64 ¶
func (*Message) GetOptionalFloat ¶
func (*Message) GetOptionalInt32 ¶
func (*Message) GetOptionalInt64 ¶
func (*Message) GetOptionalSfixed32 ¶
func (*Message) GetOptionalSfixed64 ¶
func (*Message) GetOptionalSiblingEnum ¶
func (m *Message) GetOptionalSiblingEnum() SiblingEnum
func (*Message) GetOptionalSiblingMessage ¶
func (m *Message) GetOptionalSiblingMessage() *SiblingMessage
func (*Message) GetOptionalSint32 ¶
func (*Message) GetOptionalSint64 ¶
func (*Message) GetOptionalString ¶
func (*Message) GetOptionalUint32 ¶
func (*Message) GetOptionalUint64 ¶
func (*Message) GetRepeatedBool ¶
func (*Message) GetRepeatedBytes ¶
func (*Message) GetRepeatedChildEnum ¶
func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum
func (*Message) GetRepeatedChildMessage ¶
func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage
func (*Message) GetRepeatedDouble ¶
func (*Message) GetRepeatedFixed32 ¶
func (*Message) GetRepeatedFixed64 ¶
func (*Message) GetRepeatedFloat ¶
func (*Message) GetRepeatedInt32 ¶
func (*Message) GetRepeatedInt64 ¶
func (*Message) GetRepeatedSfixed32 ¶
func (*Message) GetRepeatedSfixed64 ¶
func (*Message) GetRepeatedSiblingEnum ¶
func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum
func (*Message) GetRepeatedSiblingMessage ¶
func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage
func (*Message) GetRepeatedSint32 ¶
func (*Message) GetRepeatedSint64 ¶
func (*Message) GetRepeatedString ¶
func (*Message) GetRepeatedUint32 ¶
func (*Message) GetRepeatedUint64 ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) Reset ¶
func (m *Message) Reset()
func (*Message) String ¶
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_Merge ¶
func (*Message) XXX_OneofWrappers ¶
func (*Message) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Message) XXX_Size ¶
func (*Message) XXX_Unmarshal ¶
type Message_ChildEnum ¶
type Message_ChildEnum int32
const ( Message_ALPHA Message_ChildEnum = 0 Message_BRAVO Message_ChildEnum = 1 Message_CHARLIE Message_ChildEnum = 2 )
func (Message_ChildEnum) EnumDescriptor ¶
func (Message_ChildEnum) EnumDescriptor() ([]byte, []int)
func (Message_ChildEnum) String ¶
func (x Message_ChildEnum) String() string
type Message_ChildMessage ¶
type Message_ChildMessage struct { F1 string `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"` F2 []string `protobuf:"bytes,2,rep,name=f2,proto3" json:"f2,omitempty"` F3 *Message `protobuf:"bytes,3,opt,name=f3,proto3" json:"f3,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Message_ChildMessage) Descriptor ¶
func (*Message_ChildMessage) Descriptor() ([]byte, []int)
func (*Message_ChildMessage) GetF1 ¶
func (m *Message_ChildMessage) GetF1() string
func (*Message_ChildMessage) GetF2 ¶
func (m *Message_ChildMessage) GetF2() []string
func (*Message_ChildMessage) GetF3 ¶
func (m *Message_ChildMessage) GetF3() *Message
func (*Message_ChildMessage) ProtoMessage ¶
func (*Message_ChildMessage) ProtoMessage()
func (*Message_ChildMessage) Reset ¶
func (m *Message_ChildMessage) Reset()
func (*Message_ChildMessage) String ¶
func (m *Message_ChildMessage) String() string
func (*Message_ChildMessage) XXX_DiscardUnknown ¶
func (m *Message_ChildMessage) XXX_DiscardUnknown()
func (*Message_ChildMessage) XXX_Marshal ¶
func (m *Message_ChildMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Message_ChildMessage) XXX_Merge ¶
func (m *Message_ChildMessage) XXX_Merge(src proto.Message)
func (*Message_ChildMessage) XXX_Size ¶
func (m *Message_ChildMessage) XXX_Size() int
func (*Message_ChildMessage) XXX_Unmarshal ¶
func (m *Message_ChildMessage) XXX_Unmarshal(b []byte) error
type Message_OneofBool ¶
type Message_OneofBool struct { OneofBool bool `protobuf:"varint,400,opt,name=oneof_bool,json=oneofBool,proto3,oneof"` }
type Message_OneofBytes ¶
type Message_OneofBytes struct { OneofBytes []byte `protobuf:"bytes,414,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"` }
type Message_OneofChildEnum ¶
type Message_OneofChildEnum struct { OneofChildEnum Message_ChildEnum `protobuf:"varint,415,opt,name=oneof_child_enum,json=oneofChildEnum,proto3,enum=google.golang.org.proto3_20190205.Message_ChildEnum,oneof"` }
type Message_OneofChildMessage ¶
type Message_OneofChildMessage struct { OneofChildMessage *Message_ChildMessage `protobuf:"bytes,416,opt,name=oneof_child_message,json=oneofChildMessage,proto3,oneof"` }
type Message_OneofDouble ¶
type Message_OneofDouble struct { OneofDouble float64 `protobuf:"fixed64,412,opt,name=oneof_double,json=oneofDouble,proto3,oneof"` }
type Message_OneofFixed32 ¶
type Message_OneofFixed32 struct { OneofFixed32 uint32 `protobuf:"fixed32,407,opt,name=oneof_fixed32,json=oneofFixed32,proto3,oneof"` }
type Message_OneofFixed64 ¶
type Message_OneofFixed64 struct { OneofFixed64 uint64 `protobuf:"fixed64,410,opt,name=oneof_fixed64,json=oneofFixed64,proto3,oneof"` }
type Message_OneofFloat ¶
type Message_OneofFloat struct { OneofFloat float32 `protobuf:"fixed32,409,opt,name=oneof_float,json=oneofFloat,proto3,oneof"` }
type Message_OneofInt32 ¶
type Message_OneofInt32 struct { OneofInt32 int32 `protobuf:"varint,401,opt,name=oneof_int32,json=oneofInt32,proto3,oneof"` }
type Message_OneofInt64 ¶
type Message_OneofInt64 struct { OneofInt64 int64 `protobuf:"varint,404,opt,name=oneof_int64,json=oneofInt64,proto3,oneof"` }
type Message_OneofSfixed32 ¶
type Message_OneofSfixed32 struct { OneofSfixed32 int32 `protobuf:"fixed32,408,opt,name=oneof_sfixed32,json=oneofSfixed32,proto3,oneof"` }
type Message_OneofSfixed64 ¶
type Message_OneofSfixed64 struct { OneofSfixed64 int64 `protobuf:"fixed64,411,opt,name=oneof_sfixed64,json=oneofSfixed64,proto3,oneof"` }
type Message_OneofSiblingEnum ¶
type Message_OneofSiblingEnum struct { OneofSiblingEnum SiblingEnum `protobuf:"varint,417,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,proto3,enum=google.golang.org.proto3_20190205.SiblingEnum,oneof"` }
type Message_OneofSiblingMessage ¶
type Message_OneofSiblingMessage struct { OneofSiblingMessage *SiblingMessage `protobuf:"bytes,418,opt,name=oneof_sibling_message,json=oneofSiblingMessage,proto3,oneof"` }
type Message_OneofSint32 ¶
type Message_OneofSint32 struct { OneofSint32 int32 `protobuf:"zigzag32,402,opt,name=oneof_sint32,json=oneofSint32,proto3,oneof"` }
type Message_OneofSint64 ¶
type Message_OneofSint64 struct { OneofSint64 int64 `protobuf:"zigzag64,405,opt,name=oneof_sint64,json=oneofSint64,proto3,oneof"` }
type Message_OneofString ¶
type Message_OneofString struct { OneofString string `protobuf:"bytes,413,opt,name=oneof_string,json=oneofString,proto3,oneof"` }
type Message_OneofString1 ¶
type Message_OneofString1 struct { OneofString1 string `protobuf:"bytes,419,opt,name=oneof_string1,json=oneofString1,proto3,oneof"` }
type Message_OneofString2 ¶
type Message_OneofString2 struct { OneofString2 string `protobuf:"bytes,420,opt,name=oneof_string2,json=oneofString2,proto3,oneof"` }
type Message_OneofString3 ¶
type Message_OneofString3 struct { OneofString3 string `protobuf:"bytes,421,opt,name=oneof_string3,json=oneofString3,proto3,oneof"` }
type Message_OneofUint32 ¶
type Message_OneofUint32 struct { OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"` }
type Message_OneofUint64 ¶
type Message_OneofUint64 struct { OneofUint64 uint64 `protobuf:"varint,406,opt,name=oneof_uint64,json=oneofUint64,proto3,oneof"` }
type SiblingEnum ¶
type SiblingEnum int32
const ( SiblingEnum_ALPHA SiblingEnum = 0 SiblingEnum_BRAVO SiblingEnum = 10 SiblingEnum_CHARLIE SiblingEnum = 200 )
func (SiblingEnum) EnumDescriptor ¶
func (SiblingEnum) EnumDescriptor() ([]byte, []int)
func (SiblingEnum) String ¶
func (x SiblingEnum) String() string
type SiblingMessage ¶
type SiblingMessage struct { F1 string `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"` F2 []string `protobuf:"bytes,2,rep,name=f2,proto3" json:"f2,omitempty"` F3 *Message `protobuf:"bytes,3,opt,name=f3,proto3" json:"f3,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SiblingMessage) Descriptor ¶
func (*SiblingMessage) Descriptor() ([]byte, []int)
func (*SiblingMessage) GetF1 ¶
func (m *SiblingMessage) GetF1() string
func (*SiblingMessage) GetF2 ¶
func (m *SiblingMessage) GetF2() []string
func (*SiblingMessage) GetF3 ¶
func (m *SiblingMessage) GetF3() *Message
func (*SiblingMessage) ProtoMessage ¶
func (*SiblingMessage) ProtoMessage()
func (*SiblingMessage) Reset ¶
func (m *SiblingMessage) Reset()
func (*SiblingMessage) String ¶
func (m *SiblingMessage) String() string
func (*SiblingMessage) XXX_DiscardUnknown ¶
func (m *SiblingMessage) XXX_DiscardUnknown()
func (*SiblingMessage) XXX_Marshal ¶
func (m *SiblingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SiblingMessage) XXX_Merge ¶
func (m *SiblingMessage) XXX_Merge(src proto.Message)
func (*SiblingMessage) XXX_Size ¶
func (m *SiblingMessage) XXX_Size() int
func (*SiblingMessage) XXX_Unmarshal ¶
func (m *SiblingMessage) XXX_Unmarshal(b []byte) error
Source Files ¶
test.pb.go
- Version
- v1.36.5 (latest)
- Published
- Feb 6, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 10 hours ago –
Tools for package owners.