Class BgpConfigurator.pushRoute_args
- java.lang.Object
-
- org.opendaylight.netvirt.bgpmanager.thrift.gen.BgpConfigurator.pushRoute_args
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<BgpConfigurator.pushRoute_args>
,org.apache.thrift.TBase<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_args._Fields>
- Enclosing class:
- BgpConfigurator
public static class BgpConfigurator.pushRoute_args extends java.lang.Object implements org.apache.thrift.TBase<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BgpConfigurator.pushRoute_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BgpConfigurator.pushRoute_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
encap_type
enc_type
java.lang.String
esi
long
ethtag
int
l2label
int
l3label
java.lang.String
macaddress
static java.util.Map<BgpConfigurator.pushRoute_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.lang.String
nexthop
protocol_type
p_type
java.lang.String
prefix
java.lang.String
rd
java.lang.String
routermac
-
Constructor Summary
Constructors Constructor Description pushRoute_args()
pushRoute_args(BgpConfigurator.pushRoute_args other)
Performs a deep copy on other.pushRoute_args(protocol_type p_type, java.lang.String prefix, java.lang.String nexthop, java.lang.String rd, long ethtag, java.lang.String esi, java.lang.String macaddress, int l3label, int l2label, encap_type enc_type, java.lang.String routermac, af_afi afi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(BgpConfigurator.pushRoute_args other)
BgpConfigurator.pushRoute_args
deepCopy()
boolean
equals(java.lang.Object that)
boolean
equals(BgpConfigurator.pushRoute_args that)
BgpConfigurator.pushRoute_args._Fields
fieldForId(int fieldId)
af_afi
getAfi()
encap_type
getEnc_type()
java.lang.String
getEsi()
long
getEthtag()
java.lang.Object
getFieldValue(BgpConfigurator.pushRoute_args._Fields field)
int
getL2label()
int
getL3label()
java.lang.String
getMacaddress()
java.lang.String
getNexthop()
protocol_type
getP_type()
java.lang.String
getPrefix()
java.lang.String
getRd()
java.lang.String
getRoutermac()
int
hashCode()
boolean
isSet(BgpConfigurator.pushRoute_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
isSetEnc_type()
Returns true if field enc_type is set (has been assigned a value) and false otherwiseboolean
isSetEsi()
Returns true if field esi is set (has been assigned a value) and false otherwiseboolean
isSetEthtag()
Returns true if field ethtag is set (has been assigned a value) and false otherwiseboolean
isSetL2label()
Returns true if field l2label is set (has been assigned a value) and false otherwiseboolean
isSetL3label()
Returns true if field l3label is set (has been assigned a value) and false otherwiseboolean
isSetMacaddress()
Returns true if field macaddress is set (has been assigned a value) and false otherwiseboolean
isSetNexthop()
Returns true if field nexthop is set (has been assigned a value) and false otherwiseboolean
isSetP_type()
Returns true if field p_type is set (has been assigned a value) and false otherwiseboolean
isSetPrefix()
Returns true if field prefix 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
isSetRoutermac()
Returns true if field routermac is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
BgpConfigurator.pushRoute_args
setAfi(af_afi afi)
void
setAfiIsSet(boolean value)
BgpConfigurator.pushRoute_args
setEnc_type(encap_type enc_type)
void
setEnc_typeIsSet(boolean value)
BgpConfigurator.pushRoute_args
setEsi(java.lang.String esi)
void
setEsiIsSet(boolean value)
BgpConfigurator.pushRoute_args
setEthtag(long ethtag)
void
setEthtagIsSet(boolean value)
void
setFieldValue(BgpConfigurator.pushRoute_args._Fields field, java.lang.Object value)
BgpConfigurator.pushRoute_args
setL2label(int l2label)
void
setL2labelIsSet(boolean value)
BgpConfigurator.pushRoute_args
setL3label(int l3label)
void
setL3labelIsSet(boolean value)
BgpConfigurator.pushRoute_args
setMacaddress(java.lang.String macaddress)
void
setMacaddressIsSet(boolean value)
BgpConfigurator.pushRoute_args
setNexthop(java.lang.String nexthop)
void
setNexthopIsSet(boolean value)
BgpConfigurator.pushRoute_args
setP_type(protocol_type p_type)
void
setP_typeIsSet(boolean value)
BgpConfigurator.pushRoute_args
setPrefix(java.lang.String prefix)
void
setPrefixIsSet(boolean value)
BgpConfigurator.pushRoute_args
setRd(java.lang.String rd)
void
setRdIsSet(boolean value)
BgpConfigurator.pushRoute_args
setRoutermac(java.lang.String routermac)
void
setRoutermacIsSet(boolean value)
java.lang.String
toString()
void
unsetAfi()
void
unsetEnc_type()
void
unsetEsi()
void
unsetEthtag()
void
unsetL2label()
void
unsetL3label()
void
unsetMacaddress()
void
unsetNexthop()
void
unsetP_type()
void
unsetPrefix()
void
unsetRd()
void
unsetRoutermac()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
p_type
public protocol_type p_type
- See Also:
protocol_type
-
prefix
public java.lang.String prefix
-
nexthop
public java.lang.String nexthop
-
rd
public java.lang.String rd
-
ethtag
public long ethtag
-
esi
public java.lang.String esi
-
macaddress
public java.lang.String macaddress
-
l3label
public int l3label
-
l2label
public int l2label
-
enc_type
public encap_type enc_type
- See Also:
encap_type
-
routermac
public java.lang.String routermac
-
metaDataMap
public static final java.util.Map<BgpConfigurator.pushRoute_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
pushRoute_args
public pushRoute_args()
-
pushRoute_args
public pushRoute_args(protocol_type p_type, java.lang.String prefix, java.lang.String nexthop, java.lang.String rd, long ethtag, java.lang.String esi, java.lang.String macaddress, int l3label, int l2label, encap_type enc_type, java.lang.String routermac, af_afi afi)
-
pushRoute_args
public pushRoute_args(BgpConfigurator.pushRoute_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public BgpConfigurator.pushRoute_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_args._Fields>
-
getP_type
public protocol_type getP_type()
- See Also:
protocol_type
-
setP_type
public BgpConfigurator.pushRoute_args setP_type(protocol_type p_type)
- See Also:
protocol_type
-
unsetP_type
public void unsetP_type()
-
isSetP_type
public boolean isSetP_type()
Returns true if field p_type is set (has been assigned a value) and false otherwise
-
setP_typeIsSet
public void setP_typeIsSet(boolean value)
-
getPrefix
public java.lang.String getPrefix()
-
setPrefix
public BgpConfigurator.pushRoute_args setPrefix(java.lang.String prefix)
-
unsetPrefix
public void unsetPrefix()
-
isSetPrefix
public boolean isSetPrefix()
Returns true if field prefix is set (has been assigned a value) and false otherwise
-
setPrefixIsSet
public void setPrefixIsSet(boolean value)
-
getNexthop
public java.lang.String getNexthop()
-
setNexthop
public BgpConfigurator.pushRoute_args setNexthop(java.lang.String nexthop)
-
unsetNexthop
public void unsetNexthop()
-
isSetNexthop
public boolean isSetNexthop()
Returns true if field nexthop is set (has been assigned a value) and false otherwise
-
setNexthopIsSet
public void setNexthopIsSet(boolean value)
-
getRd
public java.lang.String getRd()
-
setRd
public BgpConfigurator.pushRoute_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)
-
getEthtag
public long getEthtag()
-
setEthtag
public BgpConfigurator.pushRoute_args setEthtag(long ethtag)
-
unsetEthtag
public void unsetEthtag()
-
isSetEthtag
public boolean isSetEthtag()
Returns true if field ethtag is set (has been assigned a value) and false otherwise
-
setEthtagIsSet
public void setEthtagIsSet(boolean value)
-
getEsi
public java.lang.String getEsi()
-
setEsi
public BgpConfigurator.pushRoute_args setEsi(java.lang.String esi)
-
unsetEsi
public void unsetEsi()
-
isSetEsi
public boolean isSetEsi()
Returns true if field esi is set (has been assigned a value) and false otherwise
-
setEsiIsSet
public void setEsiIsSet(boolean value)
-
getMacaddress
public java.lang.String getMacaddress()
-
setMacaddress
public BgpConfigurator.pushRoute_args setMacaddress(java.lang.String macaddress)
-
unsetMacaddress
public void unsetMacaddress()
-
isSetMacaddress
public boolean isSetMacaddress()
Returns true if field macaddress is set (has been assigned a value) and false otherwise
-
setMacaddressIsSet
public void setMacaddressIsSet(boolean value)
-
getL3label
public int getL3label()
-
setL3label
public BgpConfigurator.pushRoute_args setL3label(int l3label)
-
unsetL3label
public void unsetL3label()
-
isSetL3label
public boolean isSetL3label()
Returns true if field l3label is set (has been assigned a value) and false otherwise
-
setL3labelIsSet
public void setL3labelIsSet(boolean value)
-
getL2label
public int getL2label()
-
setL2label
public BgpConfigurator.pushRoute_args setL2label(int l2label)
-
unsetL2label
public void unsetL2label()
-
isSetL2label
public boolean isSetL2label()
Returns true if field l2label is set (has been assigned a value) and false otherwise
-
setL2labelIsSet
public void setL2labelIsSet(boolean value)
-
getEnc_type
public encap_type getEnc_type()
- See Also:
encap_type
-
setEnc_type
public BgpConfigurator.pushRoute_args setEnc_type(encap_type enc_type)
- See Also:
encap_type
-
unsetEnc_type
public void unsetEnc_type()
-
isSetEnc_type
public boolean isSetEnc_type()
Returns true if field enc_type is set (has been assigned a value) and false otherwise
-
setEnc_typeIsSet
public void setEnc_typeIsSet(boolean value)
-
getRoutermac
public java.lang.String getRoutermac()
-
setRoutermac
public BgpConfigurator.pushRoute_args setRoutermac(java.lang.String routermac)
-
unsetRoutermac
public void unsetRoutermac()
-
isSetRoutermac
public boolean isSetRoutermac()
Returns true if field routermac is set (has been assigned a value) and false otherwise
-
setRoutermacIsSet
public void setRoutermacIsSet(boolean value)
-
setAfi
public BgpConfigurator.pushRoute_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)
-
setFieldValue
public void setFieldValue(BgpConfigurator.pushRoute_args._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_args._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(BgpConfigurator.pushRoute_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_args._Fields>
-
isSet
public boolean isSet(BgpConfigurator.pushRoute_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.pushRoute_args,BgpConfigurator.pushRoute_args._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(BgpConfigurator.pushRoute_args that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(BgpConfigurator.pushRoute_args other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<BgpConfigurator.pushRoute_args>
-
fieldForId
public BgpConfigurator.pushRoute_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_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.pushRoute_args,BgpConfigurator.pushRoute_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.pushRoute_args,BgpConfigurator.pushRoute_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
-
-