public static class MasterService.user_createNewBlock_result extends Object implements org.apache.thrift.TBase<MasterService.user_createNewBlock_result,MasterService.user_createNewBlock_result._Fields>, Serializable, Cloneable, Comparable<MasterService.user_createNewBlock_result>
Modifier and Type | Class and Description |
---|---|
static class |
MasterService.user_createNewBlock_result._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
FileDoesNotExistException |
e |
static Map<MasterService.user_createNewBlock_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
success |
Constructor and Description |
---|
MasterService.user_createNewBlock_result() |
MasterService.user_createNewBlock_result(long success,
FileDoesNotExistException e) |
MasterService.user_createNewBlock_result(MasterService.user_createNewBlock_result other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(MasterService.user_createNewBlock_result other) |
MasterService.user_createNewBlock_result |
deepCopy() |
boolean |
equals(MasterService.user_createNewBlock_result that) |
boolean |
equals(Object that) |
MasterService.user_createNewBlock_result._Fields |
fieldForId(int fieldId) |
FileDoesNotExistException |
getE() |
Object |
getFieldValue(MasterService.user_createNewBlock_result._Fields field) |
long |
getSuccess() |
int |
hashCode() |
boolean |
isSet(MasterService.user_createNewBlock_result._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetE()
Returns true if field e is set (has been assigned a value) and false otherwise
|
boolean |
isSetSuccess()
Returns true if field success is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
MasterService.user_createNewBlock_result |
setE(FileDoesNotExistException e) |
void |
setEIsSet(boolean value) |
void |
setFieldValue(MasterService.user_createNewBlock_result._Fields field,
Object value) |
MasterService.user_createNewBlock_result |
setSuccess(long success) |
void |
setSuccessIsSet(boolean value) |
String |
toString() |
void |
unsetE() |
void |
unsetSuccess() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long success
public FileDoesNotExistException e
public static final Map<MasterService.user_createNewBlock_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public MasterService.user_createNewBlock_result()
public MasterService.user_createNewBlock_result(long success, FileDoesNotExistException e)
public MasterService.user_createNewBlock_result(MasterService.user_createNewBlock_result other)
public MasterService.user_createNewBlock_result deepCopy()
deepCopy
in interface org.apache.thrift.TBase<MasterService.user_createNewBlock_result,MasterService.user_createNewBlock_result._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<MasterService.user_createNewBlock_result,MasterService.user_createNewBlock_result._Fields>
public long getSuccess()
public MasterService.user_createNewBlock_result setSuccess(long success)
public void unsetSuccess()
public boolean isSetSuccess()
public void setSuccessIsSet(boolean value)
public FileDoesNotExistException getE()
public MasterService.user_createNewBlock_result setE(FileDoesNotExistException e)
public void unsetE()
public boolean isSetE()
public void setEIsSet(boolean value)
public void setFieldValue(MasterService.user_createNewBlock_result._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<MasterService.user_createNewBlock_result,MasterService.user_createNewBlock_result._Fields>
public Object getFieldValue(MasterService.user_createNewBlock_result._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<MasterService.user_createNewBlock_result,MasterService.user_createNewBlock_result._Fields>
public boolean isSet(MasterService.user_createNewBlock_result._Fields field)
isSet
in interface org.apache.thrift.TBase<MasterService.user_createNewBlock_result,MasterService.user_createNewBlock_result._Fields>
public boolean equals(MasterService.user_createNewBlock_result that)
public int compareTo(MasterService.user_createNewBlock_result other)
compareTo
in interface Comparable<MasterService.user_createNewBlock_result>
public MasterService.user_createNewBlock_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<MasterService.user_createNewBlock_result,MasterService.user_createNewBlock_result._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<MasterService.user_createNewBlock_result,MasterService.user_createNewBlock_result._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_createNewBlock_result,MasterService.user_createNewBlock_result._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2015. All Rights Reserved.