Documentation ¶
Index ¶
- Variables
- type TestCustomMessage
- func (*TestCustomMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestCustomMessage) GetBoolVal() bool
- func (x *TestCustomMessage) GetBytesVal() []byte
- func (x *TestCustomMessage) GetFloatVal() float32
- func (x *TestCustomMessage) GetIntVal() int64
- func (x *TestCustomMessage) GetStringVal() string
- func (*TestCustomMessage) ProtoMessage()
- func (x *TestCustomMessage) ProtoReflect() protoreflect.Message
- func (x *TestCustomMessage) Reset()
- func (x *TestCustomMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_example_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type TestCustomMessage ¶
type TestCustomMessage struct { BoolVal bool `protobuf:"varint,1,opt,name=bool_val,json=boolVal,proto3" json:"bool_val,omitempty"` IntVal int64 `protobuf:"varint,2,opt,name=int_val,json=intVal,proto3" json:"int_val,omitempty"` FloatVal float32 `protobuf:"fixed32,3,opt,name=float_val,json=floatVal,proto3" json:"float_val,omitempty"` StringVal string `protobuf:"bytes,4,opt,name=string_val,json=stringVal,proto3" json:"string_val,omitempty"` BytesVal []byte `protobuf:"bytes,5,opt,name=bytes_val,json=bytesVal,proto3" json:"bytes_val,omitempty"` // contains filtered or unexported fields }
Used for testing
func (*TestCustomMessage) Descriptor
deprecated
func (*TestCustomMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestCustomMessage.ProtoReflect.Descriptor instead.
func (*TestCustomMessage) GetBoolVal ¶
func (x *TestCustomMessage) GetBoolVal() bool
func (*TestCustomMessage) GetBytesVal ¶
func (x *TestCustomMessage) GetBytesVal() []byte
func (*TestCustomMessage) GetFloatVal ¶
func (x *TestCustomMessage) GetFloatVal() float32
func (*TestCustomMessage) GetIntVal ¶
func (x *TestCustomMessage) GetIntVal() int64
func (*TestCustomMessage) GetStringVal ¶
func (x *TestCustomMessage) GetStringVal() string
func (*TestCustomMessage) ProtoMessage ¶
func (*TestCustomMessage) ProtoMessage()
func (*TestCustomMessage) ProtoReflect ¶
func (x *TestCustomMessage) ProtoReflect() protoreflect.Message
func (*TestCustomMessage) Reset ¶
func (x *TestCustomMessage) Reset()
func (*TestCustomMessage) String ¶
func (x *TestCustomMessage) String() string
Click to show internal directories.
Click to hide internal directories.