public static class ConfigurationService.addIpRule_args extends Object implements org.apache.thrift.TBase<ConfigurationService.addIpRule_args,ConfigurationService.addIpRule_args._Fields>, Serializable, Cloneable, Comparable<ConfigurationService.addIpRule_args>
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigurationService.addIpRule_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
IpRule |
ipRule |
static Map<ConfigurationService.addIpRule_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
RuleType |
ruleType |
| Constructor and Description |
|---|
addIpRule_args() |
addIpRule_args(ConfigurationService.addIpRule_args other)
Performs a deep copy on other.
|
addIpRule_args(IpRule ipRule,
RuleType ruleType) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(ConfigurationService.addIpRule_args other) |
ConfigurationService.addIpRule_args |
deepCopy() |
boolean |
equals(ConfigurationService.addIpRule_args that) |
boolean |
equals(Object that) |
ConfigurationService.addIpRule_args._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(ConfigurationService.addIpRule_args._Fields field) |
IpRule |
getIpRule() |
RuleType |
getRuleType() |
int |
hashCode() |
boolean |
isSet(ConfigurationService.addIpRule_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetIpRule()
Returns true if field ipRule is set (has been assigned a value) and false otherwise
|
boolean |
isSetRuleType()
Returns true if field ruleType is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(ConfigurationService.addIpRule_args._Fields field,
Object value) |
ConfigurationService.addIpRule_args |
setIpRule(IpRule ipRule) |
void |
setIpRuleIsSet(boolean value) |
ConfigurationService.addIpRule_args |
setRuleType(RuleType ruleType) |
void |
setRuleTypeIsSet(boolean value) |
String |
toString() |
void |
unsetIpRule() |
void |
unsetRuleType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public IpRule ipRule
public static final Map<ConfigurationService.addIpRule_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public addIpRule_args()
public addIpRule_args(ConfigurationService.addIpRule_args other)
public ConfigurationService.addIpRule_args deepCopy()
deepCopy in interface org.apache.thrift.TBase<ConfigurationService.addIpRule_args,ConfigurationService.addIpRule_args._Fields>public void clear()
clear in interface org.apache.thrift.TBase<ConfigurationService.addIpRule_args,ConfigurationService.addIpRule_args._Fields>public IpRule getIpRule()
public ConfigurationService.addIpRule_args setIpRule(IpRule ipRule)
public void unsetIpRule()
public boolean isSetIpRule()
public void setIpRuleIsSet(boolean value)
public ConfigurationService.addIpRule_args setRuleType(RuleType ruleType)
RuleTypepublic void unsetRuleType()
public boolean isSetRuleType()
public void setRuleTypeIsSet(boolean value)
public void setFieldValue(ConfigurationService.addIpRule_args._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<ConfigurationService.addIpRule_args,ConfigurationService.addIpRule_args._Fields>public Object getFieldValue(ConfigurationService.addIpRule_args._Fields field)
getFieldValue in interface org.apache.thrift.TBase<ConfigurationService.addIpRule_args,ConfigurationService.addIpRule_args._Fields>public boolean isSet(ConfigurationService.addIpRule_args._Fields field)
isSet in interface org.apache.thrift.TBase<ConfigurationService.addIpRule_args,ConfigurationService.addIpRule_args._Fields>public boolean equals(ConfigurationService.addIpRule_args that)
public int compareTo(ConfigurationService.addIpRule_args other)
compareTo in interface Comparable<ConfigurationService.addIpRule_args>public ConfigurationService.addIpRule_args._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<ConfigurationService.addIpRule_args,ConfigurationService.addIpRule_args._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<ConfigurationService.addIpRule_args,ConfigurationService.addIpRule_args._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<ConfigurationService.addIpRule_args,ConfigurationService.addIpRule_args._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2016. All Rights Reserved.