Class CommentModification
java.lang.Object
org.apache.thrift.TUnion<CommentModification,CommentModification._Fields>
dev.vality.damsel.claim_management.CommentModification
- All Implemented Interfaces:
Serializable,Comparable<CommentModification>,org.apache.thrift.TBase<CommentModification,CommentModification._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class CommentModification
extends org.apache.thrift.TUnion<CommentModification,CommentModification._Fields>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommentModification._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<CommentModification._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapFields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
Constructors Constructor Description CommentModification()CommentModification(CommentModification other)CommentModification(CommentModification._Fields setField, Object value) -
Method Summary
Modifier and Type Method Description static CommentModificationchanged(CommentChanged value)protected voidcheckType(CommentModification._Fields setField, Object value)intcompareTo(CommentModification other)static CommentModificationcreation(CommentCreated value)CommentModificationdeepCopy()static CommentModificationdeletion(CommentDeleted value)protected CommentModification._FieldsenumForId(short id)booleanequals(CommentModification other)booleanequals(Object other)CommentModification._FieldsfieldForId(int fieldId)CommentChangedgetChanged()CommentCreatedgetCreation()CommentDeletedgetDeletion()protected org.apache.thrift.protocol.TFieldgetFieldDesc(CommentModification._Fields setField)Map<CommentModification._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()CommentModification._Fields[]getFields()protected org.apache.thrift.protocol.TStructgetStructDesc()inthashCode()booleanisSetChanged()booleanisSetCreation()booleanisSetDeletion()voidsetChanged(CommentChanged value)voidsetCreation(CommentCreated value)voidsetDeletion(CommentDeleted 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
public static final Map<CommentModification._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
CommentModification
public CommentModification() -
CommentModification
-
CommentModification
-
-
Method Details
-
deepCopy
-
creation
-
deletion
-
changed
-
checkType
protected void checkType(CommentModification._Fields setField, Object value) throws ClassCastException- Specified by:
checkTypein classorg.apache.thrift.TUnion<CommentModification,CommentModification._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<CommentModification,CommentModification._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<CommentModification,CommentModification._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<CommentModification,CommentModification._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<CommentModification,CommentModification._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<CommentModification,CommentModification._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<CommentModification,CommentModification._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<CommentModification,CommentModification._Fields>
-
getFields
-
getFieldMetaData
public Map<CommentModification._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData() -
fieldForId
-
getCreation
-
setCreation
-
getDeletion
-
setDeletion
-
getChanged
-
setChanged
-
isSetCreation
public boolean isSetCreation() -
isSetDeletion
public boolean isSetDeletion() -
isSetChanged
public boolean isSetChanged() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-