Documentation
¶
Index ¶
- Variables
- type EmbeddedStruct
- type IntArr
- type IntDef
- type PrimitivesStruct
- func (*PrimitivesStruct) Descriptor() ([]byte, []int)deprecated
- func (x *PrimitivesStruct) GetBytes() []byte
- func (x *PrimitivesStruct) GetInt32() int32
- func (x *PrimitivesStruct) GetInt64() int64
- func (x *PrimitivesStruct) GetString_() string
- func (x *PrimitivesStruct) GetTime() *timestamppb.Timestamp
- func (x *PrimitivesStruct) GetVarint() int64
- func (*PrimitivesStruct) ProtoMessage()
- func (x *PrimitivesStruct) ProtoReflect() protoreflect.Message
- func (x *PrimitivesStruct) Reset()
- func (x *PrimitivesStruct) String() string
- type PrimitivesStructSl
- func (*PrimitivesStructSl) Descriptor() ([]byte, []int)deprecated
- func (x *PrimitivesStructSl) GetStructs() []*PrimitivesStruct
- func (*PrimitivesStructSl) ProtoMessage()
- func (x *PrimitivesStructSl) ProtoReflect() protoreflect.Message
- func (x *PrimitivesStructSl) Reset()
- func (x *PrimitivesStructSl) String() string
- type ProtoGotTime
- type SomeStruct
- type Test32
- type TestFixedInt64
- type TestInt32
- type TestInt32Fixed
- type TestInt32Varint
- type TestInts
- type TestSFixedSInt64
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_compat_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EmbeddedStruct ¶
type EmbeddedStruct struct { SomethingFixedLen int64 `protobuf:"fixed64,1,opt,name=somethingFixedLen,proto3" json:"somethingFixedLen,omitempty"` // contains filtered or unexported fields }
func (*EmbeddedStruct) Descriptor
deprecated
func (*EmbeddedStruct) Descriptor() ([]byte, []int)
Deprecated: Use EmbeddedStruct.ProtoReflect.Descriptor instead.
func (*EmbeddedStruct) GetSomethingFixedLen ¶
func (x *EmbeddedStruct) GetSomethingFixedLen() int64
func (*EmbeddedStruct) ProtoMessage ¶
func (*EmbeddedStruct) ProtoMessage()
func (*EmbeddedStruct) ProtoReflect ¶
func (x *EmbeddedStruct) ProtoReflect() protoreflect.Message
func (*EmbeddedStruct) Reset ¶
func (x *EmbeddedStruct) Reset()
func (*EmbeddedStruct) String ¶
func (x *EmbeddedStruct) String() string
type IntArr ¶
type IntArr struct { Val []int64 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` // contains filtered or unexported fields }
func (*IntArr) Descriptor
deprecated
func (*IntArr) ProtoMessage ¶
func (*IntArr) ProtoMessage()
func (*IntArr) ProtoReflect ¶
func (x *IntArr) ProtoReflect() protoreflect.Message
type IntDef ¶
type IntDef struct { Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` // contains filtered or unexported fields }
func (*IntDef) Descriptor
deprecated
func (*IntDef) ProtoMessage ¶
func (*IntDef) ProtoMessage()
func (*IntDef) ProtoReflect ¶
func (x *IntDef) ProtoReflect() protoreflect.Message
type PrimitivesStruct ¶
type PrimitivesStruct struct { Int32 int32 `protobuf:"varint,3,opt,name=Int32,proto3" json:"Int32,omitempty"` Int64 int64 `protobuf:"varint,4,opt,name=Int64,proto3" json:"Int64,omitempty"` Varint int64 `protobuf:"varint,5,opt,name=Varint,proto3" json:"Varint,omitempty"` // int int // Byte byte = 4; // this just another varint // Uint8 uint8 // another varint // Uint16 uint16 // another one, also the following // Uint32 uint32 // Uint64 uint64 // Uvarint uint64 `binary:"varint"` // Uint uint String_ string `protobuf:"bytes,14,opt,name=String,proto3" json:"String,omitempty"` Bytes []byte `protobuf:"bytes,15,opt,name=Bytes,proto3" json:"Bytes,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=Time,proto3" json:"Time,omitempty"` // contains filtered or unexported fields }
func (*PrimitivesStruct) Descriptor
deprecated
func (*PrimitivesStruct) Descriptor() ([]byte, []int)
Deprecated: Use PrimitivesStruct.ProtoReflect.Descriptor instead.
func (*PrimitivesStruct) GetBytes ¶
func (x *PrimitivesStruct) GetBytes() []byte
func (*PrimitivesStruct) GetInt32 ¶
func (x *PrimitivesStruct) GetInt32() int32
func (*PrimitivesStruct) GetInt64 ¶
func (x *PrimitivesStruct) GetInt64() int64
func (*PrimitivesStruct) GetString_ ¶
func (x *PrimitivesStruct) GetString_() string
func (*PrimitivesStruct) GetTime ¶
func (x *PrimitivesStruct) GetTime() *timestamppb.Timestamp
func (*PrimitivesStruct) GetVarint ¶
func (x *PrimitivesStruct) GetVarint() int64
func (*PrimitivesStruct) ProtoMessage ¶
func (*PrimitivesStruct) ProtoMessage()
func (*PrimitivesStruct) ProtoReflect ¶
func (x *PrimitivesStruct) ProtoReflect() protoreflect.Message
func (*PrimitivesStruct) Reset ¶
func (x *PrimitivesStruct) Reset()
func (*PrimitivesStruct) String ¶
func (x *PrimitivesStruct) String() string
type PrimitivesStructSl ¶
type PrimitivesStructSl struct { Structs []*PrimitivesStruct `protobuf:"bytes,1,rep,name=Structs,proto3" json:"Structs,omitempty"` // contains filtered or unexported fields }
func (*PrimitivesStructSl) Descriptor
deprecated
func (*PrimitivesStructSl) Descriptor() ([]byte, []int)
Deprecated: Use PrimitivesStructSl.ProtoReflect.Descriptor instead.
func (*PrimitivesStructSl) GetStructs ¶
func (x *PrimitivesStructSl) GetStructs() []*PrimitivesStruct
func (*PrimitivesStructSl) ProtoMessage ¶
func (*PrimitivesStructSl) ProtoMessage()
func (*PrimitivesStructSl) ProtoReflect ¶
func (x *PrimitivesStructSl) ProtoReflect() protoreflect.Message
func (*PrimitivesStructSl) Reset ¶
func (x *PrimitivesStructSl) Reset()
func (*PrimitivesStructSl) String ¶
func (x *PrimitivesStructSl) String() string
type ProtoGotTime ¶
type ProtoGotTime struct { T *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=T,proto3" json:"T,omitempty"` // contains filtered or unexported fields }
func (*ProtoGotTime) Descriptor
deprecated
func (*ProtoGotTime) Descriptor() ([]byte, []int)
Deprecated: Use ProtoGotTime.ProtoReflect.Descriptor instead.
func (*ProtoGotTime) GetT ¶
func (x *ProtoGotTime) GetT() *timestamppb.Timestamp
func (*ProtoGotTime) ProtoMessage ¶
func (*ProtoGotTime) ProtoMessage()
func (*ProtoGotTime) ProtoReflect ¶
func (x *ProtoGotTime) ProtoReflect() protoreflect.Message
func (*ProtoGotTime) Reset ¶
func (x *ProtoGotTime) Reset()
func (*ProtoGotTime) String ¶
func (x *ProtoGotTime) String() string
type SomeStruct ¶
type SomeStruct struct { // proto3 autom. turns this into a pointer ... Emb *EmbeddedStruct `protobuf:"bytes,1,opt,name=emb,proto3" json:"emb,omitempty"` // contains filtered or unexported fields }
func (*SomeStruct) Descriptor
deprecated
func (*SomeStruct) Descriptor() ([]byte, []int)
Deprecated: Use SomeStruct.ProtoReflect.Descriptor instead.
func (*SomeStruct) GetEmb ¶
func (x *SomeStruct) GetEmb() *EmbeddedStruct
func (*SomeStruct) ProtoMessage ¶
func (*SomeStruct) ProtoMessage()
func (*SomeStruct) ProtoReflect ¶
func (x *SomeStruct) ProtoReflect() protoreflect.Message
func (*SomeStruct) Reset ¶
func (x *SomeStruct) Reset()
func (*SomeStruct) String ¶
func (x *SomeStruct) String() string
type Test32 ¶
type Test32 struct { Foo uint32 `protobuf:"fixed32,1,opt,name=foo,proto3" json:"foo,omitempty"` Bar int32 `protobuf:"zigzag32,2,opt,name=bar,proto3" json:"bar,omitempty"` // contains filtered or unexported fields }
func (*Test32) Descriptor
deprecated
func (*Test32) ProtoMessage ¶
func (*Test32) ProtoMessage()
func (*Test32) ProtoReflect ¶
func (x *Test32) ProtoReflect() protoreflect.Message
type TestFixedInt64 ¶
type TestFixedInt64 struct { Int64 uint64 `protobuf:"fixed64,1,opt,name=Int64,proto3" json:"Int64,omitempty"` // contains filtered or unexported fields }
func (*TestFixedInt64) Descriptor
deprecated
func (*TestFixedInt64) Descriptor() ([]byte, []int)
Deprecated: Use TestFixedInt64.ProtoReflect.Descriptor instead.
func (*TestFixedInt64) GetInt64 ¶
func (x *TestFixedInt64) GetInt64() uint64
func (*TestFixedInt64) ProtoMessage ¶
func (*TestFixedInt64) ProtoMessage()
func (*TestFixedInt64) ProtoReflect ¶
func (x *TestFixedInt64) ProtoReflect() protoreflect.Message
func (*TestFixedInt64) Reset ¶
func (x *TestFixedInt64) Reset()
func (*TestFixedInt64) String ¶
func (x *TestFixedInt64) String() string
type TestInt32 ¶
type TestInt32 struct { Int32 int32 `protobuf:"varint,1,opt,name=Int32,proto3" json:"Int32,omitempty"` // contains filtered or unexported fields }
func (*TestInt32) Descriptor
deprecated
func (*TestInt32) ProtoMessage ¶
func (*TestInt32) ProtoMessage()
func (*TestInt32) ProtoReflect ¶
func (x *TestInt32) ProtoReflect() protoreflect.Message
type TestInt32Fixed ¶
type TestInt32Fixed struct { Fixed32 uint32 `protobuf:"fixed32,1,opt,name=Fixed32,proto3" json:"Fixed32,omitempty"` // contains filtered or unexported fields }
func (*TestInt32Fixed) Descriptor
deprecated
func (*TestInt32Fixed) Descriptor() ([]byte, []int)
Deprecated: Use TestInt32Fixed.ProtoReflect.Descriptor instead.
func (*TestInt32Fixed) GetFixed32 ¶
func (x *TestInt32Fixed) GetFixed32() uint32
func (*TestInt32Fixed) ProtoMessage ¶
func (*TestInt32Fixed) ProtoMessage()
func (*TestInt32Fixed) ProtoReflect ¶
func (x *TestInt32Fixed) ProtoReflect() protoreflect.Message
func (*TestInt32Fixed) Reset ¶
func (x *TestInt32Fixed) Reset()
func (*TestInt32Fixed) String ¶
func (x *TestInt32Fixed) String() string
type TestInt32Varint ¶
type TestInt32Varint struct { Int32 int32 `protobuf:"zigzag32,1,opt,name=Int32,proto3" json:"Int32,omitempty"` // contains filtered or unexported fields }
func (*TestInt32Varint) Descriptor
deprecated
func (*TestInt32Varint) Descriptor() ([]byte, []int)
Deprecated: Use TestInt32Varint.ProtoReflect.Descriptor instead.
func (*TestInt32Varint) GetInt32 ¶
func (x *TestInt32Varint) GetInt32() int32
func (*TestInt32Varint) ProtoMessage ¶
func (*TestInt32Varint) ProtoMessage()
func (*TestInt32Varint) ProtoReflect ¶
func (x *TestInt32Varint) ProtoReflect() protoreflect.Message
func (*TestInt32Varint) Reset ¶
func (x *TestInt32Varint) Reset()
func (*TestInt32Varint) String ¶
func (x *TestInt32Varint) String() string
type TestInts ¶
type TestInts 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"` // contains filtered or unexported fields }
func (*TestInts) Descriptor
deprecated
func (*TestInts) ProtoMessage ¶
func (*TestInts) ProtoMessage()
func (*TestInts) ProtoReflect ¶
func (x *TestInts) ProtoReflect() protoreflect.Message
type TestSFixedSInt64 ¶
type TestSFixedSInt64 struct { SInt64 int64 `protobuf:"fixed64,1,opt,name=SInt64,proto3" json:"SInt64,omitempty"` // contains filtered or unexported fields }
func (*TestSFixedSInt64) Descriptor
deprecated
func (*TestSFixedSInt64) Descriptor() ([]byte, []int)
Deprecated: Use TestSFixedSInt64.ProtoReflect.Descriptor instead.
func (*TestSFixedSInt64) GetSInt64 ¶
func (x *TestSFixedSInt64) GetSInt64() int64
func (*TestSFixedSInt64) ProtoMessage ¶
func (*TestSFixedSInt64) ProtoMessage()
func (*TestSFixedSInt64) ProtoReflect ¶
func (x *TestSFixedSInt64) ProtoReflect() protoreflect.Message
func (*TestSFixedSInt64) Reset ¶
func (x *TestSFixedSInt64) Reset()
func (*TestSFixedSInt64) String ¶
func (x *TestSFixedSInt64) String() string
Click to show internal directories.
Click to hide internal directories.