public static interface EloquentRaftProto.LogEntryOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConfiguration(int index)
the new configuration for the cluster - only in CONFIGURATION
|
com.google.protobuf.ByteString |
getConfigurationBytes(int index)
the new configuration for the cluster - only in CONFIGURATION
|
int |
getConfigurationCount()
the new configuration for the cluster - only in CONFIGURATION
|
java.util.List<java.lang.String> |
getConfigurationList()
the new configuration for the cluster - only in CONFIGURATION
|
long |
getIndex()
the index of the log entry
|
java.lang.String |
getNewHospiceMember()
or, the addition of a hospice member - only in TRANSITION messages
|
com.google.protobuf.ByteString |
getNewHospiceMemberBytes()
or, the addition of a hospice member - only in TRANSITION messages
|
EloquentRaftProto.LogEntry.PayloadCase |
getPayloadCase() |
long |
getTerm()
term when the log entry was created
|
com.google.protobuf.ByteString |
getTransition()
the raw bytes of the transition request - only in TRANSITION messages
|
EloquentRaftProto.LogEntryType |
getType()
the type of the log entry
|
int |
getTypeValue()
the type of the log entry
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoflong getIndex()
the index of the log entry
uint64 index = 1;long getTerm()
term when the log entry was created
uint64 term = 2;int getTypeValue()
the type of the log entry
.ai.eloquent.raft.LogEntryType type = 3;EloquentRaftProto.LogEntryType getType()
the type of the log entry
.ai.eloquent.raft.LogEntryType type = 3;com.google.protobuf.ByteString getTransition()
the raw bytes of the transition request - only in TRANSITION messages
bytes transition = 4;java.lang.String getNewHospiceMember()
or, the addition of a hospice member - only in TRANSITION messages
string new_hospice_member = 6;com.google.protobuf.ByteString getNewHospiceMemberBytes()
or, the addition of a hospice member - only in TRANSITION messages
string new_hospice_member = 6;java.util.List<java.lang.String> getConfigurationList()
the new configuration for the cluster - only in CONFIGURATION
repeated string configuration = 5;int getConfigurationCount()
the new configuration for the cluster - only in CONFIGURATION
repeated string configuration = 5;java.lang.String getConfiguration(int index)
the new configuration for the cluster - only in CONFIGURATION
repeated string configuration = 5;com.google.protobuf.ByteString getConfigurationBytes(int index)
the new configuration for the cluster - only in CONFIGURATION
repeated string configuration = 5;EloquentRaftProto.LogEntry.PayloadCase getPayloadCase()