Package dev.vality.bouncer.decisions
Class Resolution
- All Implemented Interfaces:
Serializable,Comparable<Resolution>,org.apache.thrift.TBase<Resolution,Resolution._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-12-02")
public class Resolution
extends org.apache.thrift.TUnion<Resolution,Resolution._Fields>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResolution._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description static Map<Resolution._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapFields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
Constructors Constructor Description Resolution()Resolution(Resolution other)Resolution(Resolution._Fields setField, Object value) -
Method Summary
Modifier and Type Method Description static Resolutionallowed(ResolutionAllowed value)protected voidcheckType(Resolution._Fields setField, Object value)intcompareTo(Resolution other)ResolutiondeepCopy()protected Resolution._FieldsenumForId(short id)booleanequals(Resolution other)booleanequals(Object other)Resolution._FieldsfieldForId(int fieldId)static Resolutionforbidden(ResolutionForbidden value)ResolutionAllowedgetAllowed()protected org.apache.thrift.protocol.TFieldgetFieldDesc(Resolution._Fields setField)Map<Resolution._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Resolution._Fields[]getFields()ResolutionForbiddengetForbidden()ResolutionRestrictedgetRestricted()protected org.apache.thrift.protocol.TStructgetStructDesc()inthashCode()booleanisSetAllowed()booleanisSetForbidden()booleanisSetRestricted()static Resolutionrestricted(ResolutionRestricted value)voidsetAllowed(ResolutionAllowed value)voidsetForbidden(ResolutionForbidden value)voidsetRestricted(ResolutionRestricted value)protected ObjectstandardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field)protected voidstandardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)protected ObjecttupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID)protected voidtupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)Methods inherited from class org.apache.thrift.TUnion
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write
-
Field Details
-
metaDataMap
-
-
Constructor Details
-
Resolution
public Resolution() -
Resolution
-
Resolution
-
-
Method Details
-
deepCopy
-
allowed
-
restricted
-
forbidden
-
checkType
- Specified by:
checkTypein classorg.apache.thrift.TUnion<Resolution,Resolution._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:
standardSchemeReadValuein classorg.apache.thrift.TUnion<Resolution,Resolution._Fields>- Throws:
org.apache.thrift.TException
-
standardSchemeWriteValue
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
standardSchemeWriteValuein classorg.apache.thrift.TUnion<Resolution,Resolution._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:
tupleSchemeReadValuein classorg.apache.thrift.TUnion<Resolution,Resolution._Fields>- Throws:
org.apache.thrift.TException
-
tupleSchemeWriteValue
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
tupleSchemeWriteValuein classorg.apache.thrift.TUnion<Resolution,Resolution._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<Resolution,Resolution._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<Resolution,Resolution._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<Resolution,Resolution._Fields>
-
getFields
-
getFieldMetaData
-
fieldForId
-
getAllowed
-
setAllowed
-
getRestricted
-
setRestricted
-
getForbidden
-
setForbidden
-
isSetAllowed
public boolean isSetAllowed() -
isSetRestricted
public boolean isSetRestricted() -
isSetForbidden
public boolean isSetForbidden() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-