Class ClientInfo

java.lang.Object
dev.vality.damsel.domain.ClientInfo
All Implemented Interfaces:
Serializable, Cloneable, Comparable<ClientInfo>, org.apache.thrift.TBase<ClientInfo,ClientInfo._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-08-02") public class ClientInfo extends Object implements org.apache.thrift.TBase<ClientInfo,ClientInfo._Fields>, Serializable, Cloneable, Comparable<ClientInfo>
See Also:
  • Field Details

    • ip_address

      public String ip_address
    • fingerprint

      public String fingerprint
    • url

      public String url
    • peer_ip_address

      public String peer_ip_address
    • user_ip_address

      public String user_ip_address
    • metaDataMap

      public static final Map<ClientInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

    • ClientInfo

      public ClientInfo()
    • ClientInfo

      public ClientInfo(ClientInfo other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public ClientInfo deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<ClientInfo,ClientInfo._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<ClientInfo,ClientInfo._Fields>
    • getIpAddress

      public String getIpAddress()
    • setIpAddress

      public ClientInfo setIpAddress(String ip_address)
    • unsetIpAddress

      public void unsetIpAddress()
    • isSetIpAddress

      public boolean isSetIpAddress()
      Returns true if field ip_address is set (has been assigned a value) and false otherwise
    • setIpAddressIsSet

      public void setIpAddressIsSet(boolean value)
    • getFingerprint

      public String getFingerprint()
    • setFingerprint

      public ClientInfo setFingerprint(String fingerprint)
    • unsetFingerprint

      public void unsetFingerprint()
    • isSetFingerprint

      public boolean isSetFingerprint()
      Returns true if field fingerprint is set (has been assigned a value) and false otherwise
    • setFingerprintIsSet

      public void setFingerprintIsSet(boolean value)
    • getUrl

      public String getUrl()
    • setUrl

      public ClientInfo setUrl(String url)
    • unsetUrl

      public void unsetUrl()
    • isSetUrl

      public boolean isSetUrl()
      Returns true if field url is set (has been assigned a value) and false otherwise
    • setUrlIsSet

      public void setUrlIsSet(boolean value)
    • getPeerIpAddress

      public String getPeerIpAddress()
    • setPeerIpAddress

      public ClientInfo setPeerIpAddress(String peer_ip_address)
    • unsetPeerIpAddress

      public void unsetPeerIpAddress()
    • isSetPeerIpAddress

      public boolean isSetPeerIpAddress()
      Returns true if field peer_ip_address is set (has been assigned a value) and false otherwise
    • setPeerIpAddressIsSet

      public void setPeerIpAddressIsSet(boolean value)
    • getUserIpAddress

      public String getUserIpAddress()
    • setUserIpAddress

      public ClientInfo setUserIpAddress(String user_ip_address)
    • unsetUserIpAddress

      public void unsetUserIpAddress()
    • isSetUserIpAddress

      public boolean isSetUserIpAddress()
      Returns true if field user_ip_address is set (has been assigned a value) and false otherwise
    • setUserIpAddressIsSet

      public void setUserIpAddressIsSet(boolean value)
    • setFieldValue

      public void setFieldValue(ClientInfo._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<ClientInfo,ClientInfo._Fields>
    • getFieldValue

      public Object getFieldValue(ClientInfo._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<ClientInfo,ClientInfo._Fields>
    • isSet

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

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(ClientInfo that)
    • hashCode

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

      public int compareTo(ClientInfo other)
      Specified by:
      compareTo in interface Comparable<ClientInfo>
    • fieldForId

      public ClientInfo._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<ClientInfo,ClientInfo._Fields>
    • getFields

      public ClientInfo._Fields[] getFields()
      Specified by:
      getFields in interface org.apache.thrift.TBase<ClientInfo,ClientInfo._Fields>
    • getFieldMetaData

      public Map<ClientInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<ClientInfo,ClientInfo._Fields>
    • 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
    • toString

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

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