Class Update
- java.lang.Object
-
- org.opendaylight.netvirt.bgpmanager.thrift.gen.Update
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Comparable<Update>,org.apache.thrift.TBase<Update,Update._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2018-04-09") public class Update extends java.lang.Object implements org.apache.thrift.TBase<Update,Update._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Update>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdate._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringesiintethtagintl2labelintl3labeljava.lang.Stringmacaddressstatic java.util.Map<Update._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapjava.lang.Stringnexthopjava.lang.Stringprefixintprefixlenjava.lang.Stringrdintreservedjava.lang.Stringroutermacinttype
-
Constructor Summary
Constructors Constructor Description Update()Update(int type, int reserved, int prefixlen, int l3label, int l2label, int ethtag, java.lang.String esi, java.lang.String macaddress, java.lang.String rd, java.lang.String prefix, java.lang.String nexthop, java.lang.String routermac)Update(Update other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(Update other)UpdatedeepCopy()booleanequals(java.lang.Object that)booleanequals(Update that)Update._FieldsfieldForId(int fieldId)java.lang.StringgetEsi()intgetEthtag()java.lang.ObjectgetFieldValue(Update._Fields field)intgetL2label()intgetL3label()java.lang.StringgetMacaddress()java.lang.StringgetNexthop()java.lang.StringgetPrefix()intgetPrefixlen()java.lang.StringgetRd()intgetReserved()java.lang.StringgetRoutermac()intgetType()inthashCode()booleanisSet(Update._Fields field)Returns true if field corresponding to fieldID 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 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 otherwisebooleanisSetReserved()Returns true if field reserved is set (has been assigned a value) and false otherwisebooleanisSetRoutermac()Returns true if field routermac is set (has been assigned a value) and false otherwisebooleanisSetType()Returns true if field type is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)UpdatesetEsi(java.lang.String esi)voidsetEsiIsSet(boolean value)UpdatesetEthtag(int ethtag)voidsetEthtagIsSet(boolean value)voidsetFieldValue(Update._Fields field, java.lang.Object value)UpdatesetL2label(int l2label)voidsetL2labelIsSet(boolean value)UpdatesetL3label(int l3label)voidsetL3labelIsSet(boolean value)UpdatesetMacaddress(java.lang.String macaddress)voidsetMacaddressIsSet(boolean value)UpdatesetNexthop(java.lang.String nexthop)voidsetNexthopIsSet(boolean value)UpdatesetPrefix(java.lang.String prefix)voidsetPrefixIsSet(boolean value)UpdatesetPrefixlen(int prefixlen)voidsetPrefixlenIsSet(boolean value)UpdatesetRd(java.lang.String rd)voidsetRdIsSet(boolean value)UpdatesetReserved(int reserved)voidsetReservedIsSet(boolean value)UpdatesetRoutermac(java.lang.String routermac)voidsetRoutermacIsSet(boolean value)UpdatesetType(int type)voidsetTypeIsSet(boolean value)java.lang.StringtoString()voidunsetEsi()voidunsetEthtag()voidunsetL2label()voidunsetL3label()voidunsetMacaddress()voidunsetNexthop()voidunsetPrefix()voidunsetPrefixlen()voidunsetRd()voidunsetReserved()voidunsetRoutermac()voidunsetType()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
type
public int type
-
reserved
public int reserved
-
prefixlen
public int prefixlen
-
l3label
public int l3label
-
l2label
public int l2label
-
ethtag
public int ethtag
-
esi
public java.lang.String esi
-
macaddress
public java.lang.String macaddress
-
rd
public java.lang.String rd
-
prefix
public java.lang.String prefix
-
nexthop
public java.lang.String nexthop
-
routermac
public java.lang.String routermac
-
metaDataMap
public static final java.util.Map<Update._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
Update
public Update()
-
Update
public Update(int type, int reserved, int prefixlen, int l3label, int l2label, int ethtag, java.lang.String esi, java.lang.String macaddress, java.lang.String rd, java.lang.String prefix, java.lang.String nexthop, java.lang.String routermac)
-
Update
public Update(Update other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public Update deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Update,Update._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<Update,Update._Fields>
-
getType
public int getType()
-
setType
public Update setType(int type)
-
unsetType
public void unsetType()
-
isSetType
public boolean isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
-
setTypeIsSet
public void setTypeIsSet(boolean value)
-
getReserved
public int getReserved()
-
setReserved
public Update setReserved(int reserved)
-
unsetReserved
public void unsetReserved()
-
isSetReserved
public boolean isSetReserved()
Returns true if field reserved is set (has been assigned a value) and false otherwise
-
setReservedIsSet
public void setReservedIsSet(boolean value)
-
getPrefixlen
public int getPrefixlen()
-
setPrefixlen
public Update 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)
-
getL3label
public int getL3label()
-
setL3label
public Update 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 Update 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)
-
getEthtag
public int getEthtag()
-
setEthtag
public Update setEthtag(int 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 Update 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 Update 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)
-
getRd
public java.lang.String getRd()
-
setRd
public Update 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 Update 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 Update 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)
-
getRoutermac
public java.lang.String getRoutermac()
-
setRoutermac
public Update 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)
-
setFieldValue
public void setFieldValue(Update._Fields field, java.lang.Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Update,Update._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(Update._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Update,Update._Fields>
-
isSet
public boolean isSet(Update._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<Update,Update._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equalsin classjava.lang.Object
-
equals
public boolean equals(Update that)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(Update other)
- Specified by:
compareToin interfacejava.lang.Comparable<Update>
-
fieldForId
public Update._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Update,Update._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TBase<Update,Update._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<Update,Update._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
-
-