Class Status

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

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

    • metaDataMap

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

    • Status

      public Status()
    • Status

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

      public Status​(Status other)
  • Method Details

    • deepCopy

      public Status deepCopy()
    • granted

      public static Status granted​(Granted value)
    • denied

      public static Status denied​(Denied value)
    • unavailable

      public static Status unavailable​(Unavailable value)
    • checkType

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

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

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

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

      public Status._Fields[] getFields()
    • getFieldMetaData

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

      public Status._Fields fieldForId​(int fieldId)
    • getGranted

      public Granted getGranted()
    • setGranted

      public void setGranted​(Granted value)
    • getDenied

      public Denied getDenied()
    • setDenied

      public void setDenied​(Denied value)
    • getUnavailable

      public Unavailable getUnavailable()
    • setUnavailable

      public void setUnavailable​(Unavailable value)
    • isSetGranted

      public boolean isSetGranted()
    • isSetDenied

      public boolean isSetDenied()
    • isSetUnavailable

      public boolean isSetUnavailable()
    • equals

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

      public boolean equals​(Status other)
    • compareTo

      public int compareTo​(Status other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object