Documentation
¶
Index ¶
- Variables
- type NestedTest
- type Test
- func (*Test) Descriptor() ([]byte, []int)deprecated
- func (x *Test) GetArrayBool() []bool
- func (x *Test) GetArrayEmpty() []int32
- func (x *Test) GetArrayNumDouble() []float64
- func (x *Test) GetArrayNumFloat() []float32
- func (x *Test) GetArrayNumInt32() []int32
- func (x *Test) GetArrayNumInt64() []int64
- func (x *Test) GetArrayNumUint32() []uint32
- func (x *Test) GetArrayNumUint64() []uint64
- func (x *Test) GetArrayStr() []string
- func (x *Test) GetArrayTimestamp() []*timestamppb.Timestamp
- func (x *Test) GetBoolFalse() bool
- func (x *Test) GetBoolTrue() bool
- func (x *Test) GetNull() *NestedTest
- func (x *Test) GetNumDouble() float64
- func (x *Test) GetNumFloat() float32
- func (x *Test) GetNumInt32() int32
- func (x *Test) GetNumInt64() int64
- func (x *Test) GetNumUint32() uint32
- func (x *Test) GetNumUint64() uint64
- func (x *Test) GetObj() *NestedTest
- func (x *Test) GetStr() string
- func (x *Test) GetStrDate() string
- func (x *Test) GetTimestamp() *timestamppb.Timestamp
- func (*Test) ProtoMessage()
- func (x *Test) ProtoReflect() protoreflect.Message
- func (x *Test) Reset()
- func (x *Test) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type NestedTest ¶
type NestedTest struct {
Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"`
// contains filtered or unexported fields
}
func (*NestedTest) Descriptor
deprecated
func (*NestedTest) Descriptor() ([]byte, []int)
Deprecated: Use NestedTest.ProtoReflect.Descriptor instead.
func (*NestedTest) GetStr ¶
func (x *NestedTest) GetStr() string
func (*NestedTest) ProtoMessage ¶
func (*NestedTest) ProtoMessage()
func (*NestedTest) ProtoReflect ¶
func (x *NestedTest) ProtoReflect() protoreflect.Message
func (*NestedTest) Reset ¶
func (x *NestedTest) Reset()
func (*NestedTest) String ¶
func (x *NestedTest) String() string
type Test ¶
type Test struct {
Null *NestedTest `protobuf:"bytes,1,opt,name=null,proto3" json:"null,omitempty"`
BoolTrue bool `protobuf:"varint,2,opt,name=bool_true,json=boolTrue,proto3" json:"bool_true,omitempty"`
BoolFalse bool `protobuf:"varint,3,opt,name=bool_false,json=boolFalse,proto3" json:"bool_false,omitempty"`
NumInt32 int32 `protobuf:"varint,4,opt,name=num_int32,json=numInt32,proto3" json:"num_int32,omitempty"`
NumInt64 int64 `protobuf:"varint,5,opt,name=num_int64,json=numInt64,proto3" json:"num_int64,omitempty"`
NumFloat float32 `protobuf:"fixed32,6,opt,name=num_float,json=numFloat,proto3" json:"num_float,omitempty"`
NumDouble float64 `protobuf:"fixed64,7,opt,name=num_double,json=numDouble,proto3" json:"num_double,omitempty"`
NumUint32 uint32 `protobuf:"varint,8,opt,name=num_uint32,json=numUint32,proto3" json:"num_uint32,omitempty"`
NumUint64 uint64 `protobuf:"varint,9,opt,name=num_uint64,json=numUint64,proto3" json:"num_uint64,omitempty"`
Str string `protobuf:"bytes,10,opt,name=str,proto3" json:"str,omitempty"`
StrDate string `protobuf:"bytes,11,opt,name=str_date,json=strDate,proto3" json:"str_date,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Obj *NestedTest `protobuf:"bytes,13,opt,name=obj,proto3" json:"obj,omitempty"`
ArrayEmpty []int32 `protobuf:"varint,14,rep,packed,name=array_empty,json=arrayEmpty,proto3" json:"array_empty,omitempty"`
ArrayBool []bool `protobuf:"varint,15,rep,packed,name=array_bool,json=arrayBool,proto3" json:"array_bool,omitempty"`
ArrayNumInt32 []int32 `protobuf:"varint,16,rep,packed,name=array_num_int32,json=arrayNumInt32,proto3" json:"array_num_int32,omitempty"`
ArrayNumInt64 []int64 `protobuf:"varint,17,rep,packed,name=array_num_int64,json=arrayNumInt64,proto3" json:"array_num_int64,omitempty"`
ArrayNumFloat []float32 `protobuf:"fixed32,18,rep,packed,name=array_num_float,json=arrayNumFloat,proto3" json:"array_num_float,omitempty"`
ArrayNumDouble []float64 `protobuf:"fixed64,19,rep,packed,name=array_num_double,json=arrayNumDouble,proto3" json:"array_num_double,omitempty"`
ArrayNumUint32 []uint32 `protobuf:"varint,20,rep,packed,name=array_num_uint32,json=arrayNumUint32,proto3" json:"array_num_uint32,omitempty"`
ArrayNumUint64 []uint64 `protobuf:"varint,21,rep,packed,name=array_num_uint64,json=arrayNumUint64,proto3" json:"array_num_uint64,omitempty"`
ArrayStr []string `protobuf:"bytes,22,rep,name=array_str,json=arrayStr,proto3" json:"array_str,omitempty"`
ArrayTimestamp []*timestamppb.Timestamp `protobuf:"bytes,23,rep,name=array_timestamp,json=arrayTimestamp,proto3" json:"array_timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*Test) Descriptor
deprecated
func (*Test) GetArrayBool ¶
func (*Test) GetArrayEmpty ¶
func (*Test) GetArrayNumDouble ¶
func (*Test) GetArrayNumFloat ¶
func (*Test) GetArrayNumInt32 ¶
func (*Test) GetArrayNumInt64 ¶
func (*Test) GetArrayNumUint32 ¶
func (*Test) GetArrayNumUint64 ¶
func (*Test) GetArrayStr ¶
func (*Test) GetArrayTimestamp ¶
func (x *Test) GetArrayTimestamp() []*timestamppb.Timestamp
func (*Test) GetBoolFalse ¶
func (*Test) GetBoolTrue ¶
func (*Test) GetNull ¶
func (x *Test) GetNull() *NestedTest
func (*Test) GetNumDouble ¶
func (*Test) GetNumFloat ¶
func (*Test) GetNumInt32 ¶
func (*Test) GetNumInt64 ¶
func (*Test) GetNumUint32 ¶
func (*Test) GetNumUint64 ¶
func (*Test) GetObj ¶
func (x *Test) GetObj() *NestedTest
func (*Test) GetStrDate ¶
func (*Test) GetTimestamp ¶
func (x *Test) GetTimestamp() *timestamppb.Timestamp
func (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
func (*Test) ProtoReflect ¶
func (x *Test) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.