Class BgpConfigurator.setUpdateSource_args
- java.lang.Object
-
- org.opendaylight.netvirt.bgpmanager.thrift.gen.BgpConfigurator.setUpdateSource_args
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<BgpConfigurator.setUpdateSource_args>
,org.apache.thrift.TBase<BgpConfigurator.setUpdateSource_args,BgpConfigurator.setUpdateSource_args._Fields>
- Enclosing class:
- BgpConfigurator
public static class BgpConfigurator.setUpdateSource_args extends java.lang.Object implements org.apache.thrift.TBase<BgpConfigurator.setUpdateSource_args,BgpConfigurator.setUpdateSource_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BgpConfigurator.setUpdateSource_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BgpConfigurator.setUpdateSource_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 static java.util.Map<BgpConfigurator.setUpdateSource_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.lang.String
peerIp
java.lang.String
srcIp
-
Constructor Summary
Constructors Constructor Description setUpdateSource_args()
setUpdateSource_args(java.lang.String peerIp, java.lang.String srcIp)
setUpdateSource_args(BgpConfigurator.setUpdateSource_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.setUpdateSource_args other)
BgpConfigurator.setUpdateSource_args
deepCopy()
boolean
equals(java.lang.Object that)
boolean
equals(BgpConfigurator.setUpdateSource_args that)
BgpConfigurator.setUpdateSource_args._Fields
fieldForId(int fieldId)
java.lang.Object
getFieldValue(BgpConfigurator.setUpdateSource_args._Fields field)
java.lang.String
getPeerIp()
java.lang.String
getSrcIp()
int
hashCode()
boolean
isSet(BgpConfigurator.setUpdateSource_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetPeerIp()
Returns true if field peerIp is set (has been assigned a value) and false otherwiseboolean
isSetSrcIp()
Returns true if field srcIp is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
void
setFieldValue(BgpConfigurator.setUpdateSource_args._Fields field, java.lang.Object value)
BgpConfigurator.setUpdateSource_args
setPeerIp(java.lang.String peerIp)
void
setPeerIpIsSet(boolean value)
BgpConfigurator.setUpdateSource_args
setSrcIp(java.lang.String srcIp)
void
setSrcIpIsSet(boolean value)
java.lang.String
toString()
void
unsetPeerIp()
void
unsetSrcIp()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
peerIp
public java.lang.String peerIp
-
srcIp
public java.lang.String srcIp
-
metaDataMap
public static final java.util.Map<BgpConfigurator.setUpdateSource_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
setUpdateSource_args
public setUpdateSource_args()
-
setUpdateSource_args
public setUpdateSource_args(java.lang.String peerIp, java.lang.String srcIp)
-
setUpdateSource_args
public setUpdateSource_args(BgpConfigurator.setUpdateSource_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public BgpConfigurator.setUpdateSource_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<BgpConfigurator.setUpdateSource_args,BgpConfigurator.setUpdateSource_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<BgpConfigurator.setUpdateSource_args,BgpConfigurator.setUpdateSource_args._Fields>
-
getPeerIp
public java.lang.String getPeerIp()
-
setPeerIp
public BgpConfigurator.setUpdateSource_args setPeerIp(java.lang.String peerIp)
-
unsetPeerIp
public void unsetPeerIp()
-
isSetPeerIp
public boolean isSetPeerIp()
Returns true if field peerIp is set (has been assigned a value) and false otherwise
-
setPeerIpIsSet
public void setPeerIpIsSet(boolean value)
-
getSrcIp
public java.lang.String getSrcIp()
-
setSrcIp
public BgpConfigurator.setUpdateSource_args setSrcIp(java.lang.String srcIp)
-
unsetSrcIp
public void unsetSrcIp()
-
isSetSrcIp
public boolean isSetSrcIp()
Returns true if field srcIp is set (has been assigned a value) and false otherwise
-
setSrcIpIsSet
public void setSrcIpIsSet(boolean value)
-
setFieldValue
public void setFieldValue(BgpConfigurator.setUpdateSource_args._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<BgpConfigurator.setUpdateSource_args,BgpConfigurator.setUpdateSource_args._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(BgpConfigurator.setUpdateSource_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<BgpConfigurator.setUpdateSource_args,BgpConfigurator.setUpdateSource_args._Fields>
-
isSet
public boolean isSet(BgpConfigurator.setUpdateSource_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.setUpdateSource_args,BgpConfigurator.setUpdateSource_args._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(BgpConfigurator.setUpdateSource_args that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(BgpConfigurator.setUpdateSource_args other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<BgpConfigurator.setUpdateSource_args>
-
fieldForId
public BgpConfigurator.setUpdateSource_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<BgpConfigurator.setUpdateSource_args,BgpConfigurator.setUpdateSource_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.setUpdateSource_args,BgpConfigurator.setUpdateSource_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.setUpdateSource_args,BgpConfigurator.setUpdateSource_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
-
-