Class BgpUpdater.peerDown_args
- java.lang.Object
-
- org.opendaylight.netvirt.bgpmanager.thrift.gen.BgpUpdater.peerDown_args
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<BgpUpdater.peerDown_args>
,org.apache.thrift.TBase<BgpUpdater.peerDown_args,BgpUpdater.peerDown_args._Fields>
- Enclosing class:
- BgpUpdater
public static class BgpUpdater.peerDown_args extends java.lang.Object implements org.apache.thrift.TBase<BgpUpdater.peerDown_args,BgpUpdater.peerDown_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BgpUpdater.peerDown_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BgpUpdater.peerDown_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 long
asNumber
java.lang.String
ipAddress
static java.util.Map<BgpUpdater.peerDown_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description peerDown_args()
peerDown_args(java.lang.String ipAddress, long asNumber)
peerDown_args(BgpUpdater.peerDown_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(BgpUpdater.peerDown_args other)
BgpUpdater.peerDown_args
deepCopy()
boolean
equals(java.lang.Object that)
boolean
equals(BgpUpdater.peerDown_args that)
BgpUpdater.peerDown_args._Fields
fieldForId(int fieldId)
long
getAsNumber()
java.lang.Object
getFieldValue(BgpUpdater.peerDown_args._Fields field)
java.lang.String
getIpAddress()
int
hashCode()
boolean
isSet(BgpUpdater.peerDown_args._Fields field)
Returns true if field corresponding to fieldID 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
isSetIpAddress()
Returns true if field ipAddress is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
BgpUpdater.peerDown_args
setAsNumber(long asNumber)
void
setAsNumberIsSet(boolean value)
void
setFieldValue(BgpUpdater.peerDown_args._Fields field, java.lang.Object value)
BgpUpdater.peerDown_args
setIpAddress(java.lang.String ipAddress)
void
setIpAddressIsSet(boolean value)
java.lang.String
toString()
void
unsetAsNumber()
void
unsetIpAddress()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
ipAddress
public java.lang.String ipAddress
-
asNumber
public long asNumber
-
metaDataMap
public static final java.util.Map<BgpUpdater.peerDown_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
peerDown_args
public peerDown_args()
-
peerDown_args
public peerDown_args(java.lang.String ipAddress, long asNumber)
-
peerDown_args
public peerDown_args(BgpUpdater.peerDown_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public BgpUpdater.peerDown_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<BgpUpdater.peerDown_args,BgpUpdater.peerDown_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<BgpUpdater.peerDown_args,BgpUpdater.peerDown_args._Fields>
-
getIpAddress
public java.lang.String getIpAddress()
-
setIpAddress
public BgpUpdater.peerDown_args setIpAddress(java.lang.String ipAddress)
-
unsetIpAddress
public void unsetIpAddress()
-
isSetIpAddress
public boolean isSetIpAddress()
Returns true if field ipAddress is set (has been assigned a value) and false otherwise
-
setIpAddressIsSet
public void setIpAddressIsSet(boolean value)
-
getAsNumber
public long getAsNumber()
-
setAsNumber
public BgpUpdater.peerDown_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)
-
setFieldValue
public void setFieldValue(BgpUpdater.peerDown_args._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<BgpUpdater.peerDown_args,BgpUpdater.peerDown_args._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(BgpUpdater.peerDown_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<BgpUpdater.peerDown_args,BgpUpdater.peerDown_args._Fields>
-
isSet
public boolean isSet(BgpUpdater.peerDown_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<BgpUpdater.peerDown_args,BgpUpdater.peerDown_args._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(BgpUpdater.peerDown_args that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(BgpUpdater.peerDown_args other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<BgpUpdater.peerDown_args>
-
fieldForId
public BgpUpdater.peerDown_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<BgpUpdater.peerDown_args,BgpUpdater.peerDown_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<BgpUpdater.peerDown_args,BgpUpdater.peerDown_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<BgpUpdater.peerDown_args,BgpUpdater.peerDown_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
-
-