public static class MasterService.user_getBlockId_args extends Object implements org.apache.thrift.TBase<MasterService.user_getBlockId_args,MasterService.user_getBlockId_args._Fields>, Serializable, Cloneable, Comparable<MasterService.user_getBlockId_args>
Modifier and Type | Class and Description |
---|---|
static class |
MasterService.user_getBlockId_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 |
int |
index |
static Map<MasterService.user_getBlockId_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
MasterService.user_getBlockId_args() |
MasterService.user_getBlockId_args(int fileId,
int index) |
MasterService.user_getBlockId_args(MasterService.user_getBlockId_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(MasterService.user_getBlockId_args other) |
MasterService.user_getBlockId_args |
deepCopy() |
boolean |
equals(MasterService.user_getBlockId_args that) |
boolean |
equals(Object that) |
MasterService.user_getBlockId_args._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(MasterService.user_getBlockId_args._Fields field) |
int |
getFileId() |
int |
getIndex() |
int |
hashCode() |
boolean |
isSet(MasterService.user_getBlockId_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 |
isSetIndex()
Returns true if field index is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(MasterService.user_getBlockId_args._Fields field,
Object value) |
MasterService.user_getBlockId_args |
setFileId(int fileId) |
void |
setFileIdIsSet(boolean value) |
MasterService.user_getBlockId_args |
setIndex(int index) |
void |
setIndexIsSet(boolean value) |
String |
toString() |
void |
unsetFileId() |
void |
unsetIndex() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int fileId
public int index
public static final Map<MasterService.user_getBlockId_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public MasterService.user_getBlockId_args()
public MasterService.user_getBlockId_args(int fileId, int index)
public MasterService.user_getBlockId_args(MasterService.user_getBlockId_args other)
public MasterService.user_getBlockId_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<MasterService.user_getBlockId_args,MasterService.user_getBlockId_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<MasterService.user_getBlockId_args,MasterService.user_getBlockId_args._Fields>
public int getFileId()
public MasterService.user_getBlockId_args setFileId(int fileId)
public void unsetFileId()
public boolean isSetFileId()
public void setFileIdIsSet(boolean value)
public int getIndex()
public MasterService.user_getBlockId_args setIndex(int index)
public void unsetIndex()
public boolean isSetIndex()
public void setIndexIsSet(boolean value)
public void setFieldValue(MasterService.user_getBlockId_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<MasterService.user_getBlockId_args,MasterService.user_getBlockId_args._Fields>
public Object getFieldValue(MasterService.user_getBlockId_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<MasterService.user_getBlockId_args,MasterService.user_getBlockId_args._Fields>
public boolean isSet(MasterService.user_getBlockId_args._Fields field)
isSet
in interface org.apache.thrift.TBase<MasterService.user_getBlockId_args,MasterService.user_getBlockId_args._Fields>
public boolean equals(MasterService.user_getBlockId_args that)
public int compareTo(MasterService.user_getBlockId_args other)
compareTo
in interface Comparable<MasterService.user_getBlockId_args>
public MasterService.user_getBlockId_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<MasterService.user_getBlockId_args,MasterService.user_getBlockId_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<MasterService.user_getBlockId_args,MasterService.user_getBlockId_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<MasterService.user_getBlockId_args,MasterService.user_getBlockId_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2015. All Rights Reserved.