proto

package
v0.0.0-...-dda9de6 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

View Source
var File_proto_addressbook_proto protoreflect.FileDescriptor
View Source
var File_proto_bookstore_proto protoreflect.FileDescriptor
View Source
var File_proto_message_with_enum_proto protoreflect.FileDescriptor
View Source
var File_proto_message_with_map_proto protoreflect.FileDescriptor
View Source
var File_proto_recursive_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Book.ProtoReflect.Descriptor instead.

func (*Book) GetAuthor

func (x *Book) GetAuthor() string

func (*Book) GetOnSale

func (x *Book) GetOnSale() bool

func (*Book) GetPages

func (x *Book) GetPages() int32

func (*Book) GetPrice

func (x *Book) GetPrice() float32

func (*Book) GetTitle

func (x *Book) GetTitle() string

func (*Book) ProtoMessage

func (*Book) ProtoMessage()

func (*Book) ProtoReflect

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

func (*Book) Reset

func (x *Book) Reset()

func (*Book) String

func (x *Book) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Bookstore.ProtoReflect.Descriptor instead.

func (*Bookstore) GetBooks

func (x *Bookstore) GetBooks() []*Book

func (*Bookstore) ProtoMessage

func (*Bookstore) ProtoMessage()

func (*Bookstore) ProtoReflect

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

func (*Bookstore) Reset

func (x *Bookstore) Reset()

func (*Bookstore) String

func (x *Bookstore) String() string

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 (*MessageWithAllowAliasEnum) GetStringField

func (x *MessageWithAllowAliasEnum) GetStringField() string

func (*MessageWithAllowAliasEnum) ProtoMessage

func (*MessageWithAllowAliasEnum) ProtoMessage()

func (*MessageWithAllowAliasEnum) ProtoReflect

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) Enum

func (MessageWithAllowAliasEnum_Enum) EnumDescriptor deprecated

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

Deprecated: Use MessageWithAllowAliasEnum_Enum.Descriptor instead.

func (MessageWithAllowAliasEnum_Enum) Number

func (MessageWithAllowAliasEnum_Enum) String

func (MessageWithAllowAliasEnum_Enum) Type

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) Enum

func (MessageWithEnum_Enum) EnumDescriptor deprecated

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

Deprecated: Use MessageWithEnum_Enum.Descriptor instead.

func (MessageWithEnum_Enum) Number

func (MessageWithEnum_Enum) String

func (x MessageWithEnum_Enum) String() string

func (MessageWithEnum_Enum) Type

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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Person.ProtoReflect.Descriptor instead.

func (*Person) GetEmail

func (x *Person) GetEmail() string

func (*Person) GetId

func (x *Person) GetId() int32

func (*Person) GetLastUpdated

func (x *Person) GetLastUpdated() *timestamppb.Timestamp

func (*Person) GetName

func (x *Person) GetName() string

func (*Person) GetPhones

func (x *Person) GetPhones() []*Person_PhoneNumber

func (*Person) ProtoMessage

func (*Person) ProtoMessage()

func (*Person) ProtoReflect

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

func (*Person) Reset

func (x *Person) Reset()

func (*Person) String

func (x *Person) String() string

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
const (
	PhoneType_PHONE_TYPE_UNSPECIFIED PhoneType = 0
	PhoneType_PHONE_TYPE_MOBILE      PhoneType = 1
	PhoneType_PHONE_TYPE_HOME        PhoneType = 2
	PhoneType_PHONE_TYPE_WORK        PhoneType = 3
)

func (PhoneType) Descriptor

func (PhoneType) Descriptor() protoreflect.EnumDescriptor

func (PhoneType) Enum

func (x PhoneType) Enum() *PhoneType

func (PhoneType) EnumDescriptor deprecated

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

Deprecated: Use PhoneType.Descriptor instead.

func (PhoneType) Number

func (x PhoneType) Number() protoreflect.EnumNumber

func (PhoneType) String

func (x PhoneType) String() string

func (PhoneType) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Recursion.ProtoReflect.Descriptor instead.

func (*Recursion) GetChildren

func (x *Recursion) GetChildren() []*Recursion

func (*Recursion) GetIntVal

func (x *Recursion) GetIntVal() int32

func (*Recursion) GetStringVal

func (x *Recursion) GetStringVal() string

func (*Recursion) ProtoMessage

func (*Recursion) ProtoMessage()

func (*Recursion) ProtoReflect

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

func (*Recursion) Reset

func (x *Recursion) Reset()

func (*Recursion) String

func (x *Recursion) String() string

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

Jump to

Keyboard shortcuts

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