public static class Nimbus.uploadBlobChunk_args extends Object implements org.apache.storm.thrift.TBase<Nimbus.uploadBlobChunk_args,Nimbus.uploadBlobChunk_args._Fields>, Serializable, Cloneable, Comparable<Nimbus.uploadBlobChunk_args>
Modifier and Type | Class and Description |
---|---|
static class |
Nimbus.uploadBlobChunk_args._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<Nimbus.uploadBlobChunk_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
uploadBlobChunk_args() |
uploadBlobChunk_args(Nimbus.uploadBlobChunk_args other)
Performs a deep copy on other.
|
uploadBlobChunk_args(String session,
ByteBuffer chunk) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
buffer_for_chunk() |
void |
clear() |
int |
compareTo(Nimbus.uploadBlobChunk_args other) |
Nimbus.uploadBlobChunk_args |
deepCopy() |
boolean |
equals(Nimbus.uploadBlobChunk_args that) |
boolean |
equals(Object that) |
Nimbus.uploadBlobChunk_args._Fields |
fieldForId(int fieldId) |
byte[] |
get_chunk() |
String |
get_session() |
Object |
getFieldValue(Nimbus.uploadBlobChunk_args._Fields field) |
int |
hashCode() |
boolean |
is_set_chunk()
Returns true if field chunk 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 |
isSet(Nimbus.uploadBlobChunk_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.storm.thrift.protocol.TProtocol iprot) |
void |
set_chunk_isSet(boolean value) |
void |
set_chunk(byte[] chunk) |
void |
set_chunk(ByteBuffer chunk) |
void |
set_session_isSet(boolean value) |
void |
set_session(String session) |
void |
setFieldValue(Nimbus.uploadBlobChunk_args._Fields field,
Object value) |
String |
toString() |
void |
unset_chunk() |
void |
unset_session() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<Nimbus.uploadBlobChunk_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public uploadBlobChunk_args()
public uploadBlobChunk_args(String session, ByteBuffer chunk)
public uploadBlobChunk_args(Nimbus.uploadBlobChunk_args other)
Performs a deep copy on other.
public Nimbus.uploadBlobChunk_args deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<Nimbus.uploadBlobChunk_args,Nimbus.uploadBlobChunk_args._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<Nimbus.uploadBlobChunk_args,Nimbus.uploadBlobChunk_args._Fields>
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 byte[] get_chunk()
public ByteBuffer buffer_for_chunk()
public void set_chunk(byte[] chunk)
public void set_chunk(ByteBuffer chunk)
public void unset_chunk()
public boolean is_set_chunk()
Returns true if field chunk is set (has been assigned a value) and false otherwise
public void set_chunk_isSet(boolean value)
public void setFieldValue(Nimbus.uploadBlobChunk_args._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<Nimbus.uploadBlobChunk_args,Nimbus.uploadBlobChunk_args._Fields>
public Object getFieldValue(Nimbus.uploadBlobChunk_args._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<Nimbus.uploadBlobChunk_args,Nimbus.uploadBlobChunk_args._Fields>
public boolean isSet(Nimbus.uploadBlobChunk_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.storm.thrift.TBase<Nimbus.uploadBlobChunk_args,Nimbus.uploadBlobChunk_args._Fields>
public boolean equals(Nimbus.uploadBlobChunk_args that)
public int compareTo(Nimbus.uploadBlobChunk_args other)
compareTo
in interface Comparable<Nimbus.uploadBlobChunk_args>
public Nimbus.uploadBlobChunk_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<Nimbus.uploadBlobChunk_args,Nimbus.uploadBlobChunk_args._Fields>
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
read
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
write
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void validate() throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.