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>
Modifier and Type | Class and Description |
---|---|
static class |
Nimbus.uploadChunk_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.uploadChunk_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
uploadChunk_args() |
uploadChunk_args(Nimbus.uploadChunk_args other)
Performs a deep copy on other.
|
uploadChunk_args(String location,
ByteBuffer chunk) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
buffer_for_chunk() |
void |
clear() |
int |
compareTo(Nimbus.uploadChunk_args other) |
Nimbus.uploadChunk_args |
deepCopy() |
boolean |
equals(Nimbus.uploadChunk_args that) |
boolean |
equals(Object that) |
Nimbus.uploadChunk_args._Fields |
fieldForId(int fieldId) |
byte[] |
get_chunk() |
String |
get_location() |
Object |
getFieldValue(Nimbus.uploadChunk_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_location()
Returns true if field location is set (has been assigned a value) and false otherwise
|
boolean |
isSet(Nimbus.uploadChunk_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_location_isSet(boolean value) |
void |
set_location(String location) |
void |
setFieldValue(Nimbus.uploadChunk_args._Fields field,
Object value) |
String |
toString() |
void |
unset_chunk() |
void |
unset_location() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<Nimbus.uploadChunk_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public uploadChunk_args()
public uploadChunk_args(String location, ByteBuffer chunk)
public uploadChunk_args(Nimbus.uploadChunk_args other)
public Nimbus.uploadChunk_args deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>
public String get_location()
public void set_location(String location)
public void unset_location()
public boolean is_set_location()
public void set_location_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()
public void set_chunk_isSet(boolean value)
public void setFieldValue(Nimbus.uploadChunk_args._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>
public Object getFieldValue(Nimbus.uploadChunk_args._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>
public boolean isSet(Nimbus.uploadChunk_args._Fields field)
isSet
in interface org.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>
public boolean equals(Nimbus.uploadChunk_args that)
public int compareTo(Nimbus.uploadChunk_args other)
compareTo
in interface Comparable<Nimbus.uploadChunk_args>
public Nimbus.uploadChunk_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_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 © 2023 The Apache Software Foundation. All rights reserved.