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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccessControl._Fields
The 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<AccessControl._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description AccessControl()
AccessControl(AccessControl other)
Performs a deep copy on other.AccessControl(AccessControlType type, int access)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(AccessControl other)
AccessControl
deepCopy()
boolean
equals(Object that)
boolean
equals(AccessControl that)
AccessControl._Fields
fieldForId(int fieldId)
int
get_access()
String
get_name()
AccessControlType
get_type()
Object
getFieldValue(AccessControl._Fields field)
int
hashCode()
boolean
is_set_access()
Returns true if field access is set (has been assigned a value) and false otherwiseboolean
is_set_name()
Returns true if field name is set (has been assigned a value) and false otherwiseboolean
is_set_type()
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
set_name(String name)
void
set_name_isSet(boolean value)
void
set_type(AccessControlType type)
void
set_type_isSet(boolean value)
void
setFieldValue(AccessControl._Fields field, Object value)
String
toString()
void
unset_access()
void
unset_name()
void
unset_type()
void
validate()
void
write(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<AccessControl._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
AccessControl
public AccessControl()
-
AccessControl
public AccessControl(AccessControlType type, int access)
-
AccessControl
public AccessControl(AccessControl other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public AccessControl 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
public AccessControlType get_type()
- See Also:
AccessControlType
-
set_type
public void set_type(AccessControlType type)
- See Also:
AccessControlType
-
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
public String get_name()
-
set_name
public void set_name(String 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
public void setFieldValue(AccessControl._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<AccessControl,AccessControl._Fields>
-
getFieldValue
public Object getFieldValue(AccessControl._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<AccessControl,AccessControl._Fields>
-
isSet
public boolean isSet(AccessControl._Fields field)
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
public boolean equals(AccessControl that)
-
compareTo
public int compareTo(AccessControl other)
- Specified by:
compareTo
in interfaceComparable<AccessControl>
-
fieldForId
public AccessControl._Fields fieldForId(int fieldId)
- 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
-
validate
public void validate() throws org.apache.storm.thrift.TException
- Throws:
org.apache.storm.thrift.TException
-
-