Package dev.vality.fistful.p2p_session
Class Result
- All Implemented Interfaces:
Serializable,Comparable<Result>,org.apache.thrift.TBase<Result,Result._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class Result
extends org.apache.thrift.TUnion<Result,Result._Fields>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResult._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<Result._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapFields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected voidcheckType(Result._Fields setField, Object value)intcompareTo(Result other)ResultdeepCopy()protected Result._FieldsenumForId(short id)booleanequals(Result other)booleanequals(Object other)static Resultfailed(ResultFailed value)Result._FieldsfieldForId(int fieldId)ResultFailedgetFailed()protected org.apache.thrift.protocol.TFieldgetFieldDesc(Result._Fields setField)Map<Result._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Result._Fields[]getFields()protected org.apache.thrift.protocol.TStructgetStructDesc()ResultSuccessgetSuccess()inthashCode()booleanisSetFailed()booleanisSetSuccess()voidsetFailed(ResultFailed value)voidsetSuccess(ResultSuccess value)protected ObjectstandardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field)protected voidstandardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)static Resultsuccess(ResultSuccess 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
-
-
Constructor Details
-
Result
public Result() -
Result
-
Result
-
-
Method Details
-
deepCopy
-
success
-
failed
-
checkType
- Specified by:
checkTypein classorg.apache.thrift.TUnion<Result,Result._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<Result,Result._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<Result,Result._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<Result,Result._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<Result,Result._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<Result,Result._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<Result,Result._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<Result,Result._Fields>
-
getFields
-
getFieldMetaData
-
fieldForId
-
getSuccess
-
setSuccess
-
getFailed
-
setFailed
-
isSetSuccess
public boolean isSetSuccess() -
isSetFailed
public boolean isSetFailed() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-