Documentation
¶
Index ¶
- Variables
- type CMessage
- func (*CMessage) Descriptor() ([]byte, []int)deprecated
- func (x *CMessage) GetData() []byte
- func (x *CMessage) GetId() string
- func (x *CMessage) GetPartitionKey() string
- func (*CMessage) ProtoMessage()
- func (x *CMessage) ProtoReflect() protoreflect.Message
- func (x *CMessage) Reset()
- func (x *CMessage) String() string
- type PMessage
- func (*PMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PMessage) GetData() []byte
- func (x *PMessage) GetMetadata() map[string]string
- func (x *PMessage) GetPartitionKey() string
- func (*PMessage) ProtoMessage()
- func (x *PMessage) ProtoReflect() protoreflect.Message
- func (x *PMessage) Reset()
- func (x *PMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_proto_contracts_cmessage_proto protoreflect.FileDescriptor
View Source
var File_api_proto_contracts_pmessage_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CMessage ¶
type CMessage struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CMessage) Descriptor
deprecated
func (*CMessage) GetPartitionKey ¶
func (*CMessage) ProtoMessage ¶
func (*CMessage) ProtoMessage()
func (*CMessage) ProtoReflect ¶
func (x *CMessage) ProtoReflect() protoreflect.Message
type PMessage ¶
type PMessage struct { Metadata map[string]string `` /* 157-byte string literal not displayed */ Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` PartitionKey string `protobuf:"bytes,3,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"` // contains filtered or unexported fields }
func (*PMessage) Descriptor
deprecated
func (*PMessage) GetMetadata ¶
func (*PMessage) GetPartitionKey ¶
func (*PMessage) ProtoMessage ¶
func (*PMessage) ProtoMessage()
func (*PMessage) ProtoReflect ¶
func (x *PMessage) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.