Class BgpConfigurator.startBgp_args
- java.lang.Object
-
- org.opendaylight.netvirt.bgpmanager.thrift.gen.BgpConfigurator.startBgp_args
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<BgpConfigurator.startBgp_args>
,org.apache.thrift.TBase<BgpConfigurator.startBgp_args,BgpConfigurator.startBgp_args._Fields>
- Enclosing class:
- BgpConfigurator
public static class BgpConfigurator.startBgp_args extends java.lang.Object implements org.apache.thrift.TBase<BgpConfigurator.startBgp_args,BgpConfigurator.startBgp_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BgpConfigurator.startBgp_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BgpConfigurator.startBgp_args._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 boolean
announceFbit
long
asNumber
int
holdTime
int
keepAliveTime
static java.util.Map<BgpConfigurator.startBgp_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
int
port
java.lang.String
routerId
int
stalepathTime
-
Constructor Summary
Constructors Constructor Description startBgp_args()
startBgp_args(long asNumber, java.lang.String routerId, int port, int holdTime, int keepAliveTime, int stalepathTime, boolean announceFbit)
startBgp_args(BgpConfigurator.startBgp_args other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(BgpConfigurator.startBgp_args other)
BgpConfigurator.startBgp_args
deepCopy()
boolean
equals(java.lang.Object that)
boolean
equals(BgpConfigurator.startBgp_args that)
BgpConfigurator.startBgp_args._Fields
fieldForId(int fieldId)
long
getAsNumber()
java.lang.Object
getFieldValue(BgpConfigurator.startBgp_args._Fields field)
int
getHoldTime()
int
getKeepAliveTime()
int
getPort()
java.lang.String
getRouterId()
int
getStalepathTime()
int
hashCode()
boolean
isAnnounceFbit()
boolean
isSet(BgpConfigurator.startBgp_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetAnnounceFbit()
Returns true if field announceFbit is set (has been assigned a value) and false otherwiseboolean
isSetAsNumber()
Returns true if field asNumber is set (has been assigned a value) and false otherwiseboolean
isSetHoldTime()
Returns true if field holdTime is set (has been assigned a value) and false otherwiseboolean
isSetKeepAliveTime()
Returns true if field keepAliveTime is set (has been assigned a value) and false otherwiseboolean
isSetPort()
Returns true if field port is set (has been assigned a value) and false otherwiseboolean
isSetRouterId()
Returns true if field routerId is set (has been assigned a value) and false otherwiseboolean
isSetStalepathTime()
Returns true if field stalepathTime is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
BgpConfigurator.startBgp_args
setAnnounceFbit(boolean announceFbit)
void
setAnnounceFbitIsSet(boolean value)
BgpConfigurator.startBgp_args
setAsNumber(long asNumber)
void
setAsNumberIsSet(boolean value)
void
setFieldValue(BgpConfigurator.startBgp_args._Fields field, java.lang.Object value)
BgpConfigurator.startBgp_args
setHoldTime(int holdTime)
void
setHoldTimeIsSet(boolean value)
BgpConfigurator.startBgp_args
setKeepAliveTime(int keepAliveTime)
void
setKeepAliveTimeIsSet(boolean value)
BgpConfigurator.startBgp_args
setPort(int port)
void
setPortIsSet(boolean value)
BgpConfigurator.startBgp_args
setRouterId(java.lang.String routerId)
void
setRouterIdIsSet(boolean value)
BgpConfigurator.startBgp_args
setStalepathTime(int stalepathTime)
void
setStalepathTimeIsSet(boolean value)
java.lang.String
toString()
void
unsetAnnounceFbit()
void
unsetAsNumber()
void
unsetHoldTime()
void
unsetKeepAliveTime()
void
unsetPort()
void
unsetRouterId()
void
unsetStalepathTime()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
asNumber
public long asNumber
-
routerId
public java.lang.String routerId
-
port
public int port
-
holdTime
public int holdTime
-
keepAliveTime
public int keepAliveTime
-
stalepathTime
public int stalepathTime
-
announceFbit
public boolean announceFbit
-
metaDataMap
public static final java.util.Map<BgpConfigurator.startBgp_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
startBgp_args
public startBgp_args()
-
startBgp_args
public startBgp_args(long asNumber, java.lang.String routerId, int port, int holdTime, int keepAliveTime, int stalepathTime, boolean announceFbit)
-
startBgp_args
public startBgp_args(BgpConfigurator.startBgp_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public BgpConfigurator.startBgp_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<BgpConfigurator.startBgp_args,BgpConfigurator.startBgp_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<BgpConfigurator.startBgp_args,BgpConfigurator.startBgp_args._Fields>
-
getAsNumber
public long getAsNumber()
-
setAsNumber
public BgpConfigurator.startBgp_args setAsNumber(long asNumber)
-
unsetAsNumber
public void unsetAsNumber()
-
isSetAsNumber
public boolean isSetAsNumber()
Returns true if field asNumber is set (has been assigned a value) and false otherwise
-
setAsNumberIsSet
public void setAsNumberIsSet(boolean value)
-
getRouterId
public java.lang.String getRouterId()
-
setRouterId
public BgpConfigurator.startBgp_args setRouterId(java.lang.String routerId)
-
unsetRouterId
public void unsetRouterId()
-
isSetRouterId
public boolean isSetRouterId()
Returns true if field routerId is set (has been assigned a value) and false otherwise
-
setRouterIdIsSet
public void setRouterIdIsSet(boolean value)
-
getPort
public int getPort()
-
setPort
public BgpConfigurator.startBgp_args setPort(int port)
-
unsetPort
public void unsetPort()
-
isSetPort
public boolean isSetPort()
Returns true if field port is set (has been assigned a value) and false otherwise
-
setPortIsSet
public void setPortIsSet(boolean value)
-
getHoldTime
public int getHoldTime()
-
setHoldTime
public BgpConfigurator.startBgp_args setHoldTime(int holdTime)
-
unsetHoldTime
public void unsetHoldTime()
-
isSetHoldTime
public boolean isSetHoldTime()
Returns true if field holdTime is set (has been assigned a value) and false otherwise
-
setHoldTimeIsSet
public void setHoldTimeIsSet(boolean value)
-
getKeepAliveTime
public int getKeepAliveTime()
-
setKeepAliveTime
public BgpConfigurator.startBgp_args setKeepAliveTime(int keepAliveTime)
-
unsetKeepAliveTime
public void unsetKeepAliveTime()
-
isSetKeepAliveTime
public boolean isSetKeepAliveTime()
Returns true if field keepAliveTime is set (has been assigned a value) and false otherwise
-
setKeepAliveTimeIsSet
public void setKeepAliveTimeIsSet(boolean value)
-
getStalepathTime
public int getStalepathTime()
-
setStalepathTime
public BgpConfigurator.startBgp_args setStalepathTime(int stalepathTime)
-
unsetStalepathTime
public void unsetStalepathTime()
-
isSetStalepathTime
public boolean isSetStalepathTime()
Returns true if field stalepathTime is set (has been assigned a value) and false otherwise
-
setStalepathTimeIsSet
public void setStalepathTimeIsSet(boolean value)
-
isAnnounceFbit
public boolean isAnnounceFbit()
-
setAnnounceFbit
public BgpConfigurator.startBgp_args setAnnounceFbit(boolean announceFbit)
-
unsetAnnounceFbit
public void unsetAnnounceFbit()
-
isSetAnnounceFbit
public boolean isSetAnnounceFbit()
Returns true if field announceFbit is set (has been assigned a value) and false otherwise
-
setAnnounceFbitIsSet
public void setAnnounceFbitIsSet(boolean value)
-
setFieldValue
public void setFieldValue(BgpConfigurator.startBgp_args._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<BgpConfigurator.startBgp_args,BgpConfigurator.startBgp_args._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(BgpConfigurator.startBgp_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<BgpConfigurator.startBgp_args,BgpConfigurator.startBgp_args._Fields>
-
isSet
public boolean isSet(BgpConfigurator.startBgp_args._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<BgpConfigurator.startBgp_args,BgpConfigurator.startBgp_args._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(BgpConfigurator.startBgp_args that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(BgpConfigurator.startBgp_args other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<BgpConfigurator.startBgp_args>
-
fieldForId
public BgpConfigurator.startBgp_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<BgpConfigurator.startBgp_args,BgpConfigurator.startBgp_args._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<BgpConfigurator.startBgp_args,BgpConfigurator.startBgp_args._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<BgpConfigurator.startBgp_args,BgpConfigurator.startBgp_args._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
-
-