Package org.apache.storm.generated
Class Nimbus.uploadChunk_args
- java.lang.Object
-
- org.apache.storm.generated.Nimbus.uploadChunk_args
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Nimbus.uploadChunk_args>,org.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>,org.apache.storm.thrift.TSerializable
- Enclosing class:
- Nimbus
public static class Nimbus.uploadChunk_args extends Object implements org.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>, Serializable, Cloneable, Comparable<Nimbus.uploadChunk_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNimbus.uploadChunk_args._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<Nimbus.uploadChunk_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description uploadChunk_args()uploadChunk_args(String location, ByteBuffer chunk)uploadChunk_args(Nimbus.uploadChunk_args other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBufferbuffer_for_chunk()voidclear()intcompareTo(Nimbus.uploadChunk_args other)Nimbus.uploadChunk_argsdeepCopy()booleanequals(Object that)booleanequals(Nimbus.uploadChunk_args that)Nimbus.uploadChunk_args._FieldsfieldForId(int fieldId)byte[]get_chunk()Stringget_location()ObjectgetFieldValue(Nimbus.uploadChunk_args._Fields field)inthashCode()booleanis_set_chunk()Returns true if field chunk is set (has been assigned a value) and false otherwisebooleanis_set_location()Returns true if field location is set (has been assigned a value) and false otherwisebooleanisSet(Nimbus.uploadChunk_args._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_chunk(byte[] chunk)voidset_chunk(ByteBuffer chunk)voidset_chunk_isSet(boolean value)voidset_location(String location)voidset_location_isSet(boolean value)voidsetFieldValue(Nimbus.uploadChunk_args._Fields field, Object value)StringtoString()voidunset_chunk()voidunset_location()voidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<Nimbus.uploadChunk_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
uploadChunk_args
public uploadChunk_args()
-
uploadChunk_args
public uploadChunk_args(String location, ByteBuffer chunk)
-
uploadChunk_args
public uploadChunk_args(Nimbus.uploadChunk_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public Nimbus.uploadChunk_args deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>
-
get_location
public String get_location()
-
set_location
public void set_location(String location)
-
unset_location
public void unset_location()
-
is_set_location
public boolean is_set_location()
Returns true if field location is set (has been assigned a value) and false otherwise
-
set_location_isSet
public void set_location_isSet(boolean value)
-
get_chunk
public byte[] get_chunk()
-
buffer_for_chunk
public ByteBuffer buffer_for_chunk()
-
set_chunk
public void set_chunk(byte[] chunk)
-
set_chunk
public void set_chunk(ByteBuffer chunk)
-
unset_chunk
public void unset_chunk()
-
is_set_chunk
public boolean is_set_chunk()
Returns true if field chunk is set (has been assigned a value) and false otherwise
-
set_chunk_isSet
public void set_chunk_isSet(boolean value)
-
setFieldValue
public void setFieldValue(Nimbus.uploadChunk_args._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>
-
getFieldValue
public Object getFieldValue(Nimbus.uploadChunk_args._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>
-
isSet
public boolean isSet(Nimbus.uploadChunk_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>
-
equals
public boolean equals(Nimbus.uploadChunk_args that)
-
compareTo
public int compareTo(Nimbus.uploadChunk_args other)
- Specified by:
compareToin interfaceComparable<Nimbus.uploadChunk_args>
-
fieldForId
public Nimbus.uploadChunk_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException- Specified by:
readin interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
write
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException- Specified by:
writein interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-
-