Class BgpConfigurator.addVrf_args
- java.lang.Object
-
- org.opendaylight.netvirt.bgpmanager.thrift.gen.BgpConfigurator.addVrf_args
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<BgpConfigurator.addVrf_args>
,org.apache.thrift.TBase<BgpConfigurator.addVrf_args,BgpConfigurator.addVrf_args._Fields>
- Enclosing class:
- BgpConfigurator
public static class BgpConfigurator.addVrf_args extends java.lang.Object implements org.apache.thrift.TBase<BgpConfigurator.addVrf_args,BgpConfigurator.addVrf_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BgpConfigurator.addVrf_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BgpConfigurator.addVrf_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
java.util.List<java.lang.String>
erts
java.util.List<java.lang.String>
irts
layer_type
l_type
static java.util.Map<BgpConfigurator.addVrf_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.lang.String
rd
af_safi
safi
-
Constructor Summary
Constructors Constructor Description addVrf_args()
addVrf_args(BgpConfigurator.addVrf_args other)
Performs a deep copy on other.addVrf_args(layer_type l_type, java.lang.String rd, java.util.List<java.lang.String> irts, java.util.List<java.lang.String> erts, af_afi afi, af_safi safi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToErts(java.lang.String elem)
void
addToIrts(java.lang.String elem)
void
clear()
int
compareTo(BgpConfigurator.addVrf_args other)
BgpConfigurator.addVrf_args
deepCopy()
boolean
equals(java.lang.Object that)
boolean
equals(BgpConfigurator.addVrf_args that)
BgpConfigurator.addVrf_args._Fields
fieldForId(int fieldId)
af_afi
getAfi()
java.util.List<java.lang.String>
getErts()
java.util.Iterator<java.lang.String>
getErtsIterator()
int
getErtsSize()
java.lang.Object
getFieldValue(BgpConfigurator.addVrf_args._Fields field)
java.util.List<java.lang.String>
getIrts()
java.util.Iterator<java.lang.String>
getIrtsIterator()
int
getIrtsSize()
layer_type
getL_type()
java.lang.String
getRd()
af_safi
getSafi()
int
hashCode()
boolean
isSet(BgpConfigurator.addVrf_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
isSetErts()
Returns true if field erts is set (has been assigned a value) and false otherwiseboolean
isSetIrts()
Returns true if field irts is set (has been assigned a value) and false otherwiseboolean
isSetL_type()
Returns true if field l_type is set (has been assigned a value) and false otherwiseboolean
isSetRd()
Returns true if field rd 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.addVrf_args
setAfi(af_afi afi)
void
setAfiIsSet(boolean value)
BgpConfigurator.addVrf_args
setErts(java.util.List<java.lang.String> erts)
void
setErtsIsSet(boolean value)
void
setFieldValue(BgpConfigurator.addVrf_args._Fields field, java.lang.Object value)
BgpConfigurator.addVrf_args
setIrts(java.util.List<java.lang.String> irts)
void
setIrtsIsSet(boolean value)
BgpConfigurator.addVrf_args
setL_type(layer_type l_type)
void
setL_typeIsSet(boolean value)
BgpConfigurator.addVrf_args
setRd(java.lang.String rd)
void
setRdIsSet(boolean value)
BgpConfigurator.addVrf_args
setSafi(af_safi safi)
void
setSafiIsSet(boolean value)
java.lang.String
toString()
void
unsetAfi()
void
unsetErts()
void
unsetIrts()
void
unsetL_type()
void
unsetRd()
void
unsetSafi()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
l_type
public layer_type l_type
- See Also:
layer_type
-
rd
public java.lang.String rd
-
irts
public java.util.List<java.lang.String> irts
-
erts
public java.util.List<java.lang.String> erts
-
metaDataMap
public static final java.util.Map<BgpConfigurator.addVrf_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
addVrf_args
public addVrf_args()
-
addVrf_args
public addVrf_args(layer_type l_type, java.lang.String rd, java.util.List<java.lang.String> irts, java.util.List<java.lang.String> erts, af_afi afi, af_safi safi)
-
addVrf_args
public addVrf_args(BgpConfigurator.addVrf_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public BgpConfigurator.addVrf_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<BgpConfigurator.addVrf_args,BgpConfigurator.addVrf_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<BgpConfigurator.addVrf_args,BgpConfigurator.addVrf_args._Fields>
-
getL_type
public layer_type getL_type()
- See Also:
layer_type
-
setL_type
public BgpConfigurator.addVrf_args setL_type(layer_type l_type)
- See Also:
layer_type
-
unsetL_type
public void unsetL_type()
-
isSetL_type
public boolean isSetL_type()
Returns true if field l_type is set (has been assigned a value) and false otherwise
-
setL_typeIsSet
public void setL_typeIsSet(boolean value)
-
getRd
public java.lang.String getRd()
-
setRd
public BgpConfigurator.addVrf_args setRd(java.lang.String rd)
-
unsetRd
public void unsetRd()
-
isSetRd
public boolean isSetRd()
Returns true if field rd is set (has been assigned a value) and false otherwise
-
setRdIsSet
public void setRdIsSet(boolean value)
-
getIrtsSize
public int getIrtsSize()
-
getIrtsIterator
public java.util.Iterator<java.lang.String> getIrtsIterator()
-
addToIrts
public void addToIrts(java.lang.String elem)
-
getIrts
public java.util.List<java.lang.String> getIrts()
-
setIrts
public BgpConfigurator.addVrf_args setIrts(java.util.List<java.lang.String> irts)
-
unsetIrts
public void unsetIrts()
-
isSetIrts
public boolean isSetIrts()
Returns true if field irts is set (has been assigned a value) and false otherwise
-
setIrtsIsSet
public void setIrtsIsSet(boolean value)
-
getErtsSize
public int getErtsSize()
-
getErtsIterator
public java.util.Iterator<java.lang.String> getErtsIterator()
-
addToErts
public void addToErts(java.lang.String elem)
-
getErts
public java.util.List<java.lang.String> getErts()
-
setErts
public BgpConfigurator.addVrf_args setErts(java.util.List<java.lang.String> erts)
-
unsetErts
public void unsetErts()
-
isSetErts
public boolean isSetErts()
Returns true if field erts is set (has been assigned a value) and false otherwise
-
setErtsIsSet
public void setErtsIsSet(boolean value)
-
setAfi
public BgpConfigurator.addVrf_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.addVrf_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.addVrf_args._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<BgpConfigurator.addVrf_args,BgpConfigurator.addVrf_args._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(BgpConfigurator.addVrf_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<BgpConfigurator.addVrf_args,BgpConfigurator.addVrf_args._Fields>
-
isSet
public boolean isSet(BgpConfigurator.addVrf_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.addVrf_args,BgpConfigurator.addVrf_args._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(BgpConfigurator.addVrf_args that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(BgpConfigurator.addVrf_args other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<BgpConfigurator.addVrf_args>
-
fieldForId
public BgpConfigurator.addVrf_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<BgpConfigurator.addVrf_args,BgpConfigurator.addVrf_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.addVrf_args,BgpConfigurator.addVrf_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.addVrf_args,BgpConfigurator.addVrf_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
-
-