@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class SettableBlobMeta extends Object implements org.apache.storm.thrift.TBase<SettableBlobMeta,SettableBlobMeta._Fields>, Serializable, Cloneable, Comparable<SettableBlobMeta>
Modifier and Type | Class and Description |
---|---|
static class |
SettableBlobMeta._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<SettableBlobMeta._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
SettableBlobMeta() |
SettableBlobMeta(List<AccessControl> acl) |
SettableBlobMeta(SettableBlobMeta other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
add_to_acl(AccessControl elem) |
void |
clear() |
int |
compareTo(SettableBlobMeta other) |
SettableBlobMeta |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(SettableBlobMeta that) |
SettableBlobMeta._Fields |
fieldForId(int fieldId) |
Iterator<AccessControl> |
get_acl_iterator() |
int |
get_acl_size() |
List<AccessControl> |
get_acl() |
int |
get_replication_factor() |
Object |
getFieldValue(SettableBlobMeta._Fields field) |
int |
hashCode() |
boolean |
is_set_acl()
Returns true if field acl is set (has been assigned a value) and false otherwise
|
boolean |
is_set_replication_factor()
Returns true if field replication_factor is set (has been assigned a value) and false otherwise
|
boolean |
isSet(SettableBlobMeta._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_acl_isSet(boolean value) |
void |
set_acl(List<AccessControl> acl) |
void |
set_replication_factor_isSet(boolean value) |
void |
set_replication_factor(int replication_factor) |
void |
setFieldValue(SettableBlobMeta._Fields field,
Object value) |
String |
toString() |
void |
unset_acl() |
void |
unset_replication_factor() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<SettableBlobMeta._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public SettableBlobMeta()
public SettableBlobMeta(List<AccessControl> acl)
public SettableBlobMeta(SettableBlobMeta other)
Performs a deep copy on other.
public SettableBlobMeta deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<SettableBlobMeta,SettableBlobMeta._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<SettableBlobMeta,SettableBlobMeta._Fields>
public int get_acl_size()
public Iterator<AccessControl> get_acl_iterator()
public void add_to_acl(AccessControl elem)
public List<AccessControl> get_acl()
public void set_acl(List<AccessControl> acl)
public void unset_acl()
public boolean is_set_acl()
Returns true if field acl is set (has been assigned a value) and false otherwise
public void set_acl_isSet(boolean value)
public int get_replication_factor()
public void set_replication_factor(int replication_factor)
public void unset_replication_factor()
public boolean is_set_replication_factor()
Returns true if field replication_factor is set (has been assigned a value) and false otherwise
public void set_replication_factor_isSet(boolean value)
public void setFieldValue(SettableBlobMeta._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<SettableBlobMeta,SettableBlobMeta._Fields>
public Object getFieldValue(SettableBlobMeta._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<SettableBlobMeta,SettableBlobMeta._Fields>
public boolean isSet(SettableBlobMeta._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<SettableBlobMeta,SettableBlobMeta._Fields>
public boolean equals(SettableBlobMeta that)
public int compareTo(SettableBlobMeta other)
compareTo
in interface Comparable<SettableBlobMeta>
public SettableBlobMeta._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<SettableBlobMeta,SettableBlobMeta._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.