public static class WorkerService.persistFile_args extends Object implements org.apache.thrift.TBase<WorkerService.persistFile_args,WorkerService.persistFile_args._Fields>, Serializable, Cloneable, Comparable<WorkerService.persistFile_args>
| Modifier and Type | Class and Description |
|---|---|
static class |
WorkerService.persistFile_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 |
fileId |
static Map<WorkerService.persistFile_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
nonce |
String |
path |
| Constructor and Description |
|---|
WorkerService.persistFile_args() |
WorkerService.persistFile_args(long fileId,
long nonce,
String path) |
WorkerService.persistFile_args(WorkerService.persistFile_args other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(WorkerService.persistFile_args other) |
WorkerService.persistFile_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(WorkerService.persistFile_args that) |
WorkerService.persistFile_args._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(WorkerService.persistFile_args._Fields field) |
long |
getFileId() |
long |
getNonce() |
String |
getPath() |
int |
hashCode() |
boolean |
isSet(WorkerService.persistFile_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 |
isSetNonce()
Returns true if field nonce is set (has been assigned a value) and false otherwise
|
boolean |
isSetPath()
Returns true if field path is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(WorkerService.persistFile_args._Fields field,
Object value) |
WorkerService.persistFile_args |
setFileId(long fileId) |
void |
setFileIdIsSet(boolean value) |
WorkerService.persistFile_args |
setNonce(long nonce) |
void |
setNonceIsSet(boolean value) |
WorkerService.persistFile_args |
setPath(String path) |
void |
setPathIsSet(boolean value) |
String |
toString() |
void |
unsetFileId() |
void |
unsetNonce() |
void |
unsetPath() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long fileId
public long nonce
public String path
public static final Map<WorkerService.persistFile_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public WorkerService.persistFile_args()
public WorkerService.persistFile_args(long fileId,
long nonce,
String path)
public WorkerService.persistFile_args(WorkerService.persistFile_args other)
public WorkerService.persistFile_args deepCopy()
deepCopy in interface org.apache.thrift.TBase<WorkerService.persistFile_args,WorkerService.persistFile_args._Fields>public void clear()
clear in interface org.apache.thrift.TBase<WorkerService.persistFile_args,WorkerService.persistFile_args._Fields>public long getFileId()
public WorkerService.persistFile_args setFileId(long fileId)
public void unsetFileId()
public boolean isSetFileId()
public void setFileIdIsSet(boolean value)
public long getNonce()
public WorkerService.persistFile_args setNonce(long nonce)
public void unsetNonce()
public boolean isSetNonce()
public void setNonceIsSet(boolean value)
public String getPath()
public WorkerService.persistFile_args setPath(String path)
public void unsetPath()
public boolean isSetPath()
public void setPathIsSet(boolean value)
public void setFieldValue(WorkerService.persistFile_args._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<WorkerService.persistFile_args,WorkerService.persistFile_args._Fields>public Object getFieldValue(WorkerService.persistFile_args._Fields field)
getFieldValue in interface org.apache.thrift.TBase<WorkerService.persistFile_args,WorkerService.persistFile_args._Fields>public boolean isSet(WorkerService.persistFile_args._Fields field)
isSet in interface org.apache.thrift.TBase<WorkerService.persistFile_args,WorkerService.persistFile_args._Fields>public boolean equals(WorkerService.persistFile_args that)
public int compareTo(WorkerService.persistFile_args other)
compareTo in interface Comparable<WorkerService.persistFile_args>public WorkerService.persistFile_args._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<WorkerService.persistFile_args,WorkerService.persistFile_args._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<WorkerService.persistFile_args,WorkerService.persistFile_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.persistFile_args,WorkerService.persistFile_args._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2015. All Rights Reserved.