Class BgpUpdater.onUpdateWithdrawRoute_args
- java.lang.Object
 - 
- org.opendaylight.netvirt.bgpmanager.thrift.gen.BgpUpdater.onUpdateWithdrawRoute_args
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable,java.lang.Cloneable,java.lang.Comparable<BgpUpdater.onUpdateWithdrawRoute_args>,org.apache.thrift.TBase<BgpUpdater.onUpdateWithdrawRoute_args,BgpUpdater.onUpdateWithdrawRoute_args._Fields>
- Enclosing class:
 - BgpUpdater
 
public static class BgpUpdater.onUpdateWithdrawRoute_args extends java.lang.Object implements org.apache.thrift.TBase<BgpUpdater.onUpdateWithdrawRoute_args,BgpUpdater.onUpdateWithdrawRoute_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BgpUpdater.onUpdateWithdrawRoute_args>
- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBgpUpdater.onUpdateWithdrawRoute_args._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. 
- 
Field Summary
Fields Modifier and Type Field Description af_afiafijava.lang.Stringesilongethtagintl2labelintl3labeljava.lang.Stringmacaddressstatic java.util.Map<BgpUpdater.onUpdateWithdrawRoute_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapjava.lang.Stringnexthopprotocol_typep_typejava.lang.Stringprefixintprefixlenjava.lang.Stringrd 
- 
Constructor Summary
Constructors Constructor Description onUpdateWithdrawRoute_args()onUpdateWithdrawRoute_args(BgpUpdater.onUpdateWithdrawRoute_args other)Performs a deep copy on other.onUpdateWithdrawRoute_args(protocol_type p_type, java.lang.String rd, java.lang.String prefix, int prefixlen, java.lang.String nexthop, long ethtag, java.lang.String esi, java.lang.String macaddress, int l3label, int l2label, af_afi afi) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(BgpUpdater.onUpdateWithdrawRoute_args other)BgpUpdater.onUpdateWithdrawRoute_argsdeepCopy()booleanequals(java.lang.Object that)booleanequals(BgpUpdater.onUpdateWithdrawRoute_args that)BgpUpdater.onUpdateWithdrawRoute_args._FieldsfieldForId(int fieldId)af_afigetAfi()java.lang.StringgetEsi()longgetEthtag()java.lang.ObjectgetFieldValue(BgpUpdater.onUpdateWithdrawRoute_args._Fields field)intgetL2label()intgetL3label()java.lang.StringgetMacaddress()java.lang.StringgetNexthop()protocol_typegetP_type()java.lang.StringgetPrefix()intgetPrefixlen()java.lang.StringgetRd()inthashCode()booleanisSet(BgpUpdater.onUpdateWithdrawRoute_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAfi()Returns true if field afi is set (has been assigned a value) and false otherwisebooleanisSetEsi()Returns true if field esi is set (has been assigned a value) and false otherwisebooleanisSetEthtag()Returns true if field ethtag is set (has been assigned a value) and false otherwisebooleanisSetL2label()Returns true if field l2label is set (has been assigned a value) and false otherwisebooleanisSetL3label()Returns true if field l3label is set (has been assigned a value) and false otherwisebooleanisSetMacaddress()Returns true if field macaddress is set (has been assigned a value) and false otherwisebooleanisSetNexthop()Returns true if field nexthop is set (has been assigned a value) and false otherwisebooleanisSetP_type()Returns true if field p_type is set (has been assigned a value) and false otherwisebooleanisSetPrefix()Returns true if field prefix is set (has been assigned a value) and false otherwisebooleanisSetPrefixlen()Returns true if field prefixlen is set (has been assigned a value) and false otherwisebooleanisSetRd()Returns true if field rd is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)BgpUpdater.onUpdateWithdrawRoute_argssetAfi(af_afi afi)voidsetAfiIsSet(boolean value)BgpUpdater.onUpdateWithdrawRoute_argssetEsi(java.lang.String esi)voidsetEsiIsSet(boolean value)BgpUpdater.onUpdateWithdrawRoute_argssetEthtag(long ethtag)voidsetEthtagIsSet(boolean value)voidsetFieldValue(BgpUpdater.onUpdateWithdrawRoute_args._Fields field, java.lang.Object value)BgpUpdater.onUpdateWithdrawRoute_argssetL2label(int l2label)voidsetL2labelIsSet(boolean value)BgpUpdater.onUpdateWithdrawRoute_argssetL3label(int l3label)voidsetL3labelIsSet(boolean value)BgpUpdater.onUpdateWithdrawRoute_argssetMacaddress(java.lang.String macaddress)voidsetMacaddressIsSet(boolean value)BgpUpdater.onUpdateWithdrawRoute_argssetNexthop(java.lang.String nexthop)voidsetNexthopIsSet(boolean value)BgpUpdater.onUpdateWithdrawRoute_argssetP_type(protocol_type p_type)voidsetP_typeIsSet(boolean value)BgpUpdater.onUpdateWithdrawRoute_argssetPrefix(java.lang.String prefix)voidsetPrefixIsSet(boolean value)BgpUpdater.onUpdateWithdrawRoute_argssetPrefixlen(int prefixlen)voidsetPrefixlenIsSet(boolean value)BgpUpdater.onUpdateWithdrawRoute_argssetRd(java.lang.String rd)voidsetRdIsSet(boolean value)java.lang.StringtoString()voidunsetAfi()voidunsetEsi()voidunsetEthtag()voidunsetL2label()voidunsetL3label()voidunsetMacaddress()voidunsetNexthop()voidunsetP_type()voidunsetPrefix()voidunsetPrefixlen()voidunsetRd()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot) 
 - 
 
- 
- 
Field Detail
- 
p_type
public protocol_type p_type
- See Also:
 protocol_type
 
- 
rd
public java.lang.String rd
 
- 
prefix
public java.lang.String prefix
 
- 
prefixlen
public int prefixlen
 
- 
nexthop
public java.lang.String nexthop
 
- 
ethtag
public long ethtag
 
- 
esi
public java.lang.String esi
 
- 
macaddress
public java.lang.String macaddress
 
- 
l3label
public int l3label
 
- 
l2label
public int l2label
 
- 
metaDataMap
public static final java.util.Map<BgpUpdater.onUpdateWithdrawRoute_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
 
 - 
 
- 
Constructor Detail
- 
onUpdateWithdrawRoute_args
public onUpdateWithdrawRoute_args()
 
- 
onUpdateWithdrawRoute_args
public onUpdateWithdrawRoute_args(protocol_type p_type, java.lang.String rd, java.lang.String prefix, int prefixlen, java.lang.String nexthop, long ethtag, java.lang.String esi, java.lang.String macaddress, int l3label, int l2label, af_afi afi)
 
- 
onUpdateWithdrawRoute_args
public onUpdateWithdrawRoute_args(BgpUpdater.onUpdateWithdrawRoute_args other)
Performs a deep copy on other. 
 - 
 
- 
Method Detail
- 
deepCopy
public BgpUpdater.onUpdateWithdrawRoute_args deepCopy()
- Specified by:
 deepCopyin interfaceorg.apache.thrift.TBase<BgpUpdater.onUpdateWithdrawRoute_args,BgpUpdater.onUpdateWithdrawRoute_args._Fields>
 
- 
clear
public void clear()
- Specified by:
 clearin interfaceorg.apache.thrift.TBase<BgpUpdater.onUpdateWithdrawRoute_args,BgpUpdater.onUpdateWithdrawRoute_args._Fields>
 
- 
getP_type
public protocol_type getP_type()
- See Also:
 protocol_type
 
- 
setP_type
public BgpUpdater.onUpdateWithdrawRoute_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)
 
- 
getRd
public java.lang.String getRd()
 
- 
setRd
public BgpUpdater.onUpdateWithdrawRoute_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)
 
- 
getPrefix
public java.lang.String getPrefix()
 
- 
setPrefix
public BgpUpdater.onUpdateWithdrawRoute_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)
 
- 
getPrefixlen
public int getPrefixlen()
 
- 
setPrefixlen
public BgpUpdater.onUpdateWithdrawRoute_args setPrefixlen(int prefixlen)
 
- 
unsetPrefixlen
public void unsetPrefixlen()
 
- 
isSetPrefixlen
public boolean isSetPrefixlen()
Returns true if field prefixlen is set (has been assigned a value) and false otherwise 
- 
setPrefixlenIsSet
public void setPrefixlenIsSet(boolean value)
 
- 
getNexthop
public java.lang.String getNexthop()
 
- 
setNexthop
public BgpUpdater.onUpdateWithdrawRoute_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)
 
- 
getEthtag
public long getEthtag()
 
- 
setEthtag
public BgpUpdater.onUpdateWithdrawRoute_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 BgpUpdater.onUpdateWithdrawRoute_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 BgpUpdater.onUpdateWithdrawRoute_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 BgpUpdater.onUpdateWithdrawRoute_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 BgpUpdater.onUpdateWithdrawRoute_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)
 
- 
setAfi
public BgpUpdater.onUpdateWithdrawRoute_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(BgpUpdater.onUpdateWithdrawRoute_args._Fields field, java.lang.Object value)
- Specified by:
 setFieldValuein interfaceorg.apache.thrift.TBase<BgpUpdater.onUpdateWithdrawRoute_args,BgpUpdater.onUpdateWithdrawRoute_args._Fields>
 
- 
getFieldValue
public java.lang.Object getFieldValue(BgpUpdater.onUpdateWithdrawRoute_args._Fields field)
- Specified by:
 getFieldValuein interfaceorg.apache.thrift.TBase<BgpUpdater.onUpdateWithdrawRoute_args,BgpUpdater.onUpdateWithdrawRoute_args._Fields>
 
- 
isSet
public boolean isSet(BgpUpdater.onUpdateWithdrawRoute_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
 isSetin interfaceorg.apache.thrift.TBase<BgpUpdater.onUpdateWithdrawRoute_args,BgpUpdater.onUpdateWithdrawRoute_args._Fields>
 
- 
equals
public boolean equals(java.lang.Object that)
- Overrides:
 equalsin classjava.lang.Object
 
- 
equals
public boolean equals(BgpUpdater.onUpdateWithdrawRoute_args that)
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
compareTo
public int compareTo(BgpUpdater.onUpdateWithdrawRoute_args other)
- Specified by:
 compareToin interfacejava.lang.Comparable<BgpUpdater.onUpdateWithdrawRoute_args>
 
- 
fieldForId
public BgpUpdater.onUpdateWithdrawRoute_args._Fields fieldForId(int fieldId)
- Specified by:
 fieldForIdin interfaceorg.apache.thrift.TBase<BgpUpdater.onUpdateWithdrawRoute_args,BgpUpdater.onUpdateWithdrawRoute_args._Fields>
 
- 
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
 readin interfaceorg.apache.thrift.TBase<BgpUpdater.onUpdateWithdrawRoute_args,BgpUpdater.onUpdateWithdrawRoute_args._Fields>- Throws:
 org.apache.thrift.TException
 
- 
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
 writein interfaceorg.apache.thrift.TBase<BgpUpdater.onUpdateWithdrawRoute_args,BgpUpdater.onUpdateWithdrawRoute_args._Fields>- Throws:
 org.apache.thrift.TException
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
validate
public void validate() throws org.apache.thrift.TException- Throws:
 org.apache.thrift.TException
 
 - 
 
 -