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