Class BfdConfigData
- java.lang.Object
-
- org.opendaylight.netvirt.bgpmanager.thrift.gen.BfdConfigData
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<BfdConfigData>
,org.apache.thrift.TBase<BfdConfigData,BfdConfigData._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2018-04-09") public class BfdConfigData extends java.lang.Object implements org.apache.thrift.TBase<BfdConfigData,BfdConfigData._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BfdConfigData>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BfdConfigData._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 byte
bfdConfigDataVersion
int
bfdDebounceDown
int
bfdDebounceUp
byte
bfdFailureThreshold
boolean
bfdMultihop
int
bfdRxInterval
int
bfdTxInterval
static java.util.Map<BfdConfigData._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description BfdConfigData()
BfdConfigData(byte bfdConfigDataVersion)
BfdConfigData(BfdConfigData other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(BfdConfigData other)
BfdConfigData
deepCopy()
boolean
equals(java.lang.Object that)
boolean
equals(BfdConfigData that)
BfdConfigData._Fields
fieldForId(int fieldId)
byte
getBfdConfigDataVersion()
int
getBfdDebounceDown()
int
getBfdDebounceUp()
byte
getBfdFailureThreshold()
int
getBfdRxInterval()
int
getBfdTxInterval()
java.lang.Object
getFieldValue(BfdConfigData._Fields field)
int
hashCode()
boolean
isBfdMultihop()
boolean
isSet(BfdConfigData._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetBfdConfigDataVersion()
Returns true if field bfdConfigDataVersion is set (has been assigned a value) and false otherwiseboolean
isSetBfdDebounceDown()
Returns true if field bfdDebounceDown is set (has been assigned a value) and false otherwiseboolean
isSetBfdDebounceUp()
Returns true if field bfdDebounceUp is set (has been assigned a value) and false otherwiseboolean
isSetBfdFailureThreshold()
Returns true if field bfdFailureThreshold is set (has been assigned a value) and false otherwiseboolean
isSetBfdMultihop()
Returns true if field bfdMultihop is set (has been assigned a value) and false otherwiseboolean
isSetBfdRxInterval()
Returns true if field bfdRxInterval is set (has been assigned a value) and false otherwiseboolean
isSetBfdTxInterval()
Returns true if field bfdTxInterval is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
BfdConfigData
setBfdConfigDataVersion(byte bfdConfigDataVersion)
void
setBfdConfigDataVersionIsSet(boolean value)
BfdConfigData
setBfdDebounceDown(int bfdDebounceDown)
void
setBfdDebounceDownIsSet(boolean value)
BfdConfigData
setBfdDebounceUp(int bfdDebounceUp)
void
setBfdDebounceUpIsSet(boolean value)
BfdConfigData
setBfdFailureThreshold(byte bfdFailureThreshold)
void
setBfdFailureThresholdIsSet(boolean value)
BfdConfigData
setBfdMultihop(boolean bfdMultihop)
void
setBfdMultihopIsSet(boolean value)
BfdConfigData
setBfdRxInterval(int bfdRxInterval)
void
setBfdRxIntervalIsSet(boolean value)
BfdConfigData
setBfdTxInterval(int bfdTxInterval)
void
setBfdTxIntervalIsSet(boolean value)
void
setFieldValue(BfdConfigData._Fields field, java.lang.Object value)
java.lang.String
toString()
void
unsetBfdConfigDataVersion()
void
unsetBfdDebounceDown()
void
unsetBfdDebounceUp()
void
unsetBfdFailureThreshold()
void
unsetBfdMultihop()
void
unsetBfdRxInterval()
void
unsetBfdTxInterval()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
bfdConfigDataVersion
public byte bfdConfigDataVersion
-
bfdRxInterval
public int bfdRxInterval
-
bfdFailureThreshold
public byte bfdFailureThreshold
-
bfdTxInterval
public int bfdTxInterval
-
bfdDebounceDown
public int bfdDebounceDown
-
bfdDebounceUp
public int bfdDebounceUp
-
bfdMultihop
public boolean bfdMultihop
-
metaDataMap
public static final java.util.Map<BfdConfigData._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
BfdConfigData
public BfdConfigData()
-
BfdConfigData
public BfdConfigData(byte bfdConfigDataVersion)
-
BfdConfigData
public BfdConfigData(BfdConfigData other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public BfdConfigData deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<BfdConfigData,BfdConfigData._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<BfdConfigData,BfdConfigData._Fields>
-
getBfdConfigDataVersion
public byte getBfdConfigDataVersion()
-
setBfdConfigDataVersion
public BfdConfigData setBfdConfigDataVersion(byte bfdConfigDataVersion)
-
unsetBfdConfigDataVersion
public void unsetBfdConfigDataVersion()
-
isSetBfdConfigDataVersion
public boolean isSetBfdConfigDataVersion()
Returns true if field bfdConfigDataVersion is set (has been assigned a value) and false otherwise
-
setBfdConfigDataVersionIsSet
public void setBfdConfigDataVersionIsSet(boolean value)
-
getBfdRxInterval
public int getBfdRxInterval()
-
setBfdRxInterval
public BfdConfigData setBfdRxInterval(int bfdRxInterval)
-
unsetBfdRxInterval
public void unsetBfdRxInterval()
-
isSetBfdRxInterval
public boolean isSetBfdRxInterval()
Returns true if field bfdRxInterval is set (has been assigned a value) and false otherwise
-
setBfdRxIntervalIsSet
public void setBfdRxIntervalIsSet(boolean value)
-
getBfdFailureThreshold
public byte getBfdFailureThreshold()
-
setBfdFailureThreshold
public BfdConfigData setBfdFailureThreshold(byte bfdFailureThreshold)
-
unsetBfdFailureThreshold
public void unsetBfdFailureThreshold()
-
isSetBfdFailureThreshold
public boolean isSetBfdFailureThreshold()
Returns true if field bfdFailureThreshold is set (has been assigned a value) and false otherwise
-
setBfdFailureThresholdIsSet
public void setBfdFailureThresholdIsSet(boolean value)
-
getBfdTxInterval
public int getBfdTxInterval()
-
setBfdTxInterval
public BfdConfigData setBfdTxInterval(int bfdTxInterval)
-
unsetBfdTxInterval
public void unsetBfdTxInterval()
-
isSetBfdTxInterval
public boolean isSetBfdTxInterval()
Returns true if field bfdTxInterval is set (has been assigned a value) and false otherwise
-
setBfdTxIntervalIsSet
public void setBfdTxIntervalIsSet(boolean value)
-
getBfdDebounceDown
public int getBfdDebounceDown()
-
setBfdDebounceDown
public BfdConfigData setBfdDebounceDown(int bfdDebounceDown)
-
unsetBfdDebounceDown
public void unsetBfdDebounceDown()
-
isSetBfdDebounceDown
public boolean isSetBfdDebounceDown()
Returns true if field bfdDebounceDown is set (has been assigned a value) and false otherwise
-
setBfdDebounceDownIsSet
public void setBfdDebounceDownIsSet(boolean value)
-
getBfdDebounceUp
public int getBfdDebounceUp()
-
setBfdDebounceUp
public BfdConfigData setBfdDebounceUp(int bfdDebounceUp)
-
unsetBfdDebounceUp
public void unsetBfdDebounceUp()
-
isSetBfdDebounceUp
public boolean isSetBfdDebounceUp()
Returns true if field bfdDebounceUp is set (has been assigned a value) and false otherwise
-
setBfdDebounceUpIsSet
public void setBfdDebounceUpIsSet(boolean value)
-
isBfdMultihop
public boolean isBfdMultihop()
-
setBfdMultihop
public BfdConfigData setBfdMultihop(boolean bfdMultihop)
-
unsetBfdMultihop
public void unsetBfdMultihop()
-
isSetBfdMultihop
public boolean isSetBfdMultihop()
Returns true if field bfdMultihop is set (has been assigned a value) and false otherwise
-
setBfdMultihopIsSet
public void setBfdMultihopIsSet(boolean value)
-
setFieldValue
public void setFieldValue(BfdConfigData._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<BfdConfigData,BfdConfigData._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(BfdConfigData._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<BfdConfigData,BfdConfigData._Fields>
-
isSet
public boolean isSet(BfdConfigData._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<BfdConfigData,BfdConfigData._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(BfdConfigData that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(BfdConfigData other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<BfdConfigData>
-
fieldForId
public BfdConfigData._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<BfdConfigData,BfdConfigData._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<BfdConfigData,BfdConfigData._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<BfdConfigData,BfdConfigData._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
-
-