Package org.apache.storm.generated
Class AccessControl
java.lang.Object
org.apache.storm.generated.AccessControl
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<AccessControl>
,org.apache.storm.thrift.TBase<AccessControl,
,AccessControl._Fields> org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class AccessControl
extends Object
implements org.apache.storm.thrift.TBase<AccessControl,AccessControl._Fields>, Serializable, Cloneable, Comparable<AccessControl>
- 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<AccessControl._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionAccessControl
(AccessControl other) Performs a deep copy on other.AccessControl
(AccessControlType type, int access) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
int
compareTo
(AccessControl other) deepCopy()
boolean
boolean
equals
(AccessControl that) fieldForId
(int fieldId) int
get_name()
get_type()
int
hashCode()
boolean
Returns true if field access is set (has been assigned a value) and false otherwiseboolean
Returns true if field name is set (has been assigned a value) and false otherwiseboolean
Returns true if field type is set (has been assigned a value) and false otherwiseboolean
isSet
(AccessControl._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_access
(int access) void
set_access_isSet
(boolean value) void
void
set_name_isSet
(boolean value) void
set_type
(AccessControlType type) void
set_type_isSet
(boolean value) void
setFieldValue
(AccessControl._Fields field, Object value) toString()
void
void
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<AccessControl._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
AccessControl
public AccessControl() -
AccessControl
-
AccessControl
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<AccessControl,
AccessControl._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<AccessControl,
AccessControl._Fields>
-
get_type
- See Also:
-
set_type
- See Also:
-
unset_type
public void unset_type() -
is_set_type
public boolean is_set_type()Returns true if field type is set (has been assigned a value) and false otherwise -
set_type_isSet
public void set_type_isSet(boolean value) -
get_name
-
set_name
-
unset_name
public void unset_name() -
is_set_name
public boolean is_set_name()Returns true if field name is set (has been assigned a value) and false otherwise -
set_name_isSet
public void set_name_isSet(boolean value) -
get_access
public int get_access() -
set_access
public void set_access(int access) -
unset_access
public void unset_access() -
is_set_access
public boolean is_set_access()Returns true if field access is set (has been assigned a value) and false otherwise -
set_access_isSet
public void set_access_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<AccessControl,
AccessControl._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<AccessControl,
AccessControl._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<AccessControl,
AccessControl._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<AccessControl>
-
fieldForId
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<AccessControl,
AccessControl._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
-