public class LogInfo extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<LogInfo>
| Modifier and Type | Class and Description |
|---|---|
static class |
LogInfo.Builder |
| Modifier and Type | Field and Description |
|---|---|
long |
log_id |
static int |
LOG_ID |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
term_id |
static int |
TERM_ID |
| Constructor and Description |
|---|
LogInfo() |
LogInfo(LogInfo other)
Performs a deep copy on other.
|
LogInfo(long log_id,
long term_id) |
| Modifier and Type | Method and Description |
|---|---|
static LogInfo.Builder |
builder() |
int |
compareTo(LogInfo other) |
LogInfo |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
Object |
getFieldValue(int fieldID) |
long |
getLog_id() |
long |
getTerm_id() |
int |
hashCode() |
boolean |
isSetLog_id() |
boolean |
isSetTerm_id() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
void |
setFieldValue(int fieldID,
Object __value) |
LogInfo |
setLog_id(long log_id) |
void |
setLog_idIsSet(boolean __value) |
LogInfo |
setTerm_id(long term_id) |
void |
setTerm_idIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetLog_id() |
void |
unsetTerm_id() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public long log_id
public long term_id
public static final int LOG_ID
public static final int TERM_ID
public LogInfo()
public LogInfo(long log_id,
long term_id)
public LogInfo(LogInfo other)
public static LogInfo.Builder builder()
public LogInfo deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic long getLog_id()
public LogInfo setLog_id(long log_id)
public void unsetLog_id()
public boolean isSetLog_id()
public void setLog_idIsSet(boolean __value)
public long getTerm_id()
public LogInfo setTerm_id(long term_id)
public void unsetTerm_id()
public boolean isSetTerm_id()
public void setTerm_idIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(LogInfo other)
compareTo in interface Comparable<LogInfo>public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseiprot - Input protocolcom.facebook.thrift.TExceptionpublic void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBasewrite in interface com.facebook.thrift.TBaseoprot - Output protocolcom.facebook.thrift.TExceptionpublic String toString(int indent, boolean prettyPrint)
com.facebook.thrift.TBasetoString in interface com.facebook.thrift.TBaseindent - The level of indentation desiredprettyPrint - Set pretty printing on/offpublic void validate()
throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionCopyright © 2022. All rights reserved.