@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-08-23") public class IpRule extends Object implements org.apache.thrift.TBase<IpRule,IpRule._Fields>, Serializable, Cloneable, Comparable<IpRule>
Modifier and Type | Class and Description |
---|---|
static class |
IpRule._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
ByteBuffer |
ipAddress |
static Map<IpRule._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
IpRule() |
IpRule(ByteBuffer ipAddress) |
IpRule(IpRule other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForIpAddress() |
void |
clear() |
int |
compareTo(IpRule other) |
IpRule |
deepCopy() |
boolean |
equals(IpRule that) |
boolean |
equals(Object that) |
IpRule._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(IpRule._Fields field) |
byte[] |
getIpAddress() |
int |
hashCode() |
boolean |
isSet(IpRule._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetIpAddress()
Returns true if field ipAddress is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(IpRule._Fields field,
Object value) |
IpRule |
setIpAddress(byte[] ipAddress) |
IpRule |
setIpAddress(ByteBuffer ipAddress) |
void |
setIpAddressIsSet(boolean value) |
String |
toString() |
void |
unsetIpAddress() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer ipAddress
public static final Map<IpRule._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public IpRule()
public IpRule(ByteBuffer ipAddress)
public IpRule(IpRule other)
public IpRule deepCopy()
deepCopy
in interface org.apache.thrift.TBase<IpRule,IpRule._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<IpRule,IpRule._Fields>
public byte[] getIpAddress()
public ByteBuffer bufferForIpAddress()
public IpRule setIpAddress(byte[] ipAddress)
public IpRule setIpAddress(ByteBuffer ipAddress)
public void unsetIpAddress()
public boolean isSetIpAddress()
public void setIpAddressIsSet(boolean value)
public void setFieldValue(IpRule._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<IpRule,IpRule._Fields>
public Object getFieldValue(IpRule._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<IpRule,IpRule._Fields>
public boolean isSet(IpRule._Fields field)
isSet
in interface org.apache.thrift.TBase<IpRule,IpRule._Fields>
public boolean equals(IpRule that)
public int compareTo(IpRule other)
compareTo
in interface Comparable<IpRule>
public IpRule._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<IpRule,IpRule._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<IpRule,IpRule._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<IpRule,IpRule._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2016. All Rights Reserved.