Package dev.vality.fistful.p2p.status
Class 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-06-27")
public class Status
extends org.apache.thrift.TUnion<Status,Status._Fields>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatus._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<Status._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(Status._Fields setField, Object value)intcompareTo(Status other)StatusdeepCopy()protected Status._FieldsenumForId(short id)booleanequals(Status other)booleanequals(Object other)static Statusfailed(Failed value)Status._FieldsfieldForId(int fieldId)FailedgetFailed()protected org.apache.thrift.protocol.TFieldgetFieldDesc(Status._Fields setField)Map<Status._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Status._Fields[]getFields()PendinggetPending()protected org.apache.thrift.protocol.TStructgetStructDesc()SucceededgetSucceeded()inthashCode()booleanisSetFailed()booleanisSetPending()booleanisSetSucceeded()static Statuspending(Pending value)voidsetFailed(Failed value)voidsetPending(Pending value)voidsetSucceeded(Succeeded value)protected ObjectstandardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field)protected voidstandardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)static Statussucceeded(Succeeded 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
-
Status
public Status() -
Status
-
Status
-
-
Method Details
-
deepCopy
-
pending
-
succeeded
-
failed
-
checkType
- Specified by:
checkTypein classorg.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:
standardSchemeReadValuein classorg.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:
standardSchemeWriteValuein classorg.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:
tupleSchemeReadValuein classorg.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:
tupleSchemeWriteValuein classorg.apache.thrift.TUnion<Status,Status._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<Status,Status._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<Status,Status._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<Status,Status._Fields>
-
getFields
-
getFieldMetaData
-
fieldForId
-
getPending
-
setPending
-
getSucceeded
-
setSucceeded
-
getFailed
-
setFailed
-
isSetPending
public boolean isSetPending() -
isSetSucceeded
public boolean isSetSucceeded() -
isSetFailed
public boolean isSetFailed() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-