Package org.apache.storm.generated
Class BeginDownloadResult
java.lang.Object
org.apache.storm.generated.BeginDownloadResult
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<BeginDownloadResult>,- org.apache.storm.thrift.TBase<BeginDownloadResult,,- BeginDownloadResult._Fields> - org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class BeginDownloadResult
extends Object
implements org.apache.storm.thrift.TBase<BeginDownloadResult,BeginDownloadResult._Fields>, Serializable, Cloneable, Comparable<BeginDownloadResult> 
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Map<BeginDownloadResult._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionBeginDownloadResult(long version, String session) Performs a deep copy on other.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()intcompareTo(BeginDownloadResult other) deepCopy()booleanbooleanequals(BeginDownloadResult that) fieldForId(int fieldId) longlonginthashCode()booleanReturns true if field data_size is set (has been assigned a value) and false otherwisebooleanReturns true if field session is set (has been assigned a value) and false otherwisebooleanReturns true if field version is set (has been assigned a value) and false otherwisebooleanisSet(BeginDownloadResult._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidset_data_size(long data_size) voidset_data_size_isSet(boolean value) voidset_session(String session) voidset_session_isSet(boolean value) voidset_version(long version) voidset_version_isSet(boolean value) voidsetFieldValue(BeginDownloadResult._Fields field, Object value) toString()voidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<BeginDownloadResult._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
BeginDownloadResultpublic BeginDownloadResult()
- 
BeginDownloadResult
- 
BeginDownloadResultPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<BeginDownloadResult,- BeginDownloadResult._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<BeginDownloadResult,- BeginDownloadResult._Fields> 
 
- 
get_versionpublic long get_version()
- 
set_versionpublic void set_version(long version) 
- 
unset_versionpublic void unset_version()
- 
is_set_versionpublic boolean is_set_version()Returns true if field version is set (has been assigned a value) and false otherwise
- 
set_version_isSetpublic void set_version_isSet(boolean value) 
- 
get_session
- 
set_session
- 
unset_sessionpublic void unset_session()
- 
is_set_sessionpublic boolean is_set_session()Returns true if field session is set (has been assigned a value) and false otherwise
- 
set_session_isSetpublic void set_session_isSet(boolean value) 
- 
get_data_sizepublic long get_data_size()
- 
set_data_sizepublic void set_data_size(long data_size) 
- 
unset_data_sizepublic void unset_data_size()
- 
is_set_data_sizepublic boolean is_set_data_size()Returns true if field data_size is set (has been assigned a value) and false otherwise
- 
set_data_size_isSetpublic void set_data_size_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<BeginDownloadResult,- BeginDownloadResult._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<BeginDownloadResult,- BeginDownloadResult._Fields> 
 
- 
isSetReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
- isSetin interface- org.apache.storm.thrift.TBase<BeginDownloadResult,- BeginDownloadResult._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<BeginDownloadResult>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<BeginDownloadResult,- BeginDownloadResult._Fields> 
 
- 
readpublic void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
- readin interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
writepublic void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
- writein interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
toString
- 
validatepublic void validate() throws org.apache.storm.thrift.TException- Throws:
- org.apache.storm.thrift.TException
 
 
-