Class SessionResult
java.lang.Object
org.apache.thrift.TUnion<SessionResult,SessionResult._Fields>
dev.vality.damsel.payment_processing.SessionResult
- All Implemented Interfaces:
Serializable,Comparable<SessionResult>,org.apache.thrift.TBase<SessionResult,SessionResult._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class SessionResult
extends org.apache.thrift.TUnion<SessionResult,SessionResult._Fields>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSessionResult._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<SessionResult._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapFields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
Constructors Constructor Description SessionResult()SessionResult(SessionResult other)SessionResult(SessionResult._Fields setField, Object value) -
Method Summary
Modifier and Type Method Description protected voidcheckType(SessionResult._Fields setField, Object value)intcompareTo(SessionResult other)SessionResultdeepCopy()protected SessionResult._FieldsenumForId(short id)booleanequals(SessionResult other)booleanequals(Object other)static SessionResultfailed(SessionFailed value)SessionResult._FieldsfieldForId(int fieldId)SessionFailedgetFailed()protected org.apache.thrift.protocol.TFieldgetFieldDesc(SessionResult._Fields setField)Map<SessionResult._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()SessionResult._Fields[]getFields()protected org.apache.thrift.protocol.TStructgetStructDesc()SessionSucceededgetSucceeded()inthashCode()booleanisSetFailed()booleanisSetSucceeded()voidsetFailed(SessionFailed value)voidsetSucceeded(SessionSucceeded value)protected ObjectstandardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field)protected voidstandardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)static SessionResultsucceeded(SessionSucceeded value)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<SessionResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
SessionResult
public SessionResult() -
SessionResult
-
SessionResult
-
-
Method Details
-
deepCopy
-
succeeded
-
failed
-
checkType
- Specified by:
checkTypein classorg.apache.thrift.TUnion<SessionResult,SessionResult._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<SessionResult,SessionResult._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<SessionResult,SessionResult._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<SessionResult,SessionResult._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<SessionResult,SessionResult._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<SessionResult,SessionResult._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<SessionResult,SessionResult._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<SessionResult,SessionResult._Fields>
-
getFields
-
getFieldMetaData
-
fieldForId
-
getSucceeded
-
setSucceeded
-
getFailed
-
setFailed
-
isSetSucceeded
public boolean isSetSucceeded() -
isSetFailed
public boolean isSetFailed() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-