Documentation ¶
Overview ¶
Package metadatapb is a generated protocol buffer package.
It is generated from these files:
github.com/m3db/m3/src/cluster/generated/proto/metadatapb/metadata.proto
It has these top-level messages:
Metadata
Index ¶
- Variables
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetHeartbeatInterval() int64
- func (m *Metadata) GetLivenessInterval() int64
- func (m *Metadata) GetPort() uint32
- 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 ( ErrInvalidLengthMetadata = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMetadata = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct { Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` LivenessInterval int64 `protobuf:"varint,2,opt,name=liveness_interval,json=livenessInterval,proto3" json:"liveness_interval,omitempty"` HeartbeatInterval int64 `protobuf:"varint,3,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"` }
func (*Metadata) Descriptor ¶
func (*Metadata) GetHeartbeatInterval ¶
func (*Metadata) GetLivenessInterval ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.