@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class AccessControl extends Object implements org.apache.storm.thrift.TBase<AccessControl,AccessControl._Fields>, Serializable, Cloneable, Comparable<AccessControl>
Modifier and Type | Class and Description |
---|---|
static class |
AccessControl._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<AccessControl._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
AccessControl() |
AccessControl(AccessControl other)
Performs a deep copy on other.
|
AccessControl(AccessControlType type,
int access) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(AccessControl other) |
AccessControl |
deepCopy() |
boolean |
equals(AccessControl that) |
boolean |
equals(Object 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 otherwise
|
boolean |
is_set_name()
Returns true if field name is set (has been assigned a value) and false otherwise
|
boolean |
is_set_type()
Returns true if field type is set (has been assigned a value) and false otherwise
|
boolean |
isSet(AccessControl._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.storm.thrift.protocol.TProtocol iprot) |
void |
set_access_isSet(boolean value) |
void |
set_access(int access) |
void |
set_name_isSet(boolean value) |
void |
set_name(String name) |
void |
set_type_isSet(boolean value) |
void |
set_type(AccessControlType type) |
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) |
public static final Map<AccessControl._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public AccessControl()
public AccessControl(AccessControlType type, int access)
public AccessControl(AccessControl other)
public AccessControl deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<AccessControl,AccessControl._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<AccessControl,AccessControl._Fields>
public AccessControlType get_type()
AccessControlType
public void set_type(AccessControlType type)
AccessControlType
public void unset_type()
public boolean is_set_type()
public void set_type_isSet(boolean value)
public String get_name()
public void set_name(String name)
public void unset_name()
public boolean is_set_name()
public void set_name_isSet(boolean value)
public int get_access()
public void set_access(int access)
public void unset_access()
public boolean is_set_access()
public void set_access_isSet(boolean value)
public void setFieldValue(AccessControl._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<AccessControl,AccessControl._Fields>
public Object getFieldValue(AccessControl._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<AccessControl,AccessControl._Fields>
public boolean isSet(AccessControl._Fields field)
isSet
in interface org.apache.storm.thrift.TBase<AccessControl,AccessControl._Fields>
public boolean equals(AccessControl that)
public int compareTo(AccessControl other)
compareTo
in interface Comparable<AccessControl>
public AccessControl._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<AccessControl,AccessControl._Fields>
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
read
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
write
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void validate() throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
Copyright © 2023 The Apache Software Foundation. All rights reserved.