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 classRoutes._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description interrcodestatic java.util.Map<Routes._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapintmorejava.util.List<Update>updates
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToUpdates(Update elem)voidclear()intcompareTo(Routes other)RoutesdeepCopy()booleanequals(java.lang.Object that)booleanequals(Routes that)Routes._FieldsfieldForId(int fieldId)intgetErrcode()java.lang.ObjectgetFieldValue(Routes._Fields field)intgetMore()java.util.List<Update>getUpdates()java.util.Iterator<Update>getUpdatesIterator()intgetUpdatesSize()inthashCode()booleanisSet(Routes._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetErrcode()Returns true if field errcode is set (has been assigned a value) and false otherwisebooleanisSetMore()Returns true if field more is set (has been assigned a value) and false otherwisebooleanisSetUpdates()Returns true if field updates is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)RoutessetErrcode(int errcode)voidsetErrcodeIsSet(boolean value)voidsetFieldValue(Routes._Fields field, java.lang.Object value)RoutessetMore(int more)voidsetMoreIsSet(boolean value)RoutessetUpdates(java.util.List<Update> updates)voidsetUpdatesIsSet(boolean value)java.lang.StringtoString()voidunsetErrcode()voidunsetMore()voidunsetUpdates()voidvalidate()voidwrite(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:
deepCopyin interfaceorg.apache.thrift.TBase<Routes,Routes._Fields>
-
clear
public void clear()
- Specified by:
clearin 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:
setFieldValuein interfaceorg.apache.thrift.TBase<Routes,Routes._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(Routes._Fields field)
- Specified by:
getFieldValuein 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:
isSetin interfaceorg.apache.thrift.TBase<Routes,Routes._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equalsin classjava.lang.Object
-
equals
public boolean equals(Routes that)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(Routes other)
- Specified by:
compareToin interfacejava.lang.Comparable<Routes>
-
fieldForId
public Routes._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Routes,Routes._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin 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:
writein interfaceorg.apache.thrift.TBase<Routes,Routes._Fields>- Throws:
org.apache.thrift.TException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-