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