Class State

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

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

    • metaDataMap

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

    • State

      public State()
    • State

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

      public State​(State other)
  • Method Details

    • deepCopy

      public State deepCopy()
    • state_3dsecure

      public static State state_3dsecure​(State3DSecure value)
    • checkType

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

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

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

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

      public State._Fields[] getFields()
    • getFieldMetaData

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

      public State._Fields fieldForId​(int fieldId)
    • getState3dsecure

      public State3DSecure getState3dsecure()
    • setState3dsecure

      public void setState3dsecure​(State3DSecure value)
    • isSetState3dsecure

      public boolean isSetState3dsecure()
    • equals

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

      public boolean equals​(State other)
    • compareTo

      public int compareTo​(State other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object