|
|
@@ -26,7 +26,6 @@ import math "math"
|
|
|
|
|
|
import io "io"
|
|
|
import fmt "fmt"
|
|
|
-import github_com_gogo_protobuf_proto "github.com/coreos/etcd/Godeps/_workspace/src/github.com/gogo/protobuf/proto"
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
var _ = proto.Marshal
|
|
|
@@ -165,10 +164,10 @@ func (x *ConfChangeType) UnmarshalJSON(data []byte) error {
|
|
|
}
|
|
|
|
|
|
type Entry struct {
|
|
|
- Type EntryType `protobuf:"varint,1,req,enum=raftpb.EntryType" json:"Type"`
|
|
|
- Term uint64 `protobuf:"varint,2,req" json:"Term"`
|
|
|
- Index uint64 `protobuf:"varint,3,req" json:"Index"`
|
|
|
- Data []byte `protobuf:"bytes,4,opt" json:"Data"`
|
|
|
+ Type EntryType `protobuf:"varint,1,opt,enum=raftpb.EntryType" json:"Type"`
|
|
|
+ Term uint64 `protobuf:"varint,2,opt" json:"Term"`
|
|
|
+ Index uint64 `protobuf:"varint,3,opt" json:"Index"`
|
|
|
+ Data []byte `protobuf:"bytes,4,opt" json:"Data,omitempty"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
}
|
|
|
|
|
|
@@ -177,9 +176,9 @@ func (m *Entry) String() string { return proto.CompactTextString(m) }
|
|
|
func (*Entry) ProtoMessage() {}
|
|
|
|
|
|
type SnapshotMetadata struct {
|
|
|
- ConfState ConfState `protobuf:"bytes,1,req,name=conf_state" json:"conf_state"`
|
|
|
- Index uint64 `protobuf:"varint,2,req,name=index" json:"index"`
|
|
|
- Term uint64 `protobuf:"varint,3,req,name=term" json:"term"`
|
|
|
+ ConfState ConfState `protobuf:"bytes,1,opt,name=conf_state" json:"conf_state"`
|
|
|
+ Index uint64 `protobuf:"varint,2,opt,name=index" json:"index"`
|
|
|
+ Term uint64 `protobuf:"varint,3,opt,name=term" json:"term"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
}
|
|
|
|
|
|
@@ -188,8 +187,8 @@ func (m *SnapshotMetadata) String() string { return proto.CompactTextString(m) }
|
|
|
func (*SnapshotMetadata) ProtoMessage() {}
|
|
|
|
|
|
type Snapshot struct {
|
|
|
- Data []byte `protobuf:"bytes,1,opt,name=data" json:"data"`
|
|
|
- Metadata SnapshotMetadata `protobuf:"bytes,2,req,name=metadata" json:"metadata"`
|
|
|
+ Data []byte `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
|
|
|
+ Metadata SnapshotMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
}
|
|
|
|
|
|
@@ -198,17 +197,17 @@ func (m *Snapshot) String() string { return proto.CompactTextString(m) }
|
|
|
func (*Snapshot) ProtoMessage() {}
|
|
|
|
|
|
type Message struct {
|
|
|
- Type MessageType `protobuf:"varint,1,req,name=type,enum=raftpb.MessageType" json:"type"`
|
|
|
- To uint64 `protobuf:"varint,2,req,name=to" json:"to"`
|
|
|
- From uint64 `protobuf:"varint,3,req,name=from" json:"from"`
|
|
|
- Term uint64 `protobuf:"varint,4,req,name=term" json:"term"`
|
|
|
- LogTerm uint64 `protobuf:"varint,5,req,name=logTerm" json:"logTerm"`
|
|
|
- Index uint64 `protobuf:"varint,6,req,name=index" json:"index"`
|
|
|
+ Type MessageType `protobuf:"varint,1,opt,name=type,enum=raftpb.MessageType" json:"type"`
|
|
|
+ To uint64 `protobuf:"varint,2,opt,name=to" json:"to"`
|
|
|
+ From uint64 `protobuf:"varint,3,opt,name=from" json:"from"`
|
|
|
+ Term uint64 `protobuf:"varint,4,opt,name=term" json:"term"`
|
|
|
+ LogTerm uint64 `protobuf:"varint,5,opt,name=logTerm" json:"logTerm"`
|
|
|
+ Index uint64 `protobuf:"varint,6,opt,name=index" json:"index"`
|
|
|
Entries []Entry `protobuf:"bytes,7,rep,name=entries" json:"entries"`
|
|
|
- Commit uint64 `protobuf:"varint,8,req,name=commit" json:"commit"`
|
|
|
- Snapshot Snapshot `protobuf:"bytes,9,req,name=snapshot" json:"snapshot"`
|
|
|
- Reject bool `protobuf:"varint,10,req,name=reject" json:"reject"`
|
|
|
- RejectHint uint64 `protobuf:"varint,11,req,name=rejectHint" json:"rejectHint"`
|
|
|
+ Commit uint64 `protobuf:"varint,8,opt,name=commit" json:"commit"`
|
|
|
+ Snapshot Snapshot `protobuf:"bytes,9,opt,name=snapshot" json:"snapshot"`
|
|
|
+ Reject bool `protobuf:"varint,10,opt,name=reject" json:"reject"`
|
|
|
+ RejectHint uint64 `protobuf:"varint,11,opt,name=rejectHint" json:"rejectHint"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
}
|
|
|
|
|
|
@@ -217,9 +216,9 @@ func (m *Message) String() string { return proto.CompactTextString(m) }
|
|
|
func (*Message) ProtoMessage() {}
|
|
|
|
|
|
type HardState struct {
|
|
|
- Term uint64 `protobuf:"varint,1,req,name=term" json:"term"`
|
|
|
- Vote uint64 `protobuf:"varint,2,req,name=vote" json:"vote"`
|
|
|
- Commit uint64 `protobuf:"varint,3,req,name=commit" json:"commit"`
|
|
|
+ Term uint64 `protobuf:"varint,1,opt,name=term" json:"term"`
|
|
|
+ Vote uint64 `protobuf:"varint,2,opt,name=vote" json:"vote"`
|
|
|
+ Commit uint64 `protobuf:"varint,3,opt,name=commit" json:"commit"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
}
|
|
|
|
|
|
@@ -228,7 +227,7 @@ func (m *HardState) String() string { return proto.CompactTextString(m) }
|
|
|
func (*HardState) ProtoMessage() {}
|
|
|
|
|
|
type ConfState struct {
|
|
|
- Nodes []uint64 `protobuf:"varint,1,rep,name=nodes" json:"nodes"`
|
|
|
+ Nodes []uint64 `protobuf:"varint,1,rep,name=nodes" json:"nodes,omitempty"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
}
|
|
|
|
|
|
@@ -237,10 +236,10 @@ func (m *ConfState) String() string { return proto.CompactTextString(m) }
|
|
|
func (*ConfState) ProtoMessage() {}
|
|
|
|
|
|
type ConfChange struct {
|
|
|
- ID uint64 `protobuf:"varint,1,req" json:"ID"`
|
|
|
- Type ConfChangeType `protobuf:"varint,2,req,enum=raftpb.ConfChangeType" json:"Type"`
|
|
|
- NodeID uint64 `protobuf:"varint,3,req" json:"NodeID"`
|
|
|
- Context []byte `protobuf:"bytes,4,opt" json:"Context"`
|
|
|
+ ID uint64 `protobuf:"varint,1,opt" json:"ID"`
|
|
|
+ Type ConfChangeType `protobuf:"varint,2,opt,enum=raftpb.ConfChangeType" json:"Type"`
|
|
|
+ NodeID uint64 `protobuf:"varint,3,opt" json:"NodeID"`
|
|
|
+ Context []byte `protobuf:"bytes,4,opt" json:"Context,omitempty"`
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
}
|
|
|
|
|
|
@@ -254,7 +253,6 @@ func init() {
|
|
|
proto.RegisterEnum("raftpb.ConfChangeType", ConfChangeType_name, ConfChangeType_value)
|
|
|
}
|
|
|
func (m *Entry) Unmarshal(data []byte) error {
|
|
|
- var hasFields [1]uint64
|
|
|
l := len(data)
|
|
|
iNdEx := 0
|
|
|
for iNdEx < l {
|
|
|
@@ -288,7 +286,6 @@ func (m *Entry) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000001)
|
|
|
case 2:
|
|
|
if wireType != 0 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Term", wireType)
|
|
|
@@ -304,7 +301,6 @@ func (m *Entry) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000002)
|
|
|
case 3:
|
|
|
if wireType != 0 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
|
|
|
@@ -320,7 +316,6 @@ func (m *Entry) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000004)
|
|
|
case 4:
|
|
|
if wireType != 2 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
|
|
|
@@ -364,20 +359,10 @@ func (m *Entry) Unmarshal(data []byte) error {
|
|
|
iNdEx += skippy
|
|
|
}
|
|
|
}
|
|
|
- if hasFields[0]&uint64(0x00000001) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("Type")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000002) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("Term")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000004) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("Index")
|
|
|
- }
|
|
|
|
|
|
return nil
|
|
|
}
|
|
|
func (m *SnapshotMetadata) Unmarshal(data []byte) error {
|
|
|
- var hasFields [1]uint64
|
|
|
l := len(data)
|
|
|
iNdEx := 0
|
|
|
for iNdEx < l {
|
|
|
@@ -420,7 +405,6 @@ func (m *SnapshotMetadata) Unmarshal(data []byte) error {
|
|
|
return err
|
|
|
}
|
|
|
iNdEx = postIndex
|
|
|
- hasFields[0] |= uint64(0x00000001)
|
|
|
case 2:
|
|
|
if wireType != 0 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
|
|
|
@@ -436,7 +420,6 @@ func (m *SnapshotMetadata) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000002)
|
|
|
case 3:
|
|
|
if wireType != 0 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Term", wireType)
|
|
|
@@ -452,7 +435,6 @@ func (m *SnapshotMetadata) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000004)
|
|
|
default:
|
|
|
var sizeOfWire int
|
|
|
for {
|
|
|
@@ -474,20 +456,10 @@ func (m *SnapshotMetadata) Unmarshal(data []byte) error {
|
|
|
iNdEx += skippy
|
|
|
}
|
|
|
}
|
|
|
- if hasFields[0]&uint64(0x00000001) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("conf_state")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000002) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("index")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000004) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("term")
|
|
|
- }
|
|
|
|
|
|
return nil
|
|
|
}
|
|
|
func (m *Snapshot) Unmarshal(data []byte) error {
|
|
|
- var hasFields [1]uint64
|
|
|
l := len(data)
|
|
|
iNdEx := 0
|
|
|
for iNdEx < l {
|
|
|
@@ -552,7 +524,6 @@ func (m *Snapshot) Unmarshal(data []byte) error {
|
|
|
return err
|
|
|
}
|
|
|
iNdEx = postIndex
|
|
|
- hasFields[0] |= uint64(0x00000001)
|
|
|
default:
|
|
|
var sizeOfWire int
|
|
|
for {
|
|
|
@@ -574,14 +545,10 @@ func (m *Snapshot) Unmarshal(data []byte) error {
|
|
|
iNdEx += skippy
|
|
|
}
|
|
|
}
|
|
|
- if hasFields[0]&uint64(0x00000001) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("metadata")
|
|
|
- }
|
|
|
|
|
|
return nil
|
|
|
}
|
|
|
func (m *Message) Unmarshal(data []byte) error {
|
|
|
- var hasFields [1]uint64
|
|
|
l := len(data)
|
|
|
iNdEx := 0
|
|
|
for iNdEx < l {
|
|
|
@@ -615,7 +582,6 @@ func (m *Message) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000001)
|
|
|
case 2:
|
|
|
if wireType != 0 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field To", wireType)
|
|
|
@@ -631,7 +597,6 @@ func (m *Message) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000002)
|
|
|
case 3:
|
|
|
if wireType != 0 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
|
|
|
@@ -647,7 +612,6 @@ func (m *Message) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000004)
|
|
|
case 4:
|
|
|
if wireType != 0 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Term", wireType)
|
|
|
@@ -663,7 +627,6 @@ func (m *Message) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000008)
|
|
|
case 5:
|
|
|
if wireType != 0 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LogTerm", wireType)
|
|
|
@@ -679,7 +642,6 @@ func (m *Message) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000010)
|
|
|
case 6:
|
|
|
if wireType != 0 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
|
|
|
@@ -695,7 +657,6 @@ func (m *Message) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000020)
|
|
|
case 7:
|
|
|
if wireType != 2 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Entries", wireType)
|
|
|
@@ -736,7 +697,6 @@ func (m *Message) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000040)
|
|
|
case 9:
|
|
|
if wireType != 2 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Snapshot", wireType)
|
|
|
@@ -761,7 +721,6 @@ func (m *Message) Unmarshal(data []byte) error {
|
|
|
return err
|
|
|
}
|
|
|
iNdEx = postIndex
|
|
|
- hasFields[0] |= uint64(0x00000080)
|
|
|
case 10:
|
|
|
if wireType != 0 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Reject", wireType)
|
|
|
@@ -779,7 +738,6 @@ func (m *Message) Unmarshal(data []byte) error {
|
|
|
}
|
|
|
}
|
|
|
m.Reject = bool(v != 0)
|
|
|
- hasFields[0] |= uint64(0x00000100)
|
|
|
case 11:
|
|
|
if wireType != 0 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RejectHint", wireType)
|
|
|
@@ -795,7 +753,6 @@ func (m *Message) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000200)
|
|
|
default:
|
|
|
var sizeOfWire int
|
|
|
for {
|
|
|
@@ -817,41 +774,10 @@ func (m *Message) Unmarshal(data []byte) error {
|
|
|
iNdEx += skippy
|
|
|
}
|
|
|
}
|
|
|
- if hasFields[0]&uint64(0x00000001) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("type")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000002) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("to")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000004) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("from")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000008) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("term")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000010) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("logTerm")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000020) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("index")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000040) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("commit")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000080) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("snapshot")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000100) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("reject")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000200) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("rejectHint")
|
|
|
- }
|
|
|
|
|
|
return nil
|
|
|
}
|
|
|
func (m *HardState) Unmarshal(data []byte) error {
|
|
|
- var hasFields [1]uint64
|
|
|
l := len(data)
|
|
|
iNdEx := 0
|
|
|
for iNdEx < l {
|
|
|
@@ -885,7 +811,6 @@ func (m *HardState) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000001)
|
|
|
case 2:
|
|
|
if wireType != 0 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Vote", wireType)
|
|
|
@@ -901,7 +826,6 @@ func (m *HardState) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000002)
|
|
|
case 3:
|
|
|
if wireType != 0 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType)
|
|
|
@@ -917,7 +841,6 @@ func (m *HardState) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000004)
|
|
|
default:
|
|
|
var sizeOfWire int
|
|
|
for {
|
|
|
@@ -939,15 +862,6 @@ func (m *HardState) Unmarshal(data []byte) error {
|
|
|
iNdEx += skippy
|
|
|
}
|
|
|
}
|
|
|
- if hasFields[0]&uint64(0x00000001) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("term")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000002) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("vote")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000004) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("commit")
|
|
|
- }
|
|
|
|
|
|
return nil
|
|
|
}
|
|
|
@@ -1012,7 +926,6 @@ func (m *ConfState) Unmarshal(data []byte) error {
|
|
|
return nil
|
|
|
}
|
|
|
func (m *ConfChange) Unmarshal(data []byte) error {
|
|
|
- var hasFields [1]uint64
|
|
|
l := len(data)
|
|
|
iNdEx := 0
|
|
|
for iNdEx < l {
|
|
|
@@ -1046,7 +959,6 @@ func (m *ConfChange) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000001)
|
|
|
case 2:
|
|
|
if wireType != 0 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
|
|
|
@@ -1062,7 +974,6 @@ func (m *ConfChange) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000002)
|
|
|
case 3:
|
|
|
if wireType != 0 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NodeID", wireType)
|
|
|
@@ -1078,7 +989,6 @@ func (m *ConfChange) Unmarshal(data []byte) error {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- hasFields[0] |= uint64(0x00000004)
|
|
|
case 4:
|
|
|
if wireType != 2 {
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Context", wireType)
|
|
|
@@ -1122,15 +1032,6 @@ func (m *ConfChange) Unmarshal(data []byte) error {
|
|
|
iNdEx += skippy
|
|
|
}
|
|
|
}
|
|
|
- if hasFields[0]&uint64(0x00000001) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("ID")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000002) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("Type")
|
|
|
- }
|
|
|
- if hasFields[0]&uint64(0x00000004) == 0 {
|
|
|
- return github_com_gogo_protobuf_proto.NewRequiredNotSetError("NodeID")
|
|
|
- }
|
|
|
|
|
|
return nil
|
|
|
}
|