Documentation
¶
Index ¶
- Variables
- type AddressBook
- type Book
- func (*Book) Descriptor() ([]byte, []int)deprecated
- func (x *Book) GetAuthor() string
- func (x *Book) GetOnSale() bool
- func (x *Book) GetPages() int32
- func (x *Book) GetPrice() float32
- func (x *Book) GetTitle() string
- func (*Book) ProtoMessage()
- func (x *Book) ProtoReflect() protoreflect.Message
- func (x *Book) Reset()
- func (x *Book) String() string
- type Bookstore
- type MessageWithAllowAliasEnum
- func (*MessageWithAllowAliasEnum) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithAllowAliasEnum) GetEnumField() MessageWithAllowAliasEnum_Enum
- func (x *MessageWithAllowAliasEnum) GetStringField() string
- func (*MessageWithAllowAliasEnum) ProtoMessage()
- func (x *MessageWithAllowAliasEnum) ProtoReflect() protoreflect.Message
- func (x *MessageWithAllowAliasEnum) Reset()
- func (x *MessageWithAllowAliasEnum) String() string
- type MessageWithAllowAliasEnum_Enum
- func (MessageWithAllowAliasEnum_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x MessageWithAllowAliasEnum_Enum) Enum() *MessageWithAllowAliasEnum_Enum
- func (MessageWithAllowAliasEnum_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageWithAllowAliasEnum_Enum) Number() protoreflect.EnumNumber
- func (x MessageWithAllowAliasEnum_Enum) String() string
- func (MessageWithAllowAliasEnum_Enum) Type() protoreflect.EnumType
- type MessageWithEnum
- func (*MessageWithEnum) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithEnum) GetEnumField() MessageWithEnum_Enum
- func (x *MessageWithEnum) GetStringField() string
- func (*MessageWithEnum) ProtoMessage()
- func (x *MessageWithEnum) ProtoReflect() protoreflect.Message
- func (x *MessageWithEnum) Reset()
- func (x *MessageWithEnum) String() string
- type MessageWithEnumHolder
- func (*MessageWithEnumHolder) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithEnumHolder) GetMessages() []*MessageWithEnum
- func (x *MessageWithEnumHolder) GetMessagesWithAlias() []*MessageWithAllowAliasEnum
- func (*MessageWithEnumHolder) ProtoMessage()
- func (x *MessageWithEnumHolder) ProtoReflect() protoreflect.Message
- func (x *MessageWithEnumHolder) Reset()
- func (x *MessageWithEnumHolder) String() string
- type MessageWithEnum_Enum
- func (MessageWithEnum_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x MessageWithEnum_Enum) Enum() *MessageWithEnum_Enum
- func (MessageWithEnum_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageWithEnum_Enum) Number() protoreflect.EnumNumber
- func (x MessageWithEnum_Enum) String() string
- func (MessageWithEnum_Enum) Type() protoreflect.EnumType
- type MessageWithMap
- func (*MessageWithMap) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithMap) GetBoolBoolMap() map[bool]bool
- func (x *MessageWithMap) GetBoolBytesMap() map[bool][]byte
- func (x *MessageWithMap) GetBoolDoubleMap() map[bool]float64
- func (x *MessageWithMap) GetBoolFloatMap() map[bool]float32
- func (x *MessageWithMap) GetBoolInnerMap() map[bool]*MessageWithMap_InnerMessage
- func (x *MessageWithMap) GetBoolIntMap() map[bool]int32
- func (x *MessageWithMap) GetBoolStringMap() map[bool]string
- func (x *MessageWithMap) GetFixed32InnerMap() map[uint32]*MessageWithMap_InnerMessage
- func (x *MessageWithMap) GetFixed64InnerMap() map[uint64]*MessageWithMap_InnerMessage
- func (x *MessageWithMap) GetInt32InnerMap() map[int32]*MessageWithMap_InnerMessage
- func (x *MessageWithMap) GetInt64InnerMap() map[int64]*MessageWithMap_InnerMessage
- func (x *MessageWithMap) GetIntBoolMap() map[int32]bool
- func (x *MessageWithMap) GetIntBytesMap() map[int32][]byte
- func (x *MessageWithMap) GetIntDoubleMap() map[int32]float64
- func (x *MessageWithMap) GetIntFloatMap() map[int32]float32
- func (x *MessageWithMap) GetIntIntMap() map[int32]int32
- func (x *MessageWithMap) GetIntStringMap() map[int32]string
- func (x *MessageWithMap) GetSfixed32InnerMap() map[int32]*MessageWithMap_InnerMessage
- func (x *MessageWithMap) GetSfixed64InnerMap() map[int64]*MessageWithMap_InnerMessage
- func (x *MessageWithMap) GetSint32InnerMap() map[int32]*MessageWithMap_InnerMessage
- func (x *MessageWithMap) GetSint64InnerMap() map[int64]*MessageWithMap_InnerMessage
- func (x *MessageWithMap) GetStringBoolMap() map[string]bool
- func (x *MessageWithMap) GetStringBytesMap() map[string][]byte
- func (x *MessageWithMap) GetStringDoubleMap() map[string]float64
- func (x *MessageWithMap) GetStringFloatMap() map[string]float32
- func (x *MessageWithMap) GetStringInnerMap() map[string]*MessageWithMap_InnerMessage
- func (x *MessageWithMap) GetStringIntMap() map[string]int32
- func (x *MessageWithMap) GetStringStringMap() map[string]string
- func (x *MessageWithMap) GetUint32InnerMap() map[uint32]*MessageWithMap_InnerMessage
- func (x *MessageWithMap) GetUint64InnerMap() map[uint64]*MessageWithMap_InnerMessage
- func (*MessageWithMap) ProtoMessage()
- func (x *MessageWithMap) ProtoReflect() protoreflect.Message
- func (x *MessageWithMap) Reset()
- func (x *MessageWithMap) String() string
- type MessageWithMapHolder
- func (*MessageWithMapHolder) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithMapHolder) GetMessagesWithMap() []*MessageWithMap
- func (*MessageWithMapHolder) ProtoMessage()
- func (x *MessageWithMapHolder) ProtoReflect() protoreflect.Message
- func (x *MessageWithMapHolder) Reset()
- func (x *MessageWithMapHolder) String() string
- type MessageWithMap_InnerMessage
- func (*MessageWithMap_InnerMessage) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithMap_InnerMessage) GetInnerArr() []int32
- func (x *MessageWithMap_InnerMessage) GetInnerInt() int32
- func (x *MessageWithMap_InnerMessage) GetInnerString() string
- func (*MessageWithMap_InnerMessage) ProtoMessage()
- func (x *MessageWithMap_InnerMessage) ProtoReflect() protoreflect.Message
- func (x *MessageWithMap_InnerMessage) Reset()
- func (x *MessageWithMap_InnerMessage) String() string
- type Person
- func (*Person) Descriptor() ([]byte, []int)deprecated
- func (x *Person) GetEmail() string
- func (x *Person) GetId() int32
- func (x *Person) GetLastUpdated() *timestamppb.Timestamp
- func (x *Person) GetName() string
- func (x *Person) GetPhones() []*Person_PhoneNumber
- func (*Person) ProtoMessage()
- func (x *Person) ProtoReflect() protoreflect.Message
- func (x *Person) Reset()
- func (x *Person) String() string
- type Person_PhoneNumber
- func (*Person_PhoneNumber) Descriptor() ([]byte, []int)deprecated
- func (x *Person_PhoneNumber) GetNumber() string
- func (x *Person_PhoneNumber) GetType() PhoneType
- func (*Person_PhoneNumber) ProtoMessage()
- func (x *Person_PhoneNumber) ProtoReflect() protoreflect.Message
- func (x *Person_PhoneNumber) Reset()
- func (x *Person_PhoneNumber) String() string
- type PhoneType
- type Recursion
- func (*Recursion) Descriptor() ([]byte, []int)deprecated
- func (x *Recursion) GetChildren() []*Recursion
- func (x *Recursion) GetIntVal() int32
- func (x *Recursion) GetStringVal() string
- func (*Recursion) ProtoMessage()
- func (x *Recursion) ProtoReflect() protoreflect.Message
- func (x *Recursion) Reset()
- func (x *Recursion) String() string
- type RepeatedScalarHolder
- func (*RepeatedScalarHolder) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedScalarHolder) GetItems() []*RepeatedScalarsItem
- func (*RepeatedScalarHolder) ProtoMessage()
- func (x *RepeatedScalarHolder) ProtoReflect() protoreflect.Message
- func (x *RepeatedScalarHolder) Reset()
- func (x *RepeatedScalarHolder) String() string
- type RepeatedScalarsItem
- func (*RepeatedScalarsItem) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedScalarsItem) GetBools() []bool
- func (x *RepeatedScalarsItem) GetBytes() []byte
- func (x *RepeatedScalarsItem) GetFloats() []float32
- func (x *RepeatedScalarsItem) GetInt32S() []int32
- func (x *RepeatedScalarsItem) GetInt64S() []int64
- func (x *RepeatedScalarsItem) GetStrings() []string
- func (x *RepeatedScalarsItem) GetUint32S() []uint32
- func (x *RepeatedScalarsItem) GetUint64S() []uint64
- func (*RepeatedScalarsItem) ProtoMessage()
- func (x *RepeatedScalarsItem) ProtoReflect() protoreflect.Message
- func (x *RepeatedScalarsItem) Reset()
- func (x *RepeatedScalarsItem) String() string
Constants ¶
This section is empty.
Variables ¶
var ( PhoneType_name = map[int32]string{ 0: "PHONE_TYPE_UNSPECIFIED", 1: "PHONE_TYPE_MOBILE", 2: "PHONE_TYPE_HOME", 3: "PHONE_TYPE_WORK", } PhoneType_value = map[string]int32{ "PHONE_TYPE_UNSPECIFIED": 0, "PHONE_TYPE_MOBILE": 1, "PHONE_TYPE_HOME": 2, "PHONE_TYPE_WORK": 3, } )
Enum value maps for PhoneType.
var ( MessageWithEnum_Enum_name = map[int32]string{ 0: "ENUM1", 1: "ENUM2", 2: "ENUM3", } MessageWithEnum_Enum_value = map[string]int32{ "ENUM1": 0, "ENUM2": 1, "ENUM3": 2, } )
Enum value maps for MessageWithEnum_Enum.
var ( MessageWithAllowAliasEnum_Enum_name = map[int32]string{ 0: "ENUM1", 1: "ENUM2", 2: "ENUM3", } MessageWithAllowAliasEnum_Enum_value = map[string]int32{ "ENUM1": 0, "ENUM2": 1, "ALIAS_ENUM2": 1, "ENUM3": 2, } )
Enum value maps for MessageWithAllowAliasEnum_Enum.
var File_proto_addressbook_proto protoreflect.FileDescriptor
var File_proto_bookstore_proto protoreflect.FileDescriptor
var File_proto_message_with_enum_proto protoreflect.FileDescriptor
var File_proto_message_with_map_proto protoreflect.FileDescriptor
var File_proto_recursive_proto protoreflect.FileDescriptor
var File_proto_repeated_scalarts_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AddressBook ¶
type AddressBook struct { People []*Person `protobuf:"bytes,1,rep,name=people,proto3" json:"people,omitempty"` // contains filtered or unexported fields }
Our address book file is just one of these.
func (*AddressBook) Descriptor
deprecated
func (*AddressBook) Descriptor() ([]byte, []int)
Deprecated: Use AddressBook.ProtoReflect.Descriptor instead.
func (*AddressBook) GetPeople ¶
func (x *AddressBook) GetPeople() []*Person
func (*AddressBook) ProtoMessage ¶
func (*AddressBook) ProtoMessage()
func (*AddressBook) ProtoReflect ¶
func (x *AddressBook) ProtoReflect() protoreflect.Message
func (*AddressBook) Reset ¶
func (x *AddressBook) Reset()
func (*AddressBook) String ¶
func (x *AddressBook) String() string
type Book ¶
type Book struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Author string `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` Price float32 `protobuf:"fixed32,3,opt,name=price,proto3" json:"price,omitempty"` Pages int32 `protobuf:"varint,4,opt,name=pages,proto3" json:"pages,omitempty"` OnSale bool `protobuf:"varint,5,opt,name=on_sale,json=onSale,proto3" json:"on_sale,omitempty"` // contains filtered or unexported fields }
The Book message represents a book.
func (*Book) Descriptor
deprecated
func (*Book) ProtoMessage ¶
func (*Book) ProtoMessage()
func (*Book) ProtoReflect ¶
func (x *Book) ProtoReflect() protoreflect.Message
type Bookstore ¶
type Bookstore struct { Books []*Book `protobuf:"bytes,1,rep,name=books,proto3" json:"books,omitempty"` // contains filtered or unexported fields }
The bookstore message represents a bookstore.
func (*Bookstore) Descriptor
deprecated
func (*Bookstore) ProtoMessage ¶
func (*Bookstore) ProtoMessage()
func (*Bookstore) ProtoReflect ¶
func (x *Bookstore) ProtoReflect() protoreflect.Message
type MessageWithAllowAliasEnum ¶
type MessageWithAllowAliasEnum struct { EnumField MessageWithAllowAliasEnum_Enum `` /* 136-byte string literal not displayed */ StringField string `protobuf:"bytes,2,opt,name=string_field,json=stringField,proto3" json:"string_field,omitempty"` // contains filtered or unexported fields }
func (*MessageWithAllowAliasEnum) Descriptor
deprecated
func (*MessageWithAllowAliasEnum) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithAllowAliasEnum.ProtoReflect.Descriptor instead.
func (*MessageWithAllowAliasEnum) GetEnumField ¶
func (x *MessageWithAllowAliasEnum) GetEnumField() MessageWithAllowAliasEnum_Enum
func (*MessageWithAllowAliasEnum) GetStringField ¶
func (x *MessageWithAllowAliasEnum) GetStringField() string
func (*MessageWithAllowAliasEnum) ProtoMessage ¶
func (*MessageWithAllowAliasEnum) ProtoMessage()
func (*MessageWithAllowAliasEnum) ProtoReflect ¶
func (x *MessageWithAllowAliasEnum) ProtoReflect() protoreflect.Message
func (*MessageWithAllowAliasEnum) Reset ¶
func (x *MessageWithAllowAliasEnum) Reset()
func (*MessageWithAllowAliasEnum) String ¶
func (x *MessageWithAllowAliasEnum) String() string
type MessageWithAllowAliasEnum_Enum ¶
type MessageWithAllowAliasEnum_Enum int32
const ( MessageWithAllowAliasEnum_ENUM1 MessageWithAllowAliasEnum_Enum = 0 MessageWithAllowAliasEnum_ENUM2 MessageWithAllowAliasEnum_Enum = 1 MessageWithAllowAliasEnum_ALIAS_ENUM2 MessageWithAllowAliasEnum_Enum = 1 MessageWithAllowAliasEnum_ENUM3 MessageWithAllowAliasEnum_Enum = 2 )
func (MessageWithAllowAliasEnum_Enum) Descriptor ¶
func (MessageWithAllowAliasEnum_Enum) Descriptor() protoreflect.EnumDescriptor
func (MessageWithAllowAliasEnum_Enum) Enum ¶
func (x MessageWithAllowAliasEnum_Enum) Enum() *MessageWithAllowAliasEnum_Enum
func (MessageWithAllowAliasEnum_Enum) EnumDescriptor
deprecated
func (MessageWithAllowAliasEnum_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageWithAllowAliasEnum_Enum.Descriptor instead.
func (MessageWithAllowAliasEnum_Enum) Number ¶
func (x MessageWithAllowAliasEnum_Enum) Number() protoreflect.EnumNumber
func (MessageWithAllowAliasEnum_Enum) String ¶
func (x MessageWithAllowAliasEnum_Enum) String() string
func (MessageWithAllowAliasEnum_Enum) Type ¶
func (MessageWithAllowAliasEnum_Enum) Type() protoreflect.EnumType
type MessageWithEnum ¶
type MessageWithEnum struct { EnumField MessageWithEnum_Enum `` /* 126-byte string literal not displayed */ StringField string `protobuf:"bytes,2,opt,name=string_field,json=stringField,proto3" json:"string_field,omitempty"` // contains filtered or unexported fields }
func (*MessageWithEnum) Descriptor
deprecated
func (*MessageWithEnum) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithEnum.ProtoReflect.Descriptor instead.
func (*MessageWithEnum) GetEnumField ¶
func (x *MessageWithEnum) GetEnumField() MessageWithEnum_Enum
func (*MessageWithEnum) GetStringField ¶
func (x *MessageWithEnum) GetStringField() string
func (*MessageWithEnum) ProtoMessage ¶
func (*MessageWithEnum) ProtoMessage()
func (*MessageWithEnum) ProtoReflect ¶
func (x *MessageWithEnum) ProtoReflect() protoreflect.Message
func (*MessageWithEnum) Reset ¶
func (x *MessageWithEnum) Reset()
func (*MessageWithEnum) String ¶
func (x *MessageWithEnum) String() string
type MessageWithEnumHolder ¶
type MessageWithEnumHolder struct { Messages []*MessageWithEnum `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` MessagesWithAlias []*MessageWithAllowAliasEnum `protobuf:"bytes,2,rep,name=messages_with_alias,json=messagesWithAlias,proto3" json:"messages_with_alias,omitempty"` // contains filtered or unexported fields }
func (*MessageWithEnumHolder) Descriptor
deprecated
func (*MessageWithEnumHolder) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithEnumHolder.ProtoReflect.Descriptor instead.
func (*MessageWithEnumHolder) GetMessages ¶
func (x *MessageWithEnumHolder) GetMessages() []*MessageWithEnum
func (*MessageWithEnumHolder) GetMessagesWithAlias ¶
func (x *MessageWithEnumHolder) GetMessagesWithAlias() []*MessageWithAllowAliasEnum
func (*MessageWithEnumHolder) ProtoMessage ¶
func (*MessageWithEnumHolder) ProtoMessage()
func (*MessageWithEnumHolder) ProtoReflect ¶
func (x *MessageWithEnumHolder) ProtoReflect() protoreflect.Message
func (*MessageWithEnumHolder) Reset ¶
func (x *MessageWithEnumHolder) Reset()
func (*MessageWithEnumHolder) String ¶
func (x *MessageWithEnumHolder) String() string
type MessageWithEnum_Enum ¶
type MessageWithEnum_Enum int32
const ( MessageWithEnum_ENUM1 MessageWithEnum_Enum = 0 MessageWithEnum_ENUM2 MessageWithEnum_Enum = 1 MessageWithEnum_ENUM3 MessageWithEnum_Enum = 2 )
func (MessageWithEnum_Enum) Descriptor ¶
func (MessageWithEnum_Enum) Descriptor() protoreflect.EnumDescriptor
func (MessageWithEnum_Enum) Enum ¶
func (x MessageWithEnum_Enum) Enum() *MessageWithEnum_Enum
func (MessageWithEnum_Enum) EnumDescriptor
deprecated
func (MessageWithEnum_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageWithEnum_Enum.Descriptor instead.
func (MessageWithEnum_Enum) Number ¶
func (x MessageWithEnum_Enum) Number() protoreflect.EnumNumber
func (MessageWithEnum_Enum) String ¶
func (x MessageWithEnum_Enum) String() string
func (MessageWithEnum_Enum) Type ¶
func (MessageWithEnum_Enum) Type() protoreflect.EnumType
type MessageWithMap ¶
type MessageWithMap struct { StringStringMap map[string]string `` /* 196-byte string literal not displayed */ IntIntMap map[int32]int32 `` /* 180-byte string literal not displayed */ IntStringMap map[int32]string `` /* 188-byte string literal not displayed */ StringIntMap map[string]int32 `` /* 188-byte string literal not displayed */ StringBoolMap map[string]bool `` /* 191-byte string literal not displayed */ StringDoubleMap map[string]float64 `` /* 198-byte string literal not displayed */ StringFloatMap map[string]float32 `` /* 195-byte string literal not displayed */ StringBytesMap map[string][]byte `` /* 193-byte string literal not displayed */ IntBoolMap map[int32]bool `` /* 183-byte string literal not displayed */ IntDoubleMap map[int32]float64 `` /* 191-byte string literal not displayed */ IntFloatMap map[int32]float32 `` /* 188-byte string literal not displayed */ IntBytesMap map[int32][]byte `` /* 186-byte string literal not displayed */ BoolStringMap map[bool]string `` /* 192-byte string literal not displayed */ BoolIntMap map[bool]int32 `` /* 184-byte string literal not displayed */ BoolBoolMap map[bool]bool `` /* 187-byte string literal not displayed */ BoolDoubleMap map[bool]float64 `` /* 194-byte string literal not displayed */ BoolFloatMap map[bool]float32 `` /* 191-byte string literal not displayed */ BoolBytesMap map[bool][]byte `` /* 189-byte string literal not displayed */ Int32InnerMap map[int32]*MessageWithMap_InnerMessage `` /* 192-byte string literal not displayed */ Int64InnerMap map[int64]*MessageWithMap_InnerMessage `` /* 192-byte string literal not displayed */ Uint32InnerMap map[uint32]*MessageWithMap_InnerMessage `` /* 195-byte string literal not displayed */ Uint64InnerMap map[uint64]*MessageWithMap_InnerMessage `` /* 195-byte string literal not displayed */ Sint32InnerMap map[int32]*MessageWithMap_InnerMessage `` /* 197-byte string literal not displayed */ Sint64InnerMap map[int64]*MessageWithMap_InnerMessage `` /* 197-byte string literal not displayed */ Fixed32InnerMap map[uint32]*MessageWithMap_InnerMessage `` /* 199-byte string literal not displayed */ Fixed64InnerMap map[uint64]*MessageWithMap_InnerMessage `` /* 199-byte string literal not displayed */ Sfixed32InnerMap map[int32]*MessageWithMap_InnerMessage `` /* 202-byte string literal not displayed */ Sfixed64InnerMap map[int64]*MessageWithMap_InnerMessage `` /* 202-byte string literal not displayed */ BoolInnerMap map[bool]*MessageWithMap_InnerMessage `` /* 189-byte string literal not displayed */ StringInnerMap map[string]*MessageWithMap_InnerMessage `` /* 194-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MessageWithMap) Descriptor
deprecated
func (*MessageWithMap) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithMap.ProtoReflect.Descriptor instead.
func (*MessageWithMap) GetBoolBoolMap ¶
func (x *MessageWithMap) GetBoolBoolMap() map[bool]bool
func (*MessageWithMap) GetBoolBytesMap ¶
func (x *MessageWithMap) GetBoolBytesMap() map[bool][]byte
func (*MessageWithMap) GetBoolDoubleMap ¶
func (x *MessageWithMap) GetBoolDoubleMap() map[bool]float64
func (*MessageWithMap) GetBoolFloatMap ¶
func (x *MessageWithMap) GetBoolFloatMap() map[bool]float32
func (*MessageWithMap) GetBoolInnerMap ¶
func (x *MessageWithMap) GetBoolInnerMap() map[bool]*MessageWithMap_InnerMessage
func (*MessageWithMap) GetBoolIntMap ¶
func (x *MessageWithMap) GetBoolIntMap() map[bool]int32
func (*MessageWithMap) GetBoolStringMap ¶
func (x *MessageWithMap) GetBoolStringMap() map[bool]string
func (*MessageWithMap) GetFixed32InnerMap ¶
func (x *MessageWithMap) GetFixed32InnerMap() map[uint32]*MessageWithMap_InnerMessage
func (*MessageWithMap) GetFixed64InnerMap ¶
func (x *MessageWithMap) GetFixed64InnerMap() map[uint64]*MessageWithMap_InnerMessage
func (*MessageWithMap) GetInt32InnerMap ¶
func (x *MessageWithMap) GetInt32InnerMap() map[int32]*MessageWithMap_InnerMessage
func (*MessageWithMap) GetInt64InnerMap ¶
func (x *MessageWithMap) GetInt64InnerMap() map[int64]*MessageWithMap_InnerMessage
func (*MessageWithMap) GetIntBoolMap ¶
func (x *MessageWithMap) GetIntBoolMap() map[int32]bool
func (*MessageWithMap) GetIntBytesMap ¶
func (x *MessageWithMap) GetIntBytesMap() map[int32][]byte
func (*MessageWithMap) GetIntDoubleMap ¶
func (x *MessageWithMap) GetIntDoubleMap() map[int32]float64
func (*MessageWithMap) GetIntFloatMap ¶
func (x *MessageWithMap) GetIntFloatMap() map[int32]float32
func (*MessageWithMap) GetIntIntMap ¶
func (x *MessageWithMap) GetIntIntMap() map[int32]int32
func (*MessageWithMap) GetIntStringMap ¶
func (x *MessageWithMap) GetIntStringMap() map[int32]string
func (*MessageWithMap) GetSfixed32InnerMap ¶
func (x *MessageWithMap) GetSfixed32InnerMap() map[int32]*MessageWithMap_InnerMessage
func (*MessageWithMap) GetSfixed64InnerMap ¶
func (x *MessageWithMap) GetSfixed64InnerMap() map[int64]*MessageWithMap_InnerMessage
func (*MessageWithMap) GetSint32InnerMap ¶
func (x *MessageWithMap) GetSint32InnerMap() map[int32]*MessageWithMap_InnerMessage
func (*MessageWithMap) GetSint64InnerMap ¶
func (x *MessageWithMap) GetSint64InnerMap() map[int64]*MessageWithMap_InnerMessage
func (*MessageWithMap) GetStringBoolMap ¶
func (x *MessageWithMap) GetStringBoolMap() map[string]bool
func (*MessageWithMap) GetStringBytesMap ¶
func (x *MessageWithMap) GetStringBytesMap() map[string][]byte
func (*MessageWithMap) GetStringDoubleMap ¶
func (x *MessageWithMap) GetStringDoubleMap() map[string]float64
func (*MessageWithMap) GetStringFloatMap ¶
func (x *MessageWithMap) GetStringFloatMap() map[string]float32
func (*MessageWithMap) GetStringInnerMap ¶
func (x *MessageWithMap) GetStringInnerMap() map[string]*MessageWithMap_InnerMessage
func (*MessageWithMap) GetStringIntMap ¶
func (x *MessageWithMap) GetStringIntMap() map[string]int32
func (*MessageWithMap) GetStringStringMap ¶
func (x *MessageWithMap) GetStringStringMap() map[string]string
func (*MessageWithMap) GetUint32InnerMap ¶
func (x *MessageWithMap) GetUint32InnerMap() map[uint32]*MessageWithMap_InnerMessage
func (*MessageWithMap) GetUint64InnerMap ¶
func (x *MessageWithMap) GetUint64InnerMap() map[uint64]*MessageWithMap_InnerMessage
func (*MessageWithMap) ProtoMessage ¶
func (*MessageWithMap) ProtoMessage()
func (*MessageWithMap) ProtoReflect ¶
func (x *MessageWithMap) ProtoReflect() protoreflect.Message
func (*MessageWithMap) Reset ¶
func (x *MessageWithMap) Reset()
func (*MessageWithMap) String ¶
func (x *MessageWithMap) String() string
type MessageWithMapHolder ¶
type MessageWithMapHolder struct { MessagesWithMap []*MessageWithMap `protobuf:"bytes,1,rep,name=messages_with_map,json=messagesWithMap,proto3" json:"messages_with_map,omitempty"` // contains filtered or unexported fields }
func (*MessageWithMapHolder) Descriptor
deprecated
func (*MessageWithMapHolder) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithMapHolder.ProtoReflect.Descriptor instead.
func (*MessageWithMapHolder) GetMessagesWithMap ¶
func (x *MessageWithMapHolder) GetMessagesWithMap() []*MessageWithMap
func (*MessageWithMapHolder) ProtoMessage ¶
func (*MessageWithMapHolder) ProtoMessage()
func (*MessageWithMapHolder) ProtoReflect ¶
func (x *MessageWithMapHolder) ProtoReflect() protoreflect.Message
func (*MessageWithMapHolder) Reset ¶
func (x *MessageWithMapHolder) Reset()
func (*MessageWithMapHolder) String ¶
func (x *MessageWithMapHolder) String() string
type MessageWithMap_InnerMessage ¶
type MessageWithMap_InnerMessage struct { InnerInt int32 `protobuf:"varint,1,opt,name=inner_int,json=innerInt,proto3" json:"inner_int,omitempty"` InnerString string `protobuf:"bytes,2,opt,name=inner_string,json=innerString,proto3" json:"inner_string,omitempty"` InnerArr []int32 `protobuf:"varint,3,rep,packed,name=inner_arr,json=innerArr,proto3" json:"inner_arr,omitempty"` // contains filtered or unexported fields }
func (*MessageWithMap_InnerMessage) Descriptor
deprecated
func (*MessageWithMap_InnerMessage) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithMap_InnerMessage.ProtoReflect.Descriptor instead.
func (*MessageWithMap_InnerMessage) GetInnerArr ¶
func (x *MessageWithMap_InnerMessage) GetInnerArr() []int32
func (*MessageWithMap_InnerMessage) GetInnerInt ¶
func (x *MessageWithMap_InnerMessage) GetInnerInt() int32
func (*MessageWithMap_InnerMessage) GetInnerString ¶
func (x *MessageWithMap_InnerMessage) GetInnerString() string
func (*MessageWithMap_InnerMessage) ProtoMessage ¶
func (*MessageWithMap_InnerMessage) ProtoMessage()
func (*MessageWithMap_InnerMessage) ProtoReflect ¶
func (x *MessageWithMap_InnerMessage) ProtoReflect() protoreflect.Message
func (*MessageWithMap_InnerMessage) Reset ¶
func (x *MessageWithMap_InnerMessage) Reset()
func (*MessageWithMap_InnerMessage) String ¶
func (x *MessageWithMap_InnerMessage) String() string
type Person ¶
type Person struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // Unique ID number for this person. Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Phones []*Person_PhoneNumber `protobuf:"bytes,4,rep,name=phones,proto3" json:"phones,omitempty"` LastUpdated *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` // contains filtered or unexported fields }
func (*Person) Descriptor
deprecated
func (*Person) GetLastUpdated ¶
func (x *Person) GetLastUpdated() *timestamppb.Timestamp
func (*Person) GetPhones ¶
func (x *Person) GetPhones() []*Person_PhoneNumber
func (*Person) ProtoMessage ¶
func (*Person) ProtoMessage()
func (*Person) ProtoReflect ¶
func (x *Person) ProtoReflect() protoreflect.Message
type Person_PhoneNumber ¶
type Person_PhoneNumber struct { Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` Type PhoneType `protobuf:"varint,2,opt,name=type,proto3,enum=protoquery.PhoneType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Person_PhoneNumber) Descriptor
deprecated
func (*Person_PhoneNumber) Descriptor() ([]byte, []int)
Deprecated: Use Person_PhoneNumber.ProtoReflect.Descriptor instead.
func (*Person_PhoneNumber) GetNumber ¶
func (x *Person_PhoneNumber) GetNumber() string
func (*Person_PhoneNumber) GetType ¶
func (x *Person_PhoneNumber) GetType() PhoneType
func (*Person_PhoneNumber) ProtoMessage ¶
func (*Person_PhoneNumber) ProtoMessage()
func (*Person_PhoneNumber) ProtoReflect ¶
func (x *Person_PhoneNumber) ProtoReflect() protoreflect.Message
func (*Person_PhoneNumber) Reset ¶
func (x *Person_PhoneNumber) Reset()
func (*Person_PhoneNumber) String ¶
func (x *Person_PhoneNumber) String() string
type PhoneType ¶
type PhoneType int32
func (PhoneType) Descriptor ¶
func (PhoneType) Descriptor() protoreflect.EnumDescriptor
func (PhoneType) EnumDescriptor
deprecated
func (PhoneType) Number ¶
func (x PhoneType) Number() protoreflect.EnumNumber
func (PhoneType) Type ¶
func (PhoneType) Type() protoreflect.EnumType
type Recursion ¶
type Recursion struct { StringVal string `protobuf:"bytes,1,opt,name=string_val,json=stringVal,proto3" json:"string_val,omitempty"` IntVal int32 `protobuf:"varint,2,opt,name=int_val,json=intVal,proto3" json:"int_val,omitempty"` Children []*Recursion `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*Recursion) Descriptor
deprecated
func (*Recursion) GetChildren ¶
func (*Recursion) GetStringVal ¶
func (*Recursion) ProtoMessage ¶
func (*Recursion) ProtoMessage()
func (*Recursion) ProtoReflect ¶
func (x *Recursion) ProtoReflect() protoreflect.Message
type RepeatedScalarHolder ¶
type RepeatedScalarHolder struct { Items []*RepeatedScalarsItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*RepeatedScalarHolder) Descriptor
deprecated
func (*RepeatedScalarHolder) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedScalarHolder.ProtoReflect.Descriptor instead.
func (*RepeatedScalarHolder) GetItems ¶
func (x *RepeatedScalarHolder) GetItems() []*RepeatedScalarsItem
func (*RepeatedScalarHolder) ProtoMessage ¶
func (*RepeatedScalarHolder) ProtoMessage()
func (*RepeatedScalarHolder) ProtoReflect ¶
func (x *RepeatedScalarHolder) ProtoReflect() protoreflect.Message
func (*RepeatedScalarHolder) Reset ¶
func (x *RepeatedScalarHolder) Reset()
func (*RepeatedScalarHolder) String ¶
func (x *RepeatedScalarHolder) String() string
type RepeatedScalarsItem ¶
type RepeatedScalarsItem struct { Int32S []int32 `protobuf:"varint,1,rep,packed,name=int32s,proto3" json:"int32s,omitempty"` Int64S []int64 `protobuf:"varint,2,rep,packed,name=int64s,proto3" json:"int64s,omitempty"` Uint32S []uint32 `protobuf:"varint,3,rep,packed,name=uint32s,proto3" json:"uint32s,omitempty"` Uint64S []uint64 `protobuf:"varint,4,rep,packed,name=uint64s,proto3" json:"uint64s,omitempty"` Floats []float32 `protobuf:"fixed32,5,rep,packed,name=floats,proto3" json:"floats,omitempty"` Strings []string `protobuf:"bytes,6,rep,name=strings,proto3" json:"strings,omitempty"` Bools []bool `protobuf:"varint,7,rep,packed,name=bools,proto3" json:"bools,omitempty"` // bytes is intentionally declared as non-repeated. It is a composite type that sup Bytes []byte `protobuf:"bytes,8,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*RepeatedScalarsItem) Descriptor
deprecated
func (*RepeatedScalarsItem) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedScalarsItem.ProtoReflect.Descriptor instead.
func (*RepeatedScalarsItem) GetBools ¶
func (x *RepeatedScalarsItem) GetBools() []bool
func (*RepeatedScalarsItem) GetBytes ¶
func (x *RepeatedScalarsItem) GetBytes() []byte
func (*RepeatedScalarsItem) GetFloats ¶
func (x *RepeatedScalarsItem) GetFloats() []float32
func (*RepeatedScalarsItem) GetInt32S ¶
func (x *RepeatedScalarsItem) GetInt32S() []int32
func (*RepeatedScalarsItem) GetInt64S ¶
func (x *RepeatedScalarsItem) GetInt64S() []int64
func (*RepeatedScalarsItem) GetStrings ¶
func (x *RepeatedScalarsItem) GetStrings() []string
func (*RepeatedScalarsItem) GetUint32S ¶
func (x *RepeatedScalarsItem) GetUint32S() []uint32
func (*RepeatedScalarsItem) GetUint64S ¶
func (x *RepeatedScalarsItem) GetUint64S() []uint64
func (*RepeatedScalarsItem) ProtoMessage ¶
func (*RepeatedScalarsItem) ProtoMessage()
func (*RepeatedScalarsItem) ProtoReflect ¶
func (x *RepeatedScalarsItem) ProtoReflect() protoreflect.Message
func (*RepeatedScalarsItem) Reset ¶
func (x *RepeatedScalarsItem) Reset()
func (*RepeatedScalarsItem) String ¶
func (x *RepeatedScalarsItem) String() string