@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2017-09-13") public class Routes extends Object implements org.apache.thrift.TBase<Routes,Routes._Fields>, Serializable, Cloneable, Comparable<Routes>
Modifier and Type | Class and Description |
---|---|
static class |
Routes._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
int |
errcode |
static Map<Routes._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
more |
List<Update> |
updates |
Constructor and Description |
---|
Routes() |
Routes(int errcode) |
Routes(Routes other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToUpdates(Update elem) |
void |
clear() |
int |
compareTo(Routes other) |
Routes |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(Routes that) |
Routes._Fields |
fieldForId(int fieldId) |
int |
getErrcode() |
Object |
getFieldValue(Routes._Fields field) |
int |
getMore() |
List<Update> |
getUpdates() |
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 otherwise
|
boolean |
isSetErrcode()
Returns true if field errcode is set (has been assigned a value) and false otherwise
|
boolean |
isSetMore()
Returns true if field more is set (has been assigned a value) and false otherwise
|
boolean |
isSetUpdates()
Returns true if field updates is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Routes |
setErrcode(int errcode) |
void |
setErrcodeIsSet(boolean value) |
void |
setFieldValue(Routes._Fields field,
Object value) |
Routes |
setMore(int more) |
void |
setMoreIsSet(boolean value) |
Routes |
setUpdates(List<Update> updates) |
void |
setUpdatesIsSet(boolean value) |
String |
toString() |
void |
unsetErrcode() |
void |
unsetMore() |
void |
unsetUpdates() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int errcode
public int more
public static final Map<Routes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Routes()
public Routes(int errcode)
public Routes(Routes other)
public Routes deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Routes,Routes._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Routes,Routes._Fields>
public int getErrcode()
public Routes setErrcode(int errcode)
public void unsetErrcode()
public boolean isSetErrcode()
public void setErrcodeIsSet(boolean value)
public int getUpdatesSize()
public void addToUpdates(Update elem)
public void unsetUpdates()
public boolean isSetUpdates()
public void setUpdatesIsSet(boolean value)
public int getMore()
public Routes setMore(int more)
public void unsetMore()
public boolean isSetMore()
public void setMoreIsSet(boolean value)
public void setFieldValue(Routes._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Routes,Routes._Fields>
public Object getFieldValue(Routes._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Routes,Routes._Fields>
public boolean isSet(Routes._Fields field)
isSet
in interface org.apache.thrift.TBase<Routes,Routes._Fields>
public boolean equals(Routes that)
public int compareTo(Routes other)
compareTo
in interface Comparable<Routes>
public Routes._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Routes,Routes._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Routes,Routes._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<Routes,Routes._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 OpenDaylight. All rights reserved.