public static class WorkerService.addCheckpoint_args extends Object implements org.apache.thrift.TBase<WorkerService.addCheckpoint_args,WorkerService.addCheckpoint_args._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
WorkerService.addCheckpoint_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
int |
fileId |
static Map<WorkerService.addCheckpoint_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
userId |
Constructor and Description |
---|
addCheckpoint_args() |
addCheckpoint_args(long userId,
int fileId) |
addCheckpoint_args(WorkerService.addCheckpoint_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(WorkerService.addCheckpoint_args other) |
WorkerService.addCheckpoint_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(WorkerService.addCheckpoint_args that) |
WorkerService.addCheckpoint_args._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(WorkerService.addCheckpoint_args._Fields field) |
int |
getFileId() |
long |
getUserId() |
int |
hashCode() |
boolean |
isSet(WorkerService.addCheckpoint_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetFileId()
Returns true if field fileId is set (has been assigned a value) and false otherwise
|
boolean |
isSetUserId()
Returns true if field userId is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(WorkerService.addCheckpoint_args._Fields field,
Object value) |
WorkerService.addCheckpoint_args |
setFileId(int fileId) |
void |
setFileIdIsSet(boolean value) |
WorkerService.addCheckpoint_args |
setUserId(long userId) |
void |
setUserIdIsSet(boolean value) |
String |
toString() |
void |
unsetFileId() |
void |
unsetUserId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long userId
public int fileId
public static final Map<WorkerService.addCheckpoint_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public addCheckpoint_args()
public addCheckpoint_args(long userId, int fileId)
public addCheckpoint_args(WorkerService.addCheckpoint_args other)
public WorkerService.addCheckpoint_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<WorkerService.addCheckpoint_args,WorkerService.addCheckpoint_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<WorkerService.addCheckpoint_args,WorkerService.addCheckpoint_args._Fields>
public long getUserId()
public WorkerService.addCheckpoint_args setUserId(long userId)
public void unsetUserId()
public boolean isSetUserId()
public void setUserIdIsSet(boolean value)
public int getFileId()
public WorkerService.addCheckpoint_args setFileId(int fileId)
public void unsetFileId()
public boolean isSetFileId()
public void setFileIdIsSet(boolean value)
public void setFieldValue(WorkerService.addCheckpoint_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<WorkerService.addCheckpoint_args,WorkerService.addCheckpoint_args._Fields>
public Object getFieldValue(WorkerService.addCheckpoint_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<WorkerService.addCheckpoint_args,WorkerService.addCheckpoint_args._Fields>
public boolean isSet(WorkerService.addCheckpoint_args._Fields field)
isSet
in interface org.apache.thrift.TBase<WorkerService.addCheckpoint_args,WorkerService.addCheckpoint_args._Fields>
public boolean equals(WorkerService.addCheckpoint_args that)
public int compareTo(WorkerService.addCheckpoint_args other)
compareTo
in interface Comparable<WorkerService.addCheckpoint_args>
public WorkerService.addCheckpoint_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<WorkerService.addCheckpoint_args,WorkerService.addCheckpoint_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<WorkerService.addCheckpoint_args,WorkerService.addCheckpoint_args._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<WorkerService.addCheckpoint_args,WorkerService.addCheckpoint_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2014. All rights reserved.