Class TEndPoint

    • Field Detail

      • port

        public int port
      • metaDataMap

        public static final Map<TEndPoint._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
    • Constructor Detail

      • TEndPoint

        public TEndPoint()
      • TEndPoint

        public TEndPoint​(String ip,
                         int port)
      • TEndPoint

        public TEndPoint​(TEndPoint other)
        Performs a deep copy on other.
    • Method Detail

      • getIp

        public String getIp()
      • unsetIp

        public void unsetIp()
      • isSetIp

        public boolean isSetIp()
        Returns true if field ip is set (has been assigned a value) and false otherwise
      • setIpIsSet

        public void setIpIsSet​(boolean value)
      • getPort

        public int getPort()
      • setPort

        public TEndPoint setPort​(int port)
      • unsetPort

        public void unsetPort()
      • isSetPort

        public boolean isSetPort()
        Returns true if field port is set (has been assigned a value) and false otherwise
      • setPortIsSet

        public void setPortIsSet​(boolean value)
      • isSet

        public boolean isSet​(TEndPoint._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<TEndPoint,​TEndPoint._Fields>
      • equals

        public boolean equals​(TEndPoint that)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

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

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