public static class BgpConfigurator.pushRoute_args extends Object implements org.apache.thrift.TBase<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_args._Fields>, Serializable, Cloneable, Comparable<BgpConfigurator.pushRoute_args>
Modifier and Type | Class and Description |
---|---|
static class |
BgpConfigurator.pushRoute_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
af_afi |
afi |
encap_type |
enc_type |
String |
esi |
int |
ethtag |
int |
l2label |
int |
l3label |
String |
macaddress |
static Map<BgpConfigurator.pushRoute_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
nexthop |
protocol_type |
p_type |
String |
prefix |
String |
rd |
String |
routermac |
Constructor and Description |
---|
pushRoute_args() |
pushRoute_args(BgpConfigurator.pushRoute_args other)
Performs a deep copy on other.
|
pushRoute_args(protocol_type p_type,
String prefix,
String nexthop,
String rd,
int ethtag,
String esi,
String macaddress,
int l3label,
int l2label,
encap_type enc_type,
String routermac,
af_afi afi) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(BgpConfigurator.pushRoute_args other) |
BgpConfigurator.pushRoute_args |
deepCopy() |
boolean |
equals(BgpConfigurator.pushRoute_args that) |
boolean |
equals(Object that) |
BgpConfigurator.pushRoute_args._Fields |
fieldForId(int fieldId) |
af_afi |
getAfi() |
encap_type |
getEnc_type() |
String |
getEsi() |
int |
getEthtag() |
Object |
getFieldValue(BgpConfigurator.pushRoute_args._Fields field) |
int |
getL2label() |
int |
getL3label() |
String |
getMacaddress() |
String |
getNexthop() |
protocol_type |
getP_type() |
String |
getPrefix() |
String |
getRd() |
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 otherwise
|
boolean |
isSetAfi()
Returns true if field afi is set (has been assigned a value) and false otherwise
|
boolean |
isSetEnc_type()
Returns true if field enc_type is set (has been assigned a value) and false otherwise
|
boolean |
isSetEsi()
Returns true if field esi is set (has been assigned a value) and false otherwise
|
boolean |
isSetEthtag()
Returns true if field ethtag is set (has been assigned a value) and false otherwise
|
boolean |
isSetL2label()
Returns true if field l2label is set (has been assigned a value) and false otherwise
|
boolean |
isSetL3label()
Returns true if field l3label is set (has been assigned a value) and false otherwise
|
boolean |
isSetMacaddress()
Returns true if field macaddress is set (has been assigned a value) and false otherwise
|
boolean |
isSetNexthop()
Returns true if field nexthop is set (has been assigned a value) and false otherwise
|
boolean |
isSetP_type()
Returns true if field p_type is set (has been assigned a value) and false otherwise
|
boolean |
isSetPrefix()
Returns true if field prefix is set (has been assigned a value) and false otherwise
|
boolean |
isSetRd()
Returns true if field rd is set (has been assigned a value) and false otherwise
|
boolean |
isSetRoutermac()
Returns true if field routermac is set (has been assigned a value) and false otherwise
|
void |
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(String esi) |
void |
setEsiIsSet(boolean value) |
BgpConfigurator.pushRoute_args |
setEthtag(int ethtag) |
void |
setEthtagIsSet(boolean value) |
void |
setFieldValue(BgpConfigurator.pushRoute_args._Fields field,
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(String macaddress) |
void |
setMacaddressIsSet(boolean value) |
BgpConfigurator.pushRoute_args |
setNexthop(String nexthop) |
void |
setNexthopIsSet(boolean value) |
BgpConfigurator.pushRoute_args |
setP_type(protocol_type p_type) |
void |
setP_typeIsSet(boolean value) |
BgpConfigurator.pushRoute_args |
setPrefix(String prefix) |
void |
setPrefixIsSet(boolean value) |
BgpConfigurator.pushRoute_args |
setRd(String rd) |
void |
setRdIsSet(boolean value) |
BgpConfigurator.pushRoute_args |
setRoutermac(String routermac) |
void |
setRoutermacIsSet(boolean value) |
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) |
public protocol_type p_type
protocol_type
public String prefix
public String nexthop
public String rd
public int ethtag
public String esi
public String macaddress
public int l3label
public int l2label
public encap_type enc_type
encap_type
public String routermac
public static final Map<BgpConfigurator.pushRoute_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public pushRoute_args()
public pushRoute_args(protocol_type p_type, String prefix, String nexthop, String rd, int ethtag, String esi, String macaddress, int l3label, int l2label, encap_type enc_type, String routermac, af_afi afi)
public pushRoute_args(BgpConfigurator.pushRoute_args other)
public BgpConfigurator.pushRoute_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_args._Fields>
public protocol_type getP_type()
protocol_type
public BgpConfigurator.pushRoute_args setP_type(protocol_type p_type)
protocol_type
public void unsetP_type()
public boolean isSetP_type()
public void setP_typeIsSet(boolean value)
public String getPrefix()
public BgpConfigurator.pushRoute_args setPrefix(String prefix)
public void unsetPrefix()
public boolean isSetPrefix()
public void setPrefixIsSet(boolean value)
public String getNexthop()
public BgpConfigurator.pushRoute_args setNexthop(String nexthop)
public void unsetNexthop()
public boolean isSetNexthop()
public void setNexthopIsSet(boolean value)
public String getRd()
public BgpConfigurator.pushRoute_args setRd(String rd)
public void unsetRd()
public boolean isSetRd()
public void setRdIsSet(boolean value)
public int getEthtag()
public BgpConfigurator.pushRoute_args setEthtag(int ethtag)
public void unsetEthtag()
public boolean isSetEthtag()
public void setEthtagIsSet(boolean value)
public String getEsi()
public BgpConfigurator.pushRoute_args setEsi(String esi)
public void unsetEsi()
public boolean isSetEsi()
public void setEsiIsSet(boolean value)
public String getMacaddress()
public BgpConfigurator.pushRoute_args setMacaddress(String macaddress)
public void unsetMacaddress()
public boolean isSetMacaddress()
public void setMacaddressIsSet(boolean value)
public int getL3label()
public BgpConfigurator.pushRoute_args setL3label(int l3label)
public void unsetL3label()
public boolean isSetL3label()
public void setL3labelIsSet(boolean value)
public int getL2label()
public BgpConfigurator.pushRoute_args setL2label(int l2label)
public void unsetL2label()
public boolean isSetL2label()
public void setL2labelIsSet(boolean value)
public encap_type getEnc_type()
encap_type
public BgpConfigurator.pushRoute_args setEnc_type(encap_type enc_type)
encap_type
public void unsetEnc_type()
public boolean isSetEnc_type()
public void setEnc_typeIsSet(boolean value)
public String getRoutermac()
public BgpConfigurator.pushRoute_args setRoutermac(String routermac)
public void unsetRoutermac()
public boolean isSetRoutermac()
public void setRoutermacIsSet(boolean value)
public BgpConfigurator.pushRoute_args setAfi(af_afi afi)
af_afi
public void unsetAfi()
public boolean isSetAfi()
public void setAfiIsSet(boolean value)
public void setFieldValue(BgpConfigurator.pushRoute_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_args._Fields>
public Object getFieldValue(BgpConfigurator.pushRoute_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_args._Fields>
public boolean isSet(BgpConfigurator.pushRoute_args._Fields field)
isSet
in interface org.apache.thrift.TBase<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_args._Fields>
public boolean equals(BgpConfigurator.pushRoute_args that)
public int compareTo(BgpConfigurator.pushRoute_args other)
compareTo
in interface Comparable<BgpConfigurator.pushRoute_args>
public BgpConfigurator.pushRoute_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_args._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<BgpConfigurator.pushRoute_args,BgpConfigurator.pushRoute_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 OpenDaylight. All rights reserved.