Documentation ¶
Overview ¶
Package msgpb is a generated protocol buffer package.
It is generated from these files:
github.com/m3db/m3/src/msg/generated/proto/msgpb/msg.proto
It has these top-level messages:
Metadata Message Ack
Index ¶
- Variables
- type Ack
- func (*Ack) Descriptor() ([]byte, []int)
- func (m *Ack) GetMetadata() []Metadata
- func (m *Ack) Marshal() (dAtA []byte, err error)
- func (m *Ack) MarshalTo(dAtA []byte) (int, error)
- func (*Ack) ProtoMessage()
- func (m *Ack) Reset()
- func (m *Ack) Size() (n int)
- func (m *Ack) String() string
- func (m *Ack) Unmarshal(dAtA []byte) error
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetMetadata() Metadata
- func (m *Message) GetValue() []byte
- func (m *Message) Marshal() (dAtA []byte, err error)
- func (m *Message) MarshalTo(dAtA []byte) (int, error)
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) Size() (n int)
- func (m *Message) String() string
- func (m *Message) Unmarshal(dAtA []byte) error
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetId() uint64
- func (m *Metadata) GetShard() uint64
- func (m *Metadata) Marshal() (dAtA []byte, err error)
- func (m *Metadata) MarshalTo(dAtA []byte) (int, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (m *Metadata) String() string
- func (m *Metadata) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthMsg = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsg = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Ack ¶
type Ack struct {
Metadata []Metadata `protobuf:"bytes,1,rep,name=metadata" json:"metadata"`
}
func (*Ack) Descriptor ¶
func (*Ack) GetMetadata ¶
func (*Ack) ProtoMessage ¶
func (*Ack) ProtoMessage()
type Message ¶
type Message struct { Metadata Metadata `protobuf:"bytes,1,opt,name=metadata" json:"metadata"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
func (*Message) Descriptor ¶
func (*Message) GetMetadata ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
type Metadata ¶
type Metadata struct { Shard uint64 `protobuf:"varint,1,opt,name=shard,proto3" json:"shard,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` }
func (*Metadata) Descriptor ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.