Package dev.vality.fistful.base
Class Resource
- All Implemented Interfaces:
Serializable,Comparable<Resource>,org.apache.thrift.TBase<Resource,Resource._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class Resource
extends org.apache.thrift.TUnion<Resource,Resource._Fields>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResource._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<Resource._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 static Resourcebank_card(ResourceBankCard value)protected voidcheckType(Resource._Fields setField, Object value)intcompareTo(Resource other)static Resourcecrypto_wallet(ResourceCryptoWallet value)ResourcedeepCopy()static Resourcedigital_wallet(ResourceDigitalWallet value)protected Resource._FieldsenumForId(short id)booleanequals(Resource other)booleanequals(Object other)Resource._FieldsfieldForId(int fieldId)static Resourcegeneric(ResourceGeneric value)ResourceBankCardgetBankCard()ResourceCryptoWalletgetCryptoWallet()ResourceDigitalWalletgetDigitalWallet()protected org.apache.thrift.protocol.TFieldgetFieldDesc(Resource._Fields setField)Map<Resource._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Resource._Fields[]getFields()ResourceGenericgetGeneric()protected org.apache.thrift.protocol.TStructgetStructDesc()inthashCode()booleanisSetBankCard()booleanisSetCryptoWallet()booleanisSetDigitalWallet()booleanisSetGeneric()voidsetBankCard(ResourceBankCard value)voidsetCryptoWallet(ResourceCryptoWallet value)voidsetDigitalWallet(ResourceDigitalWallet value)voidsetGeneric(ResourceGeneric 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
-
Resource
public Resource() -
Resource
-
Resource
-
-
Method Details
-
deepCopy
-
bank_card
-
crypto_wallet
-
digital_wallet
-
generic
-
checkType
- Specified by:
checkTypein classorg.apache.thrift.TUnion<Resource,Resource._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<Resource,Resource._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<Resource,Resource._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<Resource,Resource._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<Resource,Resource._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<Resource,Resource._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<Resource,Resource._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<Resource,Resource._Fields>
-
getFields
-
getFieldMetaData
-
fieldForId
-
getBankCard
-
setBankCard
-
getCryptoWallet
-
setCryptoWallet
-
getDigitalWallet
-
setDigitalWallet
-
getGeneric
-
setGeneric
-
isSetBankCard
public boolean isSetBankCard() -
isSetCryptoWallet
public boolean isSetCryptoWallet() -
isSetDigitalWallet
public boolean isSetDigitalWallet() -
isSetGeneric
public boolean isSetGeneric() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-