Package org.apache.iotdb.mpp.rpc.thrift
Class TCancelResp
- java.lang.Object
-
- org.apache.iotdb.mpp.rpc.thrift.TCancelResp
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TCancelResp>,org.apache.thrift.TBase<TCancelResp,TCancelResp._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TCancelResp extends Object implements org.apache.thrift.TBase<TCancelResp,TCancelResp._Fields>, Serializable, Cloneable, Comparable<TCancelResp>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTCancelResp._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description booleancancelledStringmessagestatic Map<TCancelResp._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description TCancelResp()TCancelResp(boolean cancelled)TCancelResp(TCancelResp other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TCancelResp other)TCancelRespdeepCopy()booleanequals(Object that)booleanequals(TCancelResp that)TCancelResp._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TCancelResp._Fields field)StringgetMessage()inthashCode()booleanisCancelled()booleanisSet(TCancelResp._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCancelled()Returns true if field cancelled is set (has been assigned a value) and false otherwisebooleanisSetMessage()Returns true if field message is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TCancelRespsetCancelled(boolean cancelled)voidsetCancelledIsSet(boolean value)voidsetFieldValue(TCancelResp._Fields field, Object value)TCancelRespsetMessage(String message)voidsetMessageIsSet(boolean value)StringtoString()voidunsetCancelled()voidunsetMessage()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
cancelled
public boolean cancelled
-
message
public String message
-
metaDataMap
public static final Map<TCancelResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TCancelResp
public TCancelResp()
-
TCancelResp
public TCancelResp(boolean cancelled)
-
TCancelResp
public TCancelResp(TCancelResp other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TCancelResp deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TCancelResp,TCancelResp._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TCancelResp,TCancelResp._Fields>
-
isCancelled
public boolean isCancelled()
-
setCancelled
public TCancelResp setCancelled(boolean cancelled)
-
unsetCancelled
public void unsetCancelled()
-
isSetCancelled
public boolean isSetCancelled()
Returns true if field cancelled is set (has been assigned a value) and false otherwise
-
setCancelledIsSet
public void setCancelledIsSet(boolean value)
-
getMessage
public String getMessage()
-
setMessage
public TCancelResp setMessage(String message)
-
unsetMessage
public void unsetMessage()
-
isSetMessage
public boolean isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwise
-
setMessageIsSet
public void setMessageIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TCancelResp._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TCancelResp,TCancelResp._Fields>
-
getFieldValue
public Object getFieldValue(TCancelResp._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TCancelResp,TCancelResp._Fields>
-
isSet
public boolean isSet(TCancelResp._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TCancelResp,TCancelResp._Fields>
-
equals
public boolean equals(TCancelResp that)
-
compareTo
public int compareTo(TCancelResp other)
- Specified by:
compareToin interfaceComparable<TCancelResp>
-
fieldForId
public TCancelResp._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TCancelResp,TCancelResp._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-