Class ValidationResponse
java.lang.Object
org.apache.thrift.TUnion<ValidationResponse,ValidationResponse._Fields>
dev.vality.damsel.fraudbusters_notificator.ValidationResponse
- All Implemented Interfaces:
Serializable,Comparable<ValidationResponse>,org.apache.thrift.TBase<ValidationResponse,ValidationResponse._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-11-14")
public class ValidationResponse
extends org.apache.thrift.TUnion<ValidationResponse,ValidationResponse._Fields>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValidationResponse._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<ValidationResponse._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapFields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
Constructors Constructor Description ValidationResponse()ValidationResponse(ValidationResponse other)ValidationResponse(ValidationResponse._Fields setField, Object value) -
Method Summary
Modifier and Type Method Description protected voidcheckType(ValidationResponse._Fields setField, Object value)intcompareTo(ValidationResponse other)ValidationResponsedeepCopy()protected ValidationResponse._FieldsenumForId(short id)booleanequals(ValidationResponse other)booleanequals(Object other)static ValidationResponseerrors(List<String> value)ValidationResponse._FieldsfieldForId(int fieldId)List<String>getErrors()protected org.apache.thrift.protocol.TFieldgetFieldDesc(ValidationResponse._Fields setField)Map<ValidationResponse._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()ValidationResponse._Fields[]getFields()StringgetResult()protected org.apache.thrift.protocol.TStructgetStructDesc()inthashCode()booleanisSetErrors()booleanisSetResult()static ValidationResponseresult(String value)voidsetErrors(List<String> value)voidsetResult(String 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
public static final Map<ValidationResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ValidationResponse
public ValidationResponse() -
ValidationResponse
-
ValidationResponse
-
-
Method Details
-
deepCopy
-
errors
-
result
-
checkType
protected void checkType(ValidationResponse._Fields setField, Object value) throws ClassCastException- Specified by:
checkTypein classorg.apache.thrift.TUnion<ValidationResponse,ValidationResponse._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<ValidationResponse,ValidationResponse._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<ValidationResponse,ValidationResponse._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<ValidationResponse,ValidationResponse._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<ValidationResponse,ValidationResponse._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<ValidationResponse,ValidationResponse._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<ValidationResponse,ValidationResponse._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<ValidationResponse,ValidationResponse._Fields>
-
getFields
-
getFieldMetaData
public Map<ValidationResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData() -
fieldForId
-
getErrors
-
setErrors
-
getResult
-
setResult
-
isSetErrors
public boolean isSetErrors() -
isSetResult
public boolean isSetResult() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-