@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class BeginDownloadResult extends Object implements org.apache.thrift.TBase<BeginDownloadResult,BeginDownloadResult._Fields>, Serializable, Cloneable, Comparable<BeginDownloadResult>
Modifier and Type | Class and Description |
---|---|
static class |
BeginDownloadResult._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<BeginDownloadResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
BeginDownloadResult() |
BeginDownloadResult(BeginDownloadResult other)
Performs a deep copy on other.
|
BeginDownloadResult(long version,
String session) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(BeginDownloadResult other) |
BeginDownloadResult |
deepCopy() |
boolean |
equals(BeginDownloadResult that) |
boolean |
equals(Object that) |
BeginDownloadResult._Fields |
fieldForId(int fieldId) |
long |
get_data_size() |
String |
get_session() |
long |
get_version() |
Object |
getFieldValue(BeginDownloadResult._Fields field) |
int |
hashCode() |
boolean |
is_set_data_size()
Returns true if field data_size is set (has been assigned a value) and false otherwise
|
boolean |
is_set_session()
Returns true if field session is set (has been assigned a value) and false otherwise
|
boolean |
is_set_version()
Returns true if field version is set (has been assigned a value) and false otherwise
|
boolean |
isSet(BeginDownloadResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_data_size_isSet(boolean value) |
void |
set_data_size(long data_size) |
void |
set_session_isSet(boolean value) |
void |
set_session(String session) |
void |
set_version_isSet(boolean value) |
void |
set_version(long version) |
void |
setFieldValue(BeginDownloadResult._Fields field,
Object value) |
String |
toString() |
void |
unset_data_size() |
void |
unset_session() |
void |
unset_version() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<BeginDownloadResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public BeginDownloadResult()
public BeginDownloadResult(long version, String session)
public BeginDownloadResult(BeginDownloadResult other)
Performs a deep copy on other.
public BeginDownloadResult deepCopy()
deepCopy
in interface org.apache.thrift.TBase<BeginDownloadResult,BeginDownloadResult._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<BeginDownloadResult,BeginDownloadResult._Fields>
public long get_version()
public void set_version(long version)
public void unset_version()
public boolean is_set_version()
Returns true if field version is set (has been assigned a value) and false otherwise
public void set_version_isSet(boolean value)
public String get_session()
public void set_session(String session)
public void unset_session()
public boolean is_set_session()
Returns true if field session is set (has been assigned a value) and false otherwise
public void set_session_isSet(boolean value)
public long get_data_size()
public void set_data_size(long data_size)
public void unset_data_size()
public boolean is_set_data_size()
Returns true if field data_size is set (has been assigned a value) and false otherwise
public void set_data_size_isSet(boolean value)
public void setFieldValue(BeginDownloadResult._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<BeginDownloadResult,BeginDownloadResult._Fields>
public Object getFieldValue(BeginDownloadResult._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<BeginDownloadResult,BeginDownloadResult._Fields>
public boolean isSet(BeginDownloadResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.thrift.TBase<BeginDownloadResult,BeginDownloadResult._Fields>
public boolean equals(BeginDownloadResult that)
public int compareTo(BeginDownloadResult other)
compareTo
in interface Comparable<BeginDownloadResult>
public BeginDownloadResult._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<BeginDownloadResult,BeginDownloadResult._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<BeginDownloadResult,BeginDownloadResult._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<BeginDownloadResult,BeginDownloadResult._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.