Package org.apache.storm.generated
Class SettableBlobMeta
- java.lang.Object
-
- org.apache.storm.generated.SettableBlobMeta
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<SettableBlobMeta>,org.apache.storm.thrift.TBase<SettableBlobMeta,SettableBlobMeta._Fields>,org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class SettableBlobMeta extends Object implements org.apache.storm.thrift.TBase<SettableBlobMeta,SettableBlobMeta._Fields>, Serializable, Cloneable, Comparable<SettableBlobMeta>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSettableBlobMeta._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<SettableBlobMeta._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description SettableBlobMeta()SettableBlobMeta(List<AccessControl> acl)SettableBlobMeta(SettableBlobMeta other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd_to_acl(AccessControl elem)voidclear()intcompareTo(SettableBlobMeta other)SettableBlobMetadeepCopy()booleanequals(Object that)booleanequals(SettableBlobMeta that)SettableBlobMeta._FieldsfieldForId(int fieldId)List<AccessControl>get_acl()Iterator<AccessControl>get_acl_iterator()intget_acl_size()intget_replication_factor()ObjectgetFieldValue(SettableBlobMeta._Fields field)inthashCode()booleanis_set_acl()Returns true if field acl is set (has been assigned a value) and false otherwisebooleanis_set_replication_factor()Returns true if field replication_factor is set (has been assigned a value) and false otherwisebooleanisSet(SettableBlobMeta._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidread(org.apache.storm.thrift.protocol.TProtocol iprot)voidset_acl(List<AccessControl> acl)voidset_acl_isSet(boolean value)voidset_replication_factor(int replication_factor)voidset_replication_factor_isSet(boolean value)voidsetFieldValue(SettableBlobMeta._Fields field, Object value)StringtoString()voidunset_acl()voidunset_replication_factor()voidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<SettableBlobMeta._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
SettableBlobMeta
public SettableBlobMeta()
-
SettableBlobMeta
public SettableBlobMeta(List<AccessControl> acl)
-
SettableBlobMeta
public SettableBlobMeta(SettableBlobMeta other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public SettableBlobMeta deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<SettableBlobMeta,SettableBlobMeta._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<SettableBlobMeta,SettableBlobMeta._Fields>
-
get_acl_size
public int get_acl_size()
-
get_acl_iterator
public Iterator<AccessControl> get_acl_iterator()
-
add_to_acl
public void add_to_acl(AccessControl elem)
-
get_acl
public List<AccessControl> get_acl()
-
set_acl
public void set_acl(List<AccessControl> acl)
-
unset_acl
public void unset_acl()
-
is_set_acl
public boolean is_set_acl()
Returns true if field acl is set (has been assigned a value) and false otherwise
-
set_acl_isSet
public void set_acl_isSet(boolean value)
-
get_replication_factor
public int get_replication_factor()
-
set_replication_factor
public void set_replication_factor(int replication_factor)
-
unset_replication_factor
public void unset_replication_factor()
-
is_set_replication_factor
public boolean is_set_replication_factor()
Returns true if field replication_factor is set (has been assigned a value) and false otherwise
-
set_replication_factor_isSet
public void set_replication_factor_isSet(boolean value)
-
setFieldValue
public void setFieldValue(SettableBlobMeta._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<SettableBlobMeta,SettableBlobMeta._Fields>
-
getFieldValue
public Object getFieldValue(SettableBlobMeta._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<SettableBlobMeta,SettableBlobMeta._Fields>
-
isSet
public boolean isSet(SettableBlobMeta._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.storm.thrift.TBase<SettableBlobMeta,SettableBlobMeta._Fields>
-
equals
public boolean equals(SettableBlobMeta that)
-
compareTo
public int compareTo(SettableBlobMeta other)
- Specified by:
compareToin interfaceComparable<SettableBlobMeta>
-
fieldForId
public SettableBlobMeta._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<SettableBlobMeta,SettableBlobMeta._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException- Specified by:
readin interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
write
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException- Specified by:
writein interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-
-