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.13.0)")
public class SettableBlobMeta
extends Object
implements org.apache.storm.thrift.TBase<SettableBlobMeta,SettableBlobMeta._Fields>, Serializable, Cloneable, Comparable<SettableBlobMeta>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<SettableBlobMeta._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add_to_acl
(AccessControl elem) void
clear()
int
compareTo
(SettableBlobMeta other) deepCopy()
boolean
boolean
equals
(SettableBlobMeta that) fieldForId
(int fieldId) get_acl()
int
int
int
hashCode()
boolean
Returns true if field acl is set (has been assigned a value) and false otherwiseboolean
Returns true if field replication_factor is set (has been assigned a value) and false otherwiseboolean
isSet
(SettableBlobMeta._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
read
(org.apache.storm.thrift.protocol.TProtocol iprot) void
set_acl
(List<AccessControl> acl) void
set_acl_isSet
(boolean value) void
set_replication_factor
(int replication_factor) void
set_replication_factor_isSet
(boolean value) void
setFieldValue
(SettableBlobMeta._Fields field, Object value) toString()
void
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<SettableBlobMeta._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
SettableBlobMeta
public SettableBlobMeta() -
SettableBlobMeta
-
SettableBlobMeta
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<SettableBlobMeta,
SettableBlobMeta._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<SettableBlobMeta,
SettableBlobMeta._Fields>
-
get_acl_size
public int get_acl_size() -
get_acl_iterator
-
add_to_acl
-
get_acl
-
set_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
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<SettableBlobMeta,
SettableBlobMeta._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<SettableBlobMeta,
SettableBlobMeta._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.storm.thrift.TBase<SettableBlobMeta,
SettableBlobMeta._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<SettableBlobMeta>
-
fieldForId
- Specified by:
fieldForId
in 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:
read
in 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:
write
in interfaceorg.apache.storm.thrift.TSerializable
- Throws:
org.apache.storm.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-