package protobuf
import "github.com/coreos/etcd/migrate/etcd4pb"
Package protobuf is a generated protocol buffer package.
It is generated from these files:
log_entry.proto
It has these top-level messages:
LogEntry
Index ¶
- type LogEntry
- func NewPopulatedLogEntry(r randyLogEntry, easy bool) *LogEntry
- func (this *LogEntry) Equal(that interface{}) bool
- func (m *LogEntry) GetCommand() []byte
- func (m *LogEntry) GetCommandName() string
- func (m *LogEntry) GetIndex() uint64
- func (m *LogEntry) GetTerm() uint64
- func (this *LogEntry) GoString() string
- func (m *LogEntry) Marshal() (data []byte, err error)
- func (m *LogEntry) MarshalTo(data []byte) (n int, err error)
- func (*LogEntry) ProtoMessage()
- func (m *LogEntry) Reset()
- func (m *LogEntry) Size() (n int)
- func (this *LogEntry) String() string
- func (m *LogEntry) Unmarshal(data []byte) error
- func (this *LogEntry) VerboseEqual(that interface{}) error
Types ¶
type LogEntry ¶
type LogEntry struct { Index *uint64 `protobuf:"varint,1,req" json:"Index,omitempty"` Term *uint64 `protobuf:"varint,2,req" json:"Term,omitempty"` CommandName *string `protobuf:"bytes,3,req" json:"CommandName,omitempty"` Command []byte `protobuf:"bytes,4,opt" json:"Command,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedLogEntry ¶
func (*LogEntry) Equal ¶
func (*LogEntry) GetCommand ¶
func (*LogEntry) GetCommandName ¶
func (*LogEntry) GetIndex ¶
func (*LogEntry) GetTerm ¶
func (*LogEntry) GoString ¶
func (*LogEntry) Marshal ¶
func (*LogEntry) MarshalTo ¶
func (*LogEntry) ProtoMessage ¶
func (*LogEntry) ProtoMessage()
func (*LogEntry) Reset ¶
func (m *LogEntry) Reset()
func (*LogEntry) Size ¶
func (*LogEntry) String ¶
func (*LogEntry) Unmarshal ¶
func (*LogEntry) VerboseEqual ¶
Source Files ¶
- Version
- v2.1.1+incompatible
- Published
- Jul 21, 2015
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 1 hour ago –
Tools for package owners.