Class 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
    • 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

      • clear

        public void clear()
        Specified by:
        clear in interface org.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()
      • setUpdates

        public Routes setUpdates​(java.util.List<Update> updates)
      • 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 interface org.apache.thrift.TBase<Routes,​Routes._Fields>
      • getFieldValue

        public java.lang.Object getFieldValue​(Routes._Fields field)
        Specified by:
        getFieldValue in interface org.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 interface org.apache.thrift.TBase<Routes,​Routes._Fields>
      • equals

        public boolean equals​(java.lang.Object that)
        Overrides:
        equals in class java.lang.Object
      • equals

        public boolean equals​(Routes that)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo​(Routes other)
        Specified by:
        compareTo in interface java.lang.Comparable<Routes>
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.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 interface org.apache.thrift.TBase<Routes,​Routes._Fields>
        Throws:
        org.apache.thrift.TException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException