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