public class AppendLogResponse extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<AppendLogResponse>
| Modifier and Type | Class and Description |
|---|---|
static class |
AppendLogResponse.Builder |
| Modifier and Type | Field and Description |
|---|---|
ErrorCode |
error_code |
static int |
ERROR_CODE |
long |
last_matched_log_id |
static int |
LAST_MATCHED_LOG_ID |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
AppendLogResponse() |
AppendLogResponse(AppendLogResponse other)
Performs a deep copy on other.
|
AppendLogResponse(ErrorCode error_code,
long last_matched_log_id) |
| Modifier and Type | Method and Description |
|---|---|
static AppendLogResponse.Builder |
builder() |
int |
compareTo(AppendLogResponse other) |
AppendLogResponse |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
ErrorCode |
getError_code() |
Object |
getFieldValue(int fieldID) |
long |
getLast_matched_log_id() |
int |
hashCode() |
boolean |
isSetError_code() |
boolean |
isSetLast_matched_log_id() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
AppendLogResponse |
setError_code(ErrorCode error_code) |
void |
setError_codeIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
AppendLogResponse |
setLast_matched_log_id(long last_matched_log_id) |
void |
setLast_matched_log_idIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetError_code() |
void |
unsetLast_matched_log_id() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public long last_matched_log_id
public static final int ERROR_CODE
public static final int LAST_MATCHED_LOG_ID
public AppendLogResponse()
public AppendLogResponse(ErrorCode error_code, long last_matched_log_id)
public AppendLogResponse(AppendLogResponse other)
public static AppendLogResponse.Builder builder()
public AppendLogResponse deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic AppendLogResponse setError_code(ErrorCode error_code)
ErrorCodepublic void unsetError_code()
public boolean isSetError_code()
public void setError_codeIsSet(boolean __value)
public long getLast_matched_log_id()
public AppendLogResponse setLast_matched_log_id(long last_matched_log_id)
public void unsetLast_matched_log_id()
public boolean isSetLast_matched_log_id()
public void setLast_matched_log_idIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(AppendLogResponse other)
compareTo in interface Comparable<AppendLogResponse>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.