public static class Nimbus.downloadChunk_result extends Object implements org.apache.storm.thrift.TBase<Nimbus.downloadChunk_result,Nimbus.downloadChunk_result._Fields>, Serializable, Cloneable, Comparable<Nimbus.downloadChunk_result>
Modifier and Type | Class and Description |
---|---|
static class |
Nimbus.downloadChunk_result._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.downloadChunk_result._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
downloadChunk_result() |
downloadChunk_result(ByteBuffer success,
AuthorizationException aze) |
downloadChunk_result(Nimbus.downloadChunk_result other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
buffer_for_success() |
void |
clear() |
int |
compareTo(Nimbus.downloadChunk_result other) |
Nimbus.downloadChunk_result |
deepCopy() |
boolean |
equals(Nimbus.downloadChunk_result that) |
boolean |
equals(Object that) |
Nimbus.downloadChunk_result._Fields |
fieldForId(int fieldId) |
AuthorizationException |
get_aze() |
byte[] |
get_success() |
Object |
getFieldValue(Nimbus.downloadChunk_result._Fields field) |
int |
hashCode() |
boolean |
is_set_aze()
Returns true if field aze is set (has been assigned a value) and false otherwise
|
boolean |
is_set_success()
Returns true if field success is set (has been assigned a value) and false otherwise
|
boolean |
isSet(Nimbus.downloadChunk_result._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_aze_isSet(boolean value) |
void |
set_aze(AuthorizationException aze) |
void |
set_success_isSet(boolean value) |
void |
set_success(byte[] success) |
void |
set_success(ByteBuffer success) |
void |
setFieldValue(Nimbus.downloadChunk_result._Fields field,
Object value) |
String |
toString() |
void |
unset_aze() |
void |
unset_success() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<Nimbus.downloadChunk_result._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public downloadChunk_result()
public downloadChunk_result(ByteBuffer success, AuthorizationException aze)
public downloadChunk_result(Nimbus.downloadChunk_result other)
public Nimbus.downloadChunk_result deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<Nimbus.downloadChunk_result,Nimbus.downloadChunk_result._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<Nimbus.downloadChunk_result,Nimbus.downloadChunk_result._Fields>
public byte[] get_success()
public ByteBuffer buffer_for_success()
public void set_success(byte[] success)
public void set_success(ByteBuffer success)
public void unset_success()
public boolean is_set_success()
public void set_success_isSet(boolean value)
public AuthorizationException get_aze()
public void set_aze(AuthorizationException aze)
public void unset_aze()
public boolean is_set_aze()
public void set_aze_isSet(boolean value)
public void setFieldValue(Nimbus.downloadChunk_result._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<Nimbus.downloadChunk_result,Nimbus.downloadChunk_result._Fields>
public Object getFieldValue(Nimbus.downloadChunk_result._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<Nimbus.downloadChunk_result,Nimbus.downloadChunk_result._Fields>
public boolean isSet(Nimbus.downloadChunk_result._Fields field)
isSet
in interface org.apache.storm.thrift.TBase<Nimbus.downloadChunk_result,Nimbus.downloadChunk_result._Fields>
public boolean equals(Nimbus.downloadChunk_result that)
public int compareTo(Nimbus.downloadChunk_result other)
compareTo
in interface Comparable<Nimbus.downloadChunk_result>
public Nimbus.downloadChunk_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<Nimbus.downloadChunk_result,Nimbus.downloadChunk_result._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.