Documentation
¶
Index ¶
- Variables
- type Language
- type Message
- type Nop
- type Types
- func (*Types) Descriptor() ([]byte, []int)deprecated
- func (x *Types) GetBool() bool
- func (x *Types) GetBools() []bool
- func (x *Types) GetBytes() []byte
- func (x *Types) GetBytess() [][]byte
- func (x *Types) GetDouble() float64
- func (x *Types) GetDoubles() []float64
- func (x *Types) GetFixed32() uint32
- func (x *Types) GetFixed32S() []uint32
- func (x *Types) GetFixed64() uint64
- func (x *Types) GetFixed64S() []uint64
- func (x *Types) GetFloat() float32
- func (x *Types) GetFloats() []float32
- func (x *Types) GetInt32() int32
- func (x *Types) GetInt32S() []int32
- func (x *Types) GetInt64() int64
- func (x *Types) GetInt64S() []int64
- func (x *Types) GetLanguage() Language
- func (x *Types) GetLanguages() []Language
- func (x *Types) GetMessage() *Message
- func (x *Types) GetMessages() []*Message
- func (x *Types) GetSfixed32() int32
- func (x *Types) GetSfixed32S() []int32
- func (x *Types) GetSfixed64() int64
- func (x *Types) GetSfixed64S() []int64
- func (x *Types) GetSint32() int32
- func (x *Types) GetSint32S() []int32
- func (x *Types) GetSint64() int64
- func (x *Types) GetSint64S() []int64
- func (x *Types) GetString_() string
- func (x *Types) GetStrings() []string
- func (x *Types) GetUint32() uint32
- func (x *Types) GetUint32S() []uint32
- func (x *Types) GetUint64() uint64
- func (x *Types) GetUint64S() []uint64
- func (x *Types) GetValues() map[string]string
- func (*Types) ProtoMessage()
- func (x *Types) ProtoReflect() protoreflect.Message
- func (x *Types) Reset()
- func (x *Types) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Language_name = map[int32]string{ 0: "UNKNOWN", 1: "ENGLISH", 3: "SPANISH", 4: "FRENCH", 5: "GERMAN", } Language_value = map[string]int32{ "UNKNOWN": 0, "ENGLISH": 1, "SPANISH": 3, "FRENCH": 4, "GERMAN": 5, } )
Enum value maps for Language.
View Source
var File_msg_one_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Language ¶
type Language int32
func (Language) Descriptor ¶
func (Language) Descriptor() protoreflect.EnumDescriptor
func (Language) EnumDescriptor
deprecated
func (Language) Number ¶
func (x Language) Number() protoreflect.EnumNumber
func (Language) Type ¶
func (Language) Type() protoreflect.EnumType
type Message ¶
type Message struct { Int32 int32 `protobuf:"varint,1,opt,name=int32,proto3" json:"int32,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Nop ¶
type Nop struct {
// contains filtered or unexported fields
}
func (*Nop) Descriptor
deprecated
func (*Nop) ProtoMessage ¶
func (*Nop) ProtoMessage()
func (*Nop) ProtoReflect ¶
func (x *Nop) ProtoReflect() protoreflect.Message
type Types ¶
type Types struct { Int32 int32 `protobuf:"varint,1,opt,name=int32,proto3" json:"int32,omitempty"` Int64 int64 `protobuf:"varint,2,opt,name=int64,proto3" json:"int64,omitempty"` Uint32 uint32 `protobuf:"varint,3,opt,name=uint32,proto3" json:"uint32,omitempty"` Uint64 uint64 `protobuf:"varint,4,opt,name=uint64,proto3" json:"uint64,omitempty"` Sint32 int32 `protobuf:"zigzag32,5,opt,name=sint32,proto3" json:"sint32,omitempty"` Sint64 int64 `protobuf:"zigzag64,6,opt,name=sint64,proto3" json:"sint64,omitempty"` Fixed32 uint32 `protobuf:"fixed32,7,opt,name=fixed32,proto3" json:"fixed32,omitempty"` Fixed64 uint64 `protobuf:"fixed64,8,opt,name=fixed64,proto3" json:"fixed64,omitempty"` Sfixed32 int32 `protobuf:"fixed32,9,opt,name=sfixed32,proto3" json:"sfixed32,omitempty"` Sfixed64 int64 `protobuf:"fixed64,10,opt,name=sfixed64,proto3" json:"sfixed64,omitempty"` Float float32 `protobuf:"fixed32,11,opt,name=float,proto3" json:"float,omitempty"` Double float64 `protobuf:"fixed64,12,opt,name=double,proto3" json:"double,omitempty"` Bool bool `protobuf:"varint,13,opt,name=bool,proto3" json:"bool,omitempty"` String_ string `protobuf:"bytes,14,opt,name=string,proto3" json:"string,omitempty"` Bytes []byte `protobuf:"bytes,15,opt,name=bytes,proto3" json:"bytes,omitempty"` Message *Message `protobuf:"bytes,16,opt,name=message,proto3" json:"message,omitempty"` Language Language `protobuf:"varint,17,opt,name=language,proto3,enum=one.Language" json:"language,omitempty"` Int32S []int32 `protobuf:"varint,18,rep,packed,name=int32s,proto3" json:"int32s,omitempty"` Int64S []int64 `protobuf:"varint,19,rep,packed,name=int64s,proto3" json:"int64s,omitempty"` Uint32S []uint32 `protobuf:"varint,20,rep,packed,name=uint32s,proto3" json:"uint32s,omitempty"` Uint64S []uint64 `protobuf:"varint,21,rep,packed,name=uint64s,proto3" json:"uint64s,omitempty"` Sint32S []int32 `protobuf:"zigzag32,22,rep,packed,name=sint32s,proto3" json:"sint32s,omitempty"` Sint64S []int64 `protobuf:"zigzag64,23,rep,packed,name=sint64s,proto3" json:"sint64s,omitempty"` Fixed32S []uint32 `protobuf:"fixed32,24,rep,packed,name=fixed32s,proto3" json:"fixed32s,omitempty"` Fixed64S []uint64 `protobuf:"fixed64,25,rep,packed,name=fixed64s,proto3" json:"fixed64s,omitempty"` Sfixed32S []int32 `protobuf:"fixed32,26,rep,packed,name=sfixed32s,proto3" json:"sfixed32s,omitempty"` Sfixed64S []int64 `protobuf:"fixed64,27,rep,packed,name=sfixed64s,proto3" json:"sfixed64s,omitempty"` Floats []float32 `protobuf:"fixed32,28,rep,packed,name=floats,proto3" json:"floats,omitempty"` Doubles []float64 `protobuf:"fixed64,29,rep,packed,name=doubles,proto3" json:"doubles,omitempty"` Bools []bool `protobuf:"varint,30,rep,packed,name=bools,proto3" json:"bools,omitempty"` Strings []string `protobuf:"bytes,31,rep,name=strings,proto3" json:"strings,omitempty"` Bytess [][]byte `protobuf:"bytes,32,rep,name=bytess,proto3" json:"bytess,omitempty"` Messages []*Message `protobuf:"bytes,33,rep,name=messages,proto3" json:"messages,omitempty"` Languages []Language `protobuf:"varint,34,rep,packed,name=languages,proto3,enum=one.Language" json:"languages,omitempty"` Values map[string]string `` /* 154-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Types) Descriptor
deprecated
func (*Types) GetDoubles ¶
func (*Types) GetFixed32 ¶
func (*Types) GetFixed32S ¶
func (*Types) GetFixed64 ¶
func (*Types) GetFixed64S ¶
func (*Types) GetLanguage ¶
func (*Types) GetLanguages ¶
func (*Types) GetMessage ¶
func (*Types) GetMessages ¶
func (*Types) GetSfixed32 ¶
func (*Types) GetSfixed32S ¶
func (*Types) GetSfixed64 ¶
func (*Types) GetSfixed64S ¶
func (*Types) GetSint32S ¶
func (*Types) GetSint64S ¶
func (*Types) GetString_ ¶
func (*Types) GetStrings ¶
func (*Types) GetUint32S ¶
func (*Types) GetUint64S ¶
func (*Types) ProtoMessage ¶
func (*Types) ProtoMessage()
func (*Types) ProtoReflect ¶
func (x *Types) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.