Package dev.vality.damsel.domain
Class Lifetime
- All Implemented Interfaces:
Serializable,Comparable<Lifetime>,org.apache.thrift.TBase<Lifetime,Lifetime._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class Lifetime
extends org.apache.thrift.TUnion<Lifetime,Lifetime._Fields>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLifetime._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<Lifetime._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(Lifetime._Fields setField, Object value)intcompareTo(Lifetime other)LifetimedeepCopy()protected Lifetime._FieldsenumForId(short id)booleanequals(Lifetime other)booleanequals(Object other)Lifetime._FieldsfieldForId(int fieldId)protected org.apache.thrift.protocol.TFieldgetFieldDesc(Lifetime._Fields setField)Map<Lifetime._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Lifetime._Fields[]getFields()LifetimeIntervalgetInterval()protected org.apache.thrift.protocol.TStructgetStructDesc()StringgetTimestamp()inthashCode()static Lifetimeinterval(LifetimeInterval value)booleanisSetInterval()booleanisSetTimestamp()voidsetInterval(LifetimeInterval value)voidsetTimestamp(String value)protected ObjectstandardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field)protected voidstandardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)static Lifetimetimestamp(String 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
-
Lifetime
public Lifetime() -
Lifetime
-
Lifetime
-
-
Method Details
-
deepCopy
-
timestamp
-
interval
-
checkType
- Specified by:
checkTypein classorg.apache.thrift.TUnion<Lifetime,Lifetime._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<Lifetime,Lifetime._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<Lifetime,Lifetime._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<Lifetime,Lifetime._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<Lifetime,Lifetime._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<Lifetime,Lifetime._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<Lifetime,Lifetime._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<Lifetime,Lifetime._Fields>
-
getFields
-
getFieldMetaData
-
fieldForId
-
getTimestamp
-
setTimestamp
-
getInterval
-
setInterval
-
isSetTimestamp
public boolean isSetTimestamp() -
isSetInterval
public boolean isSetInterval() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-