Class BgpConfigurator.enableAddressFamily_args
- java.lang.Object
-
- org.opendaylight.netvirt.bgpmanager.thrift.gen.BgpConfigurator.enableAddressFamily_args
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<BgpConfigurator.enableAddressFamily_args>
,org.apache.thrift.TBase<BgpConfigurator.enableAddressFamily_args,BgpConfigurator.enableAddressFamily_args._Fields>
- Enclosing class:
- BgpConfigurator
public static class BgpConfigurator.enableAddressFamily_args extends java.lang.Object implements org.apache.thrift.TBase<BgpConfigurator.enableAddressFamily_args,BgpConfigurator.enableAddressFamily_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BgpConfigurator.enableAddressFamily_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BgpConfigurator.enableAddressFamily_args._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 af_afi
afi
static java.util.Map<BgpConfigurator.enableAddressFamily_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.lang.String
peerIp
af_safi
safi
-
Constructor Summary
Constructors Constructor Description enableAddressFamily_args()
enableAddressFamily_args(java.lang.String peerIp, af_afi afi, af_safi safi)
enableAddressFamily_args(BgpConfigurator.enableAddressFamily_args other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(BgpConfigurator.enableAddressFamily_args other)
BgpConfigurator.enableAddressFamily_args
deepCopy()
boolean
equals(java.lang.Object that)
boolean
equals(BgpConfigurator.enableAddressFamily_args that)
BgpConfigurator.enableAddressFamily_args._Fields
fieldForId(int fieldId)
af_afi
getAfi()
java.lang.Object
getFieldValue(BgpConfigurator.enableAddressFamily_args._Fields field)
java.lang.String
getPeerIp()
af_safi
getSafi()
int
hashCode()
boolean
isSet(BgpConfigurator.enableAddressFamily_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetAfi()
Returns true if field afi is set (has been assigned a value) and false otherwiseboolean
isSetPeerIp()
Returns true if field peerIp is set (has been assigned a value) and false otherwiseboolean
isSetSafi()
Returns true if field safi is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
BgpConfigurator.enableAddressFamily_args
setAfi(af_afi afi)
void
setAfiIsSet(boolean value)
void
setFieldValue(BgpConfigurator.enableAddressFamily_args._Fields field, java.lang.Object value)
BgpConfigurator.enableAddressFamily_args
setPeerIp(java.lang.String peerIp)
void
setPeerIpIsSet(boolean value)
BgpConfigurator.enableAddressFamily_args
setSafi(af_safi safi)
void
setSafiIsSet(boolean value)
java.lang.String
toString()
void
unsetAfi()
void
unsetPeerIp()
void
unsetSafi()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
peerIp
public java.lang.String peerIp
-
metaDataMap
public static final java.util.Map<BgpConfigurator.enableAddressFamily_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
enableAddressFamily_args
public enableAddressFamily_args()
-
enableAddressFamily_args
public enableAddressFamily_args(java.lang.String peerIp, af_afi afi, af_safi safi)
-
enableAddressFamily_args
public enableAddressFamily_args(BgpConfigurator.enableAddressFamily_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public BgpConfigurator.enableAddressFamily_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<BgpConfigurator.enableAddressFamily_args,BgpConfigurator.enableAddressFamily_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<BgpConfigurator.enableAddressFamily_args,BgpConfigurator.enableAddressFamily_args._Fields>
-
getPeerIp
public java.lang.String getPeerIp()
-
setPeerIp
public BgpConfigurator.enableAddressFamily_args setPeerIp(java.lang.String peerIp)
-
unsetPeerIp
public void unsetPeerIp()
-
isSetPeerIp
public boolean isSetPeerIp()
Returns true if field peerIp is set (has been assigned a value) and false otherwise
-
setPeerIpIsSet
public void setPeerIpIsSet(boolean value)
-
setAfi
public BgpConfigurator.enableAddressFamily_args setAfi(af_afi afi)
- See Also:
af_afi
-
unsetAfi
public void unsetAfi()
-
isSetAfi
public boolean isSetAfi()
Returns true if field afi is set (has been assigned a value) and false otherwise
-
setAfiIsSet
public void setAfiIsSet(boolean value)
-
setSafi
public BgpConfigurator.enableAddressFamily_args setSafi(af_safi safi)
- See Also:
af_safi
-
unsetSafi
public void unsetSafi()
-
isSetSafi
public boolean isSetSafi()
Returns true if field safi is set (has been assigned a value) and false otherwise
-
setSafiIsSet
public void setSafiIsSet(boolean value)
-
setFieldValue
public void setFieldValue(BgpConfigurator.enableAddressFamily_args._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<BgpConfigurator.enableAddressFamily_args,BgpConfigurator.enableAddressFamily_args._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(BgpConfigurator.enableAddressFamily_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<BgpConfigurator.enableAddressFamily_args,BgpConfigurator.enableAddressFamily_args._Fields>
-
isSet
public boolean isSet(BgpConfigurator.enableAddressFamily_args._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.thrift.TBase<BgpConfigurator.enableAddressFamily_args,BgpConfigurator.enableAddressFamily_args._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(BgpConfigurator.enableAddressFamily_args that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(BgpConfigurator.enableAddressFamily_args other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<BgpConfigurator.enableAddressFamily_args>
-
fieldForId
public BgpConfigurator.enableAddressFamily_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<BgpConfigurator.enableAddressFamily_args,BgpConfigurator.enableAddressFamily_args._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<BgpConfigurator.enableAddressFamily_args,BgpConfigurator.enableAddressFamily_args._Fields>
- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
- Specified by:
write
in interfaceorg.apache.thrift.TBase<BgpConfigurator.enableAddressFamily_args,BgpConfigurator.enableAddressFamily_args._Fields>
- Throws:
org.apache.thrift.TException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-