public static class WorkerService.requestBlockLocation_result extends Object implements org.apache.thrift.TBase<WorkerService.requestBlockLocation_result,WorkerService.requestBlockLocation_result._Fields>, Serializable, Cloneable, Comparable<WorkerService.requestBlockLocation_result>
Modifier and Type | Class and Description |
---|---|
static class |
WorkerService.requestBlockLocation_result._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
OutOfSpaceException |
eP |
FileAlreadyExistException |
eS |
static Map<WorkerService.requestBlockLocation_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
success |
Constructor and Description |
---|
WorkerService.requestBlockLocation_result() |
WorkerService.requestBlockLocation_result(String success,
OutOfSpaceException eP,
FileAlreadyExistException eS) |
WorkerService.requestBlockLocation_result(WorkerService.requestBlockLocation_result other)
Performs a deep copy on other.
|
public String success
public OutOfSpaceException eP
public FileAlreadyExistException eS
public static final Map<WorkerService.requestBlockLocation_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public WorkerService.requestBlockLocation_result()
public WorkerService.requestBlockLocation_result(String success, OutOfSpaceException eP, FileAlreadyExistException eS)
public WorkerService.requestBlockLocation_result(WorkerService.requestBlockLocation_result other)
public WorkerService.requestBlockLocation_result deepCopy()
deepCopy
in interface org.apache.thrift.TBase<WorkerService.requestBlockLocation_result,WorkerService.requestBlockLocation_result._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<WorkerService.requestBlockLocation_result,WorkerService.requestBlockLocation_result._Fields>
public String getSuccess()
public WorkerService.requestBlockLocation_result setSuccess(String success)
public void unsetSuccess()
public boolean isSetSuccess()
public void setSuccessIsSet(boolean value)
public OutOfSpaceException getEP()
public WorkerService.requestBlockLocation_result setEP(OutOfSpaceException eP)
public void unsetEP()
public boolean isSetEP()
public void setEPIsSet(boolean value)
public FileAlreadyExistException getES()
public WorkerService.requestBlockLocation_result setES(FileAlreadyExistException eS)
public void unsetES()
public boolean isSetES()
public void setESIsSet(boolean value)
public void setFieldValue(WorkerService.requestBlockLocation_result._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<WorkerService.requestBlockLocation_result,WorkerService.requestBlockLocation_result._Fields>
public Object getFieldValue(WorkerService.requestBlockLocation_result._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<WorkerService.requestBlockLocation_result,WorkerService.requestBlockLocation_result._Fields>
public boolean isSet(WorkerService.requestBlockLocation_result._Fields field)
isSet
in interface org.apache.thrift.TBase<WorkerService.requestBlockLocation_result,WorkerService.requestBlockLocation_result._Fields>
public boolean equals(WorkerService.requestBlockLocation_result that)
public int compareTo(WorkerService.requestBlockLocation_result other)
compareTo
in interface Comparable<WorkerService.requestBlockLocation_result>
public WorkerService.requestBlockLocation_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<WorkerService.requestBlockLocation_result,WorkerService.requestBlockLocation_result._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<WorkerService.requestBlockLocation_result,WorkerService.requestBlockLocation_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<WorkerService.requestBlockLocation_result,WorkerService.requestBlockLocation_result._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2015. All Rights Reserved.