java.lang.Object
org.apache.thrift.TUnion<Intent,Intent._Fields>
dev.vality.damsel.withdrawals.provider_adapter.Intent
All Implemented Interfaces:
Serializable, Comparable<Intent>, org.apache.thrift.TBase<Intent,Intent._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-08-02") public class Intent extends org.apache.thrift.TUnion<Intent,Intent._Fields>
Требование адаптера к процессингу, отражающее дальнейший прогресс сессии взаимодействия с третьей стороной.
See Also:
  • Field Details

    • metaDataMap

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

  • Method Details

    • deepCopy

      public Intent deepCopy()
    • finish

      public static Intent finish(FinishIntent value)
    • sleep

      public static Intent sleep(SleepIntent value)
    • checkType

      protected void checkType(Intent._Fields setField, Object value) throws ClassCastException
      Specified by:
      checkType in class org.apache.thrift.TUnion<Intent,Intent._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<Intent,Intent._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<Intent,Intent._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<Intent,Intent._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<Intent,Intent._Fields>
      Throws:
      org.apache.thrift.TException
    • getFieldDesc

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

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

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

      public Intent._Fields[] getFields()
    • getFieldMetaData

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

      public Intent._Fields fieldForId(int fieldId)
    • getFinish

      public FinishIntent getFinish()
    • setFinish

      public void setFinish(FinishIntent value)
    • getSleep

      public SleepIntent getSleep()
    • setSleep

      public void setSleep(SleepIntent value)
    • isSetFinish

      public boolean isSetFinish()
    • isSetSleep

      public boolean isSetSleep()
    • equals

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

      public boolean equals(Intent other)
    • compareTo

      public int compareTo(Intent other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object