@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class ReadableBlobMeta extends Object implements org.apache.storm.thrift.TBase<ReadableBlobMeta,ReadableBlobMeta._Fields>, Serializable, Cloneable, Comparable<ReadableBlobMeta>
Modifier and Type | Class and Description |
---|---|
static class |
ReadableBlobMeta._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<ReadableBlobMeta._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ReadableBlobMeta() |
ReadableBlobMeta(ReadableBlobMeta other)
Performs a deep copy on other.
|
ReadableBlobMeta(SettableBlobMeta settable,
long version) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ReadableBlobMeta other) |
ReadableBlobMeta |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ReadableBlobMeta that) |
ReadableBlobMeta._Fields |
fieldForId(int fieldId) |
SettableBlobMeta |
get_settable() |
long |
get_version() |
Object |
getFieldValue(ReadableBlobMeta._Fields field) |
int |
hashCode() |
boolean |
is_set_settable()
Returns true if field settable is set (has been assigned a value) and false otherwise
|
boolean |
is_set_version()
Returns true if field version is set (has been assigned a value) and false otherwise
|
boolean |
isSet(ReadableBlobMeta._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_settable_isSet(boolean value) |
void |
set_settable(SettableBlobMeta settable) |
void |
set_version_isSet(boolean value) |
void |
set_version(long version) |
void |
setFieldValue(ReadableBlobMeta._Fields field,
Object value) |
String |
toString() |
void |
unset_settable() |
void |
unset_version() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<ReadableBlobMeta._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public ReadableBlobMeta()
public ReadableBlobMeta(SettableBlobMeta settable, long version)
public ReadableBlobMeta(ReadableBlobMeta other)
Performs a deep copy on other.
public ReadableBlobMeta deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<ReadableBlobMeta,ReadableBlobMeta._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<ReadableBlobMeta,ReadableBlobMeta._Fields>
public SettableBlobMeta get_settable()
public void set_settable(SettableBlobMeta settable)
public void unset_settable()
public boolean is_set_settable()
Returns true if field settable is set (has been assigned a value) and false otherwise
public void set_settable_isSet(boolean value)
public long get_version()
public void set_version(long version)
public void unset_version()
public boolean is_set_version()
Returns true if field version is set (has been assigned a value) and false otherwise
public void set_version_isSet(boolean value)
public void setFieldValue(ReadableBlobMeta._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<ReadableBlobMeta,ReadableBlobMeta._Fields>
public Object getFieldValue(ReadableBlobMeta._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<ReadableBlobMeta,ReadableBlobMeta._Fields>
public boolean isSet(ReadableBlobMeta._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<ReadableBlobMeta,ReadableBlobMeta._Fields>
public boolean equals(ReadableBlobMeta that)
public int compareTo(ReadableBlobMeta other)
compareTo
in interface Comparable<ReadableBlobMeta>
public ReadableBlobMeta._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<ReadableBlobMeta,ReadableBlobMeta._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 © 2020 The Apache Software Foundation. All rights reserved.