Class IdInfo

java.lang.Object
org.apache.thrift.TUnion<IdInfo,​IdInfo._Fields>
dev.vality.damsel.wb_list.IdInfo
All Implemented Interfaces:
Serializable, Comparable<IdInfo>, org.apache.thrift.TBase<IdInfo,​IdInfo._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
           date="2022-01-12")
public class IdInfo
extends org.apache.thrift.TUnion<IdInfo,​IdInfo._Fields>
See Also:
Serialized Form
  • Field Details

    • metaDataMap

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

    • IdInfo

      public IdInfo()
    • IdInfo

      public IdInfo​(IdInfo._Fields setField, Object value)
    • IdInfo

      public IdInfo​(IdInfo other)
  • Method Details

    • deepCopy

      public IdInfo deepCopy()
    • payment_id

      public static IdInfo payment_id​(PaymentId value)
    • p2p_id

      public static IdInfo p2p_id​(P2pId value)
    • checkType

      protected void checkType​(IdInfo._Fields setField, Object value) throws ClassCastException
      Specified by:
      checkType in class org.apache.thrift.TUnion<IdInfo,​IdInfo._Fields>
      Throws:
      ClassCastException
    • standardSchemeReadValue

      protected Object standardSchemeReadValue​(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException
      Specified by:
      standardSchemeReadValue in class org.apache.thrift.TUnion<IdInfo,​IdInfo._Fields>
      Throws:
      org.apache.thrift.TException
    • standardSchemeWriteValue

      protected void standardSchemeWriteValue​(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      standardSchemeWriteValue in class org.apache.thrift.TUnion<IdInfo,​IdInfo._Fields>
      Throws:
      org.apache.thrift.TException
    • tupleSchemeReadValue

      protected Object tupleSchemeReadValue​(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException
      Specified by:
      tupleSchemeReadValue in class org.apache.thrift.TUnion<IdInfo,​IdInfo._Fields>
      Throws:
      org.apache.thrift.TException
    • tupleSchemeWriteValue

      protected void tupleSchemeWriteValue​(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      tupleSchemeWriteValue in class org.apache.thrift.TUnion<IdInfo,​IdInfo._Fields>
      Throws:
      org.apache.thrift.TException
    • getFieldDesc

      protected org.apache.thrift.protocol.TField getFieldDesc​(IdInfo._Fields setField)
      Specified by:
      getFieldDesc in class org.apache.thrift.TUnion<IdInfo,​IdInfo._Fields>
    • getStructDesc

      protected org.apache.thrift.protocol.TStruct getStructDesc()
      Specified by:
      getStructDesc in class org.apache.thrift.TUnion<IdInfo,​IdInfo._Fields>
    • enumForId

      protected IdInfo._Fields enumForId​(short id)
      Specified by:
      enumForId in class org.apache.thrift.TUnion<IdInfo,​IdInfo._Fields>
    • getFields

      public IdInfo._Fields[] getFields()
    • getFieldMetaData

      public Map<IdInfo._Fields,​org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
    • fieldForId

      public IdInfo._Fields fieldForId​(int fieldId)
    • getPaymentId

      public PaymentId getPaymentId()
    • setPaymentId

      public void setPaymentId​(PaymentId value)
    • getP2pId

      public P2pId getP2pId()
    • setP2pId

      public void setP2pId​(P2pId value)
    • isSetPaymentId

      public boolean isSetPaymentId()
    • isSetP2pId

      public boolean isSetP2pId()
    • equals

      public boolean equals​(Object other)
      Overrides:
      equals in class Object
    • equals

      public boolean equals​(IdInfo other)
    • compareTo

      public int compareTo​(IdInfo other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object