Class TPipeTransferReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TPipeTransferReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TPipeTransferReq>,org.apache.thrift.TBase<TPipeTransferReq,TPipeTransferReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TPipeTransferReq extends Object implements org.apache.thrift.TBase<TPipeTransferReq,TPipeTransferReq._Fields>, Serializable, Cloneable, Comparable<TPipeTransferReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTPipeTransferReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description ByteBufferbodystatic Map<TPipeTransferReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapshorttypebyteversion
-
Constructor Summary
Constructors Constructor Description TPipeTransferReq()TPipeTransferReq(byte version, short type, ByteBuffer body)TPipeTransferReq(TPipeTransferReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBufferbufferForBody()voidclear()intcompareTo(TPipeTransferReq other)TPipeTransferReqdeepCopy()booleanequals(Object that)booleanequals(TPipeTransferReq that)TPipeTransferReq._FieldsfieldForId(int fieldId)byte[]getBody()ObjectgetFieldValue(TPipeTransferReq._Fields field)shortgetType()bytegetVersion()inthashCode()booleanisSet(TPipeTransferReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetBody()Returns true if field body is set (has been assigned a value) and false otherwisebooleanisSetType()Returns true if field type is set (has been assigned a value) and false otherwisebooleanisSetVersion()Returns true if field version is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TPipeTransferReqsetBody(byte[] body)TPipeTransferReqsetBody(ByteBuffer body)voidsetBodyIsSet(boolean value)voidsetFieldValue(TPipeTransferReq._Fields field, Object value)TPipeTransferReqsetType(short type)voidsetTypeIsSet(boolean value)TPipeTransferReqsetVersion(byte version)voidsetVersionIsSet(boolean value)StringtoString()voidunsetBody()voidunsetType()voidunsetVersion()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
version
public byte version
-
type
public short type
-
body
public ByteBuffer body
-
metaDataMap
public static final Map<TPipeTransferReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TPipeTransferReq
public TPipeTransferReq()
-
TPipeTransferReq
public TPipeTransferReq(byte version, short type, ByteBuffer body)
-
TPipeTransferReq
public TPipeTransferReq(TPipeTransferReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TPipeTransferReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TPipeTransferReq,TPipeTransferReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TPipeTransferReq,TPipeTransferReq._Fields>
-
getVersion
public byte getVersion()
-
setVersion
public TPipeTransferReq setVersion(byte version)
-
unsetVersion
public void unsetVersion()
-
isSetVersion
public boolean isSetVersion()
Returns true if field version is set (has been assigned a value) and false otherwise
-
setVersionIsSet
public void setVersionIsSet(boolean value)
-
getType
public short getType()
-
setType
public TPipeTransferReq setType(short type)
-
unsetType
public void unsetType()
-
isSetType
public boolean isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
-
setTypeIsSet
public void setTypeIsSet(boolean value)
-
getBody
public byte[] getBody()
-
bufferForBody
public ByteBuffer bufferForBody()
-
setBody
public TPipeTransferReq setBody(byte[] body)
-
setBody
public TPipeTransferReq setBody(ByteBuffer body)
-
unsetBody
public void unsetBody()
-
isSetBody
public boolean isSetBody()
Returns true if field body is set (has been assigned a value) and false otherwise
-
setBodyIsSet
public void setBodyIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TPipeTransferReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TPipeTransferReq,TPipeTransferReq._Fields>
-
getFieldValue
public Object getFieldValue(TPipeTransferReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TPipeTransferReq,TPipeTransferReq._Fields>
-
isSet
public boolean isSet(TPipeTransferReq._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<TPipeTransferReq,TPipeTransferReq._Fields>
-
equals
public boolean equals(TPipeTransferReq that)
-
compareTo
public int compareTo(TPipeTransferReq other)
- Specified by:
compareToin interfaceComparable<TPipeTransferReq>
-
fieldForId
public TPipeTransferReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TPipeTransferReq,TPipeTransferReq._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
-
-