public class CatchUpResp extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<CatchUpResp>
| Modifier and Type | Class and Description |
|---|---|
static class |
CatchUpResp.Builder |
| Modifier and Type | Field and Description |
|---|---|
ErrorCode |
code |
static int |
CODE |
long |
commitLogId |
static int |
COMMITLOGID |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
ResponseCommon |
result |
static int |
RESULT |
long |
snapshotRows |
static int |
SNAPSHOTROWS |
CatchUpStatus |
status |
static int |
STATUS |
| Constructor and Description |
|---|
CatchUpResp() |
CatchUpResp(CatchUpResp other)
Performs a deep copy on other.
|
CatchUpResp(ErrorCode code,
CatchUpStatus status,
long snapshotRows,
long commitLogId,
ResponseCommon result) |
| Modifier and Type | Method and Description |
|---|---|
static CatchUpResp.Builder |
builder() |
int |
compareTo(CatchUpResp other) |
CatchUpResp |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
ErrorCode |
getCode() |
long |
getCommitLogId() |
Object |
getFieldValue(int fieldID) |
ResponseCommon |
getResult() |
long |
getSnapshotRows() |
CatchUpStatus |
getStatus() |
int |
hashCode() |
boolean |
isSetCode() |
boolean |
isSetCommitLogId() |
boolean |
isSetResult() |
boolean |
isSetSnapshotRows() |
boolean |
isSetStatus() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
CatchUpResp |
setCode(ErrorCode code) |
void |
setCodeIsSet(boolean __value) |
CatchUpResp |
setCommitLogId(long commitLogId) |
void |
setCommitLogIdIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
CatchUpResp |
setResult(ResponseCommon result) |
void |
setResultIsSet(boolean __value) |
CatchUpResp |
setSnapshotRows(long snapshotRows) |
void |
setSnapshotRowsIsSet(boolean __value) |
CatchUpResp |
setStatus(CatchUpStatus status) |
void |
setStatusIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetCode() |
void |
unsetCommitLogId() |
void |
unsetResult() |
void |
unsetSnapshotRows() |
void |
unsetStatus() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public CatchUpStatus status
CatchUpStatuspublic long snapshotRows
public long commitLogId
public ResponseCommon result
public static final int CODE
public static final int STATUS
public static final int SNAPSHOTROWS
public static final int COMMITLOGID
public static final int RESULT
public CatchUpResp()
public CatchUpResp(ErrorCode code, CatchUpStatus status, long snapshotRows, long commitLogId, ResponseCommon result)
public CatchUpResp(CatchUpResp other)
public static CatchUpResp.Builder builder()
public CatchUpResp deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic CatchUpResp setCode(ErrorCode code)
ErrorCodepublic void unsetCode()
public boolean isSetCode()
public void setCodeIsSet(boolean __value)
public CatchUpStatus getStatus()
CatchUpStatuspublic CatchUpResp setStatus(CatchUpStatus status)
CatchUpStatuspublic void unsetStatus()
public boolean isSetStatus()
public void setStatusIsSet(boolean __value)
public long getSnapshotRows()
public CatchUpResp setSnapshotRows(long snapshotRows)
public void unsetSnapshotRows()
public boolean isSetSnapshotRows()
public void setSnapshotRowsIsSet(boolean __value)
public long getCommitLogId()
public CatchUpResp setCommitLogId(long commitLogId)
public void unsetCommitLogId()
public boolean isSetCommitLogId()
public void setCommitLogIdIsSet(boolean __value)
public ResponseCommon getResult()
public CatchUpResp setResult(ResponseCommon result)
public void unsetResult()
public boolean isSetResult()
public void setResultIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(CatchUpResp other)
compareTo in interface Comparable<CatchUpResp>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 © 2024. All rights reserved.