Package org.apache.iotdb.mpp.rpc.thrift
Class TSendFragmentInstanceResp
- java.lang.Object
-
- org.apache.iotdb.mpp.rpc.thrift.TSendFragmentInstanceResp
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSendFragmentInstanceResp>,org.apache.thrift.TBase<TSendFragmentInstanceResp,TSendFragmentInstanceResp._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSendFragmentInstanceResp extends Object implements org.apache.thrift.TBase<TSendFragmentInstanceResp,TSendFragmentInstanceResp._Fields>, Serializable, Cloneable, Comparable<TSendFragmentInstanceResp>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSendFragmentInstanceResp._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description booleanacceptedStringmessagestatic Map<TSendFragmentInstanceResp._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description TSendFragmentInstanceResp()TSendFragmentInstanceResp(boolean accepted)TSendFragmentInstanceResp(TSendFragmentInstanceResp other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSendFragmentInstanceResp other)TSendFragmentInstanceRespdeepCopy()booleanequals(Object that)booleanequals(TSendFragmentInstanceResp that)TSendFragmentInstanceResp._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSendFragmentInstanceResp._Fields field)StringgetMessage()inthashCode()booleanisAccepted()booleanisSet(TSendFragmentInstanceResp._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAccepted()Returns true if field accepted 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)TSendFragmentInstanceRespsetAccepted(boolean accepted)voidsetAcceptedIsSet(boolean value)voidsetFieldValue(TSendFragmentInstanceResp._Fields field, Object value)TSendFragmentInstanceRespsetMessage(String message)voidsetMessageIsSet(boolean value)StringtoString()voidunsetAccepted()voidunsetMessage()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
accepted
public boolean accepted
-
message
public String message
-
metaDataMap
public static final Map<TSendFragmentInstanceResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSendFragmentInstanceResp
public TSendFragmentInstanceResp()
-
TSendFragmentInstanceResp
public TSendFragmentInstanceResp(boolean accepted)
-
TSendFragmentInstanceResp
public TSendFragmentInstanceResp(TSendFragmentInstanceResp other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSendFragmentInstanceResp deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSendFragmentInstanceResp,TSendFragmentInstanceResp._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSendFragmentInstanceResp,TSendFragmentInstanceResp._Fields>
-
isAccepted
public boolean isAccepted()
-
setAccepted
public TSendFragmentInstanceResp setAccepted(boolean accepted)
-
unsetAccepted
public void unsetAccepted()
-
isSetAccepted
public boolean isSetAccepted()
Returns true if field accepted is set (has been assigned a value) and false otherwise
-
setAcceptedIsSet
public void setAcceptedIsSet(boolean value)
-
getMessage
public String getMessage()
-
setMessage
public TSendFragmentInstanceResp 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(TSendFragmentInstanceResp._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSendFragmentInstanceResp,TSendFragmentInstanceResp._Fields>
-
getFieldValue
public Object getFieldValue(TSendFragmentInstanceResp._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSendFragmentInstanceResp,TSendFragmentInstanceResp._Fields>
-
isSet
public boolean isSet(TSendFragmentInstanceResp._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<TSendFragmentInstanceResp,TSendFragmentInstanceResp._Fields>
-
equals
public boolean equals(TSendFragmentInstanceResp that)
-
compareTo
public int compareTo(TSendFragmentInstanceResp other)
- Specified by:
compareToin interfaceComparable<TSendFragmentInstanceResp>
-
fieldForId
public TSendFragmentInstanceResp._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSendFragmentInstanceResp,TSendFragmentInstanceResp._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
-
-