Class Routes
- java.lang.Object
-
- org.opendaylight.netvirt.bgpmanager.thrift.gen.Routes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<Routes>
,org.apache.thrift.TBase<Routes,Routes._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2018-04-09") public class Routes extends java.lang.Object implements org.apache.thrift.TBase<Routes,Routes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Routes>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Routes._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
errcode
static java.util.Map<Routes._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
int
more
java.util.List<Update>
updates
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToUpdates(Update elem)
void
clear()
int
compareTo(Routes other)
Routes
deepCopy()
boolean
equals(java.lang.Object that)
boolean
equals(Routes that)
Routes._Fields
fieldForId(int fieldId)
int
getErrcode()
java.lang.Object
getFieldValue(Routes._Fields field)
int
getMore()
java.util.List<Update>
getUpdates()
java.util.Iterator<Update>
getUpdatesIterator()
int
getUpdatesSize()
int
hashCode()
boolean
isSet(Routes._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
isSetMore()
Returns true if field more is set (has been assigned a value) and false otherwiseboolean
isSetUpdates()
Returns true if field updates is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
Routes
setErrcode(int errcode)
void
setErrcodeIsSet(boolean value)
void
setFieldValue(Routes._Fields field, java.lang.Object value)
Routes
setMore(int more)
void
setMoreIsSet(boolean value)
Routes
setUpdates(java.util.List<Update> updates)
void
setUpdatesIsSet(boolean value)
java.lang.String
toString()
void
unsetErrcode()
void
unsetMore()
void
unsetUpdates()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
errcode
public int errcode
-
updates
public java.util.List<Update> updates
-
more
public int more
-
metaDataMap
public static final java.util.Map<Routes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
Routes
public Routes()
-
Routes
public Routes(int errcode)
-
Routes
public Routes(Routes other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public Routes deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<Routes,Routes._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<Routes,Routes._Fields>
-
getErrcode
public int getErrcode()
-
setErrcode
public Routes setErrcode(int 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)
-
getUpdatesSize
public int getUpdatesSize()
-
getUpdatesIterator
public java.util.Iterator<Update> getUpdatesIterator()
-
addToUpdates
public void addToUpdates(Update elem)
-
getUpdates
public java.util.List<Update> getUpdates()
-
unsetUpdates
public void unsetUpdates()
-
isSetUpdates
public boolean isSetUpdates()
Returns true if field updates is set (has been assigned a value) and false otherwise
-
setUpdatesIsSet
public void setUpdatesIsSet(boolean value)
-
getMore
public int getMore()
-
setMore
public Routes setMore(int more)
-
unsetMore
public void unsetMore()
-
isSetMore
public boolean isSetMore()
Returns true if field more is set (has been assigned a value) and false otherwise
-
setMoreIsSet
public void setMoreIsSet(boolean value)
-
setFieldValue
public void setFieldValue(Routes._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<Routes,Routes._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(Routes._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<Routes,Routes._Fields>
-
isSet
public boolean isSet(Routes._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<Routes,Routes._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(Routes that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(Routes other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Routes>
-
fieldForId
public Routes._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<Routes,Routes._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<Routes,Routes._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<Routes,Routes._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
-
-