Documentation ¶
Index ¶
- Variables
- func ScalarMessageToBSON(msg *ScalarMessage) bson.M
- type ScalarMessage
- func (*ScalarMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ScalarMessage) GetDouble() float64
- func (x *ScalarMessage) GetFloat() float32
- func (x *ScalarMessage) GetInt32() int32
- func (x *ScalarMessage) GetInt64() int64
- func (*ScalarMessage) ProtoMessage()
- func (x *ScalarMessage) ProtoReflect() protoreflect.Message
- func (x *ScalarMessage) Reset()
- func (x *ScalarMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_scalar_proto protoreflect.FileDescriptor
Functions ¶
func ScalarMessageToBSON ¶
func ScalarMessageToBSON(msg *ScalarMessage) bson.M
Types ¶
type ScalarMessage ¶
type ScalarMessage struct { Double float64 `protobuf:"fixed64,1,opt,name=double,proto3" json:"double,omitempty"` Float float32 `protobuf:"fixed32,2,opt,name=float,proto3" json:"float,omitempty"` Int32 int32 `protobuf:"varint,3,opt,name=int32,proto3" json:"int32,omitempty"` Int64 int64 `protobuf:"varint,4,opt,name=int64,proto3" json:"int64,omitempty"` // contains filtered or unexported fields }
func (*ScalarMessage) Descriptor
deprecated
func (*ScalarMessage) Descriptor() ([]byte, []int)
Deprecated: Use ScalarMessage.ProtoReflect.Descriptor instead.
func (*ScalarMessage) GetDouble ¶
func (x *ScalarMessage) GetDouble() float64
func (*ScalarMessage) GetFloat ¶
func (x *ScalarMessage) GetFloat() float32
func (*ScalarMessage) GetInt32 ¶
func (x *ScalarMessage) GetInt32() int32
func (*ScalarMessage) GetInt64 ¶
func (x *ScalarMessage) GetInt64() int64
func (*ScalarMessage) ProtoMessage ¶
func (*ScalarMessage) ProtoMessage()
func (*ScalarMessage) ProtoReflect ¶
func (x *ScalarMessage) ProtoReflect() protoreflect.Message
func (*ScalarMessage) Reset ¶
func (x *ScalarMessage) Reset()
func (*ScalarMessage) String ¶
func (x *ScalarMessage) String() string
Click to show internal directories.
Click to hide internal directories.