Documentation ¶
Index ¶
- Variables
- type Msg
- func (*Msg) Descriptor() ([]byte, []int)deprecated
- func (x *Msg) GetDur() *durationpb.Duration
- func (x *Msg) GetObj() *structpb.Struct
- func (x *Msg) GetTs() *timestamppb.Timestamp
- func (x *Msg) GetType() Type
- func (x *Msg) GetValue() string
- func (*Msg) ProtoMessage()
- func (x *Msg) ProtoReflect() protoreflect.Message
- func (x *Msg) Reset()
- func (x *Msg) String() string
- type Type
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TYPE_ONE", 2: "TYPE_TWO", } Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_ONE": 1, "TYPE_TWO": 2, } )
Enum value maps for Type.
View Source
var File_message_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Msg ¶
type Msg struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=message.Type" json:"type,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Ts *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=ts,proto3" json:"ts,omitempty"` Dur *durationpb.Duration `protobuf:"bytes,21,opt,name=dur,proto3" json:"dur,omitempty"` Obj *structpb.Struct `protobuf:"bytes,22,opt,name=obj,proto3" json:"obj,omitempty"` // contains filtered or unexported fields }
func (*Msg) Descriptor
deprecated
func (*Msg) GetDur ¶
func (x *Msg) GetDur() *durationpb.Duration
func (*Msg) GetTs ¶
func (x *Msg) GetTs() *timestamppb.Timestamp
func (*Msg) ProtoMessage ¶
func (*Msg) ProtoMessage()
func (*Msg) ProtoReflect ¶
func (x *Msg) ProtoReflect() protoreflect.Message
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.