// Code generated by protoc-gen-go. // source: log_entry.proto // DO NOT EDIT! package protobuf import proto "code.google.com/p/goprotobuf/proto" import json "encoding/json" import math "math" // Reference proto, json, and math imports to suppress error if they are not otherwise used. var _ = proto.Marshal var _ = &json.SyntaxError{} var _ = math.Inf type ProtoLogEntry 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 (m *ProtoLogEntry) Reset() { *m = ProtoLogEntry{} } func (m *ProtoLogEntry) String() string { return proto.CompactTextString(m) } func (*ProtoLogEntry) ProtoMessage() {} func (m *ProtoLogEntry) GetIndex() uint64 { if m != nil && m.Index != nil { return *m.Index } return 0 } func (m *ProtoLogEntry) GetTerm() uint64 { if m != nil && m.Term != nil { return *m.Term } return 0 } func (m *ProtoLogEntry) GetCommandName() string { if m != nil && m.CommandName != nil { return *m.CommandName } return "" } func (m *ProtoLogEntry) GetCommand() []byte { if m != nil { return m.Command } return nil } func init() { }