Class UserType

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

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-08-02") public class UserType extends org.apache.thrift.TUnion<UserType,UserType._Fields>
See Also:
  • Field Details

    • metaDataMap

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

  • Method Details

    • deepCopy

      public UserType deepCopy()
    • internal_user

      public static UserType internal_user(InternalUser value)
    • external_user

      public static UserType external_user(ExternalUser value)
    • checkType

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

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

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

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

      public UserType._Fields[] getFields()
    • getFieldMetaData

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

      public UserType._Fields fieldForId(int fieldId)
    • getInternalUser

      public InternalUser getInternalUser()
    • setInternalUser

      public void setInternalUser(InternalUser value)
    • getExternalUser

      public ExternalUser getExternalUser()
    • setExternalUser

      public void setExternalUser(ExternalUser value)
    • isSetInternalUser

      public boolean isSetInternalUser()
    • isSetExternalUser

      public boolean isSetExternalUser()
    • equals

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

      public boolean equals(UserType other)
    • compareTo

      public int compareTo(UserType other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object