scalar

package
v0.0.0-...-0901214 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL