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
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<AccessControl._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionAccessControl(AccessControl other) Performs a deep copy on other.AccessControl(AccessControlType type, int access) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(AccessControl other) deepCopy()booleanbooleanequals(AccessControl that) fieldForId(int fieldId) intget_name()get_type()inthashCode()booleanReturns true if field access is set (has been assigned a value) and false otherwisebooleanReturns true if field name is set (has been assigned a value) and false otherwisebooleanReturns true if field type is set (has been assigned a value) and false otherwisebooleanisSet(AccessControl._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_access(int access) voidset_access_isSet(boolean value) voidvoidset_name_isSet(boolean value) voidset_type(AccessControlType type) voidset_type_isSet(boolean value) voidsetFieldValue(AccessControl._Fields field, Object value) toString()voidvoidvoidvoidvalidate()voidwrite(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:
deepCopyin interfaceorg.apache.storm.thrift.TBase<AccessControl,AccessControl._Fields>
-
clear
public void clear()- Specified by:
clearin 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:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<AccessControl,AccessControl._Fields>
-
getFieldValue
- Specified by:
getFieldValuein 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:
isSetin interfaceorg.apache.storm.thrift.TBase<AccessControl,AccessControl._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<AccessControl>
-
fieldForId
- Specified by:
fieldForIdin 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:
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
-
toString
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-