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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<Nimbus.uploadChunk_args._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionuploadChunk_args
(String location, ByteBuffer chunk) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
int
compareTo
(Nimbus.uploadChunk_args other) deepCopy()
boolean
boolean
fieldForId
(int fieldId) byte[]
int
hashCode()
boolean
Returns true if field chunk is set (has been assigned a value) and false otherwiseboolean
Returns true if field location is set (has been assigned a value) and false otherwiseboolean
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
read
(org.apache.storm.thrift.protocol.TProtocol iprot) void
set_chunk
(byte[] chunk) void
set_chunk
(ByteBuffer chunk) void
set_chunk_isSet
(boolean value) void
set_location
(String location) void
set_location_isSet
(boolean value) void
setFieldValue
(Nimbus.uploadChunk_args._Fields field, Object value) toString()
void
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<Nimbus.uploadChunk_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
uploadChunk_args
public uploadChunk_args() -
uploadChunk_args
-
uploadChunk_args
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,
Nimbus.uploadChunk_args._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,
Nimbus.uploadChunk_args._Fields>
-
get_location
-
set_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
-
set_chunk
public void set_chunk(byte[] chunk) -
set_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
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,
Nimbus.uploadChunk_args._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,
Nimbus.uploadChunk_args._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,
Nimbus.uploadChunk_args._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<Nimbus.uploadChunk_args>
-
fieldForId
- Specified by:
fieldForId
in 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:
read
in 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:
write
in interfaceorg.apache.storm.thrift.TSerializable
- Throws:
org.apache.storm.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-