@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2017-09-13") public class Update extends Object implements org.apache.thrift.TBase<Update,Update._Fields>, Serializable, Cloneable, Comparable<Update>
Modifier and Type | Class and Description |
---|---|
static class |
Update._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
String |
esi |
int |
ethtag |
int |
l2label |
int |
l3label |
String |
macaddress |
static Map<Update._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
nexthop |
String |
prefix |
int |
prefixlen |
String |
rd |
int |
reserved |
String |
routermac |
int |
type |
Constructor and Description |
---|
Update() |
Update(int type,
int reserved,
int prefixlen,
int l3label,
int l2label,
int ethtag,
String esi,
String macaddress,
String rd,
String prefix,
String nexthop,
String routermac) |
Update(Update other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(Update other) |
Update |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(Update that) |
Update._Fields |
fieldForId(int fieldId) |
String |
getEsi() |
int |
getEthtag() |
Object |
getFieldValue(Update._Fields field) |
int |
getL2label() |
int |
getL3label() |
String |
getMacaddress() |
String |
getNexthop() |
String |
getPrefix() |
int |
getPrefixlen() |
String |
getRd() |
int |
getReserved() |
String |
getRoutermac() |
int |
getType() |
int |
hashCode() |
boolean |
isSet(Update._Fields field)
Returns true if field corresponding to fieldID 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 |
isSetPrefix()
Returns true if field prefix is set (has been assigned a value) and false otherwise
|
boolean |
isSetPrefixlen()
Returns true if field prefixlen 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 |
isSetReserved()
Returns true if field reserved 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
|
boolean |
isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Update |
setEsi(String esi) |
void |
setEsiIsSet(boolean value) |
Update |
setEthtag(int ethtag) |
void |
setEthtagIsSet(boolean value) |
void |
setFieldValue(Update._Fields field,
Object value) |
Update |
setL2label(int l2label) |
void |
setL2labelIsSet(boolean value) |
Update |
setL3label(int l3label) |
void |
setL3labelIsSet(boolean value) |
Update |
setMacaddress(String macaddress) |
void |
setMacaddressIsSet(boolean value) |
Update |
setNexthop(String nexthop) |
void |
setNexthopIsSet(boolean value) |
Update |
setPrefix(String prefix) |
void |
setPrefixIsSet(boolean value) |
Update |
setPrefixlen(int prefixlen) |
void |
setPrefixlenIsSet(boolean value) |
Update |
setRd(String rd) |
void |
setRdIsSet(boolean value) |
Update |
setReserved(int reserved) |
void |
setReservedIsSet(boolean value) |
Update |
setRoutermac(String routermac) |
void |
setRoutermacIsSet(boolean value) |
Update |
setType(int type) |
void |
setTypeIsSet(boolean value) |
String |
toString() |
void |
unsetEsi() |
void |
unsetEthtag() |
void |
unsetL2label() |
void |
unsetL3label() |
void |
unsetMacaddress() |
void |
unsetNexthop() |
void |
unsetPrefix() |
void |
unsetPrefixlen() |
void |
unsetRd() |
void |
unsetReserved() |
void |
unsetRoutermac() |
void |
unsetType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int type
public int reserved
public int prefixlen
public int l3label
public int l2label
public int ethtag
public String esi
public String macaddress
public String rd
public String prefix
public String nexthop
public String routermac
public static final Map<Update._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Update()
public Update(int type, int reserved, int prefixlen, int l3label, int l2label, int ethtag, String esi, String macaddress, String rd, String prefix, String nexthop, String routermac)
public Update(Update other)
public Update deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Update,Update._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Update,Update._Fields>
public int getType()
public Update setType(int type)
public void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean value)
public int getReserved()
public Update setReserved(int reserved)
public void unsetReserved()
public boolean isSetReserved()
public void setReservedIsSet(boolean value)
public int getPrefixlen()
public Update setPrefixlen(int prefixlen)
public void unsetPrefixlen()
public boolean isSetPrefixlen()
public void setPrefixlenIsSet(boolean value)
public int getL3label()
public Update setL3label(int l3label)
public void unsetL3label()
public boolean isSetL3label()
public void setL3labelIsSet(boolean value)
public int getL2label()
public Update setL2label(int l2label)
public void unsetL2label()
public boolean isSetL2label()
public void setL2labelIsSet(boolean value)
public int getEthtag()
public Update setEthtag(int ethtag)
public void unsetEthtag()
public boolean isSetEthtag()
public void setEthtagIsSet(boolean value)
public String getEsi()
public void unsetEsi()
public boolean isSetEsi()
public void setEsiIsSet(boolean value)
public String getMacaddress()
public void unsetMacaddress()
public boolean isSetMacaddress()
public void setMacaddressIsSet(boolean value)
public String getRd()
public void unsetRd()
public boolean isSetRd()
public void setRdIsSet(boolean value)
public String getPrefix()
public void unsetPrefix()
public boolean isSetPrefix()
public void setPrefixIsSet(boolean value)
public String getNexthop()
public void unsetNexthop()
public boolean isSetNexthop()
public void setNexthopIsSet(boolean value)
public String getRoutermac()
public void unsetRoutermac()
public boolean isSetRoutermac()
public void setRoutermacIsSet(boolean value)
public void setFieldValue(Update._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Update,Update._Fields>
public Object getFieldValue(Update._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Update,Update._Fields>
public boolean isSet(Update._Fields field)
isSet
in interface org.apache.thrift.TBase<Update,Update._Fields>
public boolean equals(Update that)
public int compareTo(Update other)
compareTo
in interface Comparable<Update>
public Update._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Update,Update._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Update,Update._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<Update,Update._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 OpenDaylight. All rights reserved.