Class BgpUpdater.onNotificationSendEvent_args
- java.lang.Object
-
- org.opendaylight.netvirt.bgpmanager.thrift.gen.BgpUpdater.onNotificationSendEvent_args
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<BgpUpdater.onNotificationSendEvent_args>
,org.apache.thrift.TBase<BgpUpdater.onNotificationSendEvent_args,BgpUpdater.onNotificationSendEvent_args._Fields>
- Enclosing class:
- BgpUpdater
public static class BgpUpdater.onNotificationSendEvent_args extends java.lang.Object implements org.apache.thrift.TBase<BgpUpdater.onNotificationSendEvent_args,BgpUpdater.onNotificationSendEvent_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BgpUpdater.onNotificationSendEvent_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BgpUpdater.onNotificationSendEvent_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 byte
errCode
byte
errSubcode
static java.util.Map<BgpUpdater.onNotificationSendEvent_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.lang.String
prefix
-
Constructor Summary
Constructors Constructor Description onNotificationSendEvent_args()
onNotificationSendEvent_args(java.lang.String prefix, byte errCode, byte errSubcode)
onNotificationSendEvent_args(BgpUpdater.onNotificationSendEvent_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.onNotificationSendEvent_args other)
BgpUpdater.onNotificationSendEvent_args
deepCopy()
boolean
equals(java.lang.Object that)
boolean
equals(BgpUpdater.onNotificationSendEvent_args that)
BgpUpdater.onNotificationSendEvent_args._Fields
fieldForId(int fieldId)
byte
getErrCode()
byte
getErrSubcode()
java.lang.Object
getFieldValue(BgpUpdater.onNotificationSendEvent_args._Fields field)
java.lang.String
getPrefix()
int
hashCode()
boolean
isSet(BgpUpdater.onNotificationSendEvent_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetErrCode()
Returns true if field errCode is set (has been assigned a value) and false otherwiseboolean
isSetErrSubcode()
Returns true if field errSubcode is set (has been assigned a value) and false otherwiseboolean
isSetPrefix()
Returns true if field prefix is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
BgpUpdater.onNotificationSendEvent_args
setErrCode(byte errCode)
void
setErrCodeIsSet(boolean value)
BgpUpdater.onNotificationSendEvent_args
setErrSubcode(byte errSubcode)
void
setErrSubcodeIsSet(boolean value)
void
setFieldValue(BgpUpdater.onNotificationSendEvent_args._Fields field, java.lang.Object value)
BgpUpdater.onNotificationSendEvent_args
setPrefix(java.lang.String prefix)
void
setPrefixIsSet(boolean value)
java.lang.String
toString()
void
unsetErrCode()
void
unsetErrSubcode()
void
unsetPrefix()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
prefix
public java.lang.String prefix
-
errCode
public byte errCode
-
errSubcode
public byte errSubcode
-
metaDataMap
public static final java.util.Map<BgpUpdater.onNotificationSendEvent_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
onNotificationSendEvent_args
public onNotificationSendEvent_args()
-
onNotificationSendEvent_args
public onNotificationSendEvent_args(java.lang.String prefix, byte errCode, byte errSubcode)
-
onNotificationSendEvent_args
public onNotificationSendEvent_args(BgpUpdater.onNotificationSendEvent_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public BgpUpdater.onNotificationSendEvent_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<BgpUpdater.onNotificationSendEvent_args,BgpUpdater.onNotificationSendEvent_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<BgpUpdater.onNotificationSendEvent_args,BgpUpdater.onNotificationSendEvent_args._Fields>
-
getPrefix
public java.lang.String getPrefix()
-
setPrefix
public BgpUpdater.onNotificationSendEvent_args setPrefix(java.lang.String prefix)
-
unsetPrefix
public void unsetPrefix()
-
isSetPrefix
public boolean isSetPrefix()
Returns true if field prefix is set (has been assigned a value) and false otherwise
-
setPrefixIsSet
public void setPrefixIsSet(boolean value)
-
getErrCode
public byte getErrCode()
-
setErrCode
public BgpUpdater.onNotificationSendEvent_args setErrCode(byte errCode)
-
unsetErrCode
public void unsetErrCode()
-
isSetErrCode
public boolean isSetErrCode()
Returns true if field errCode is set (has been assigned a value) and false otherwise
-
setErrCodeIsSet
public void setErrCodeIsSet(boolean value)
-
getErrSubcode
public byte getErrSubcode()
-
setErrSubcode
public BgpUpdater.onNotificationSendEvent_args setErrSubcode(byte errSubcode)
-
unsetErrSubcode
public void unsetErrSubcode()
-
isSetErrSubcode
public boolean isSetErrSubcode()
Returns true if field errSubcode is set (has been assigned a value) and false otherwise
-
setErrSubcodeIsSet
public void setErrSubcodeIsSet(boolean value)
-
setFieldValue
public void setFieldValue(BgpUpdater.onNotificationSendEvent_args._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<BgpUpdater.onNotificationSendEvent_args,BgpUpdater.onNotificationSendEvent_args._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(BgpUpdater.onNotificationSendEvent_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<BgpUpdater.onNotificationSendEvent_args,BgpUpdater.onNotificationSendEvent_args._Fields>
-
isSet
public boolean isSet(BgpUpdater.onNotificationSendEvent_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.onNotificationSendEvent_args,BgpUpdater.onNotificationSendEvent_args._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(BgpUpdater.onNotificationSendEvent_args that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(BgpUpdater.onNotificationSendEvent_args other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<BgpUpdater.onNotificationSendEvent_args>
-
fieldForId
public BgpUpdater.onNotificationSendEvent_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<BgpUpdater.onNotificationSendEvent_args,BgpUpdater.onNotificationSendEvent_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.onNotificationSendEvent_args,BgpUpdater.onNotificationSendEvent_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.onNotificationSendEvent_args,BgpUpdater.onNotificationSendEvent_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
-
-