Class TGetAllTemplatesResp
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TGetAllTemplatesResp
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TGetAllTemplatesResp>,org.apache.thrift.TBase<TGetAllTemplatesResp,TGetAllTemplatesResp._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TGetAllTemplatesResp extends Object implements org.apache.thrift.TBase<TGetAllTemplatesResp,TGetAllTemplatesResp._Fields>, Serializable, Cloneable, Comparable<TGetAllTemplatesResp>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTGetAllTemplatesResp._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<TGetAllTemplatesResp._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTSStatusstatusList<ByteBuffer>templateList
-
Constructor Summary
Constructors Constructor Description TGetAllTemplatesResp()TGetAllTemplatesResp(TSStatus status)TGetAllTemplatesResp(TGetAllTemplatesResp other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToTemplateList(ByteBuffer elem)voidclear()intcompareTo(TGetAllTemplatesResp other)TGetAllTemplatesRespdeepCopy()booleanequals(Object that)booleanequals(TGetAllTemplatesResp that)TGetAllTemplatesResp._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TGetAllTemplatesResp._Fields field)TSStatusgetStatus()List<ByteBuffer>getTemplateList()Iterator<ByteBuffer>getTemplateListIterator()intgetTemplateListSize()inthashCode()booleanisSet(TGetAllTemplatesResp._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisebooleanisSetTemplateList()Returns true if field templateList is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TGetAllTemplatesResp._Fields field, Object value)TGetAllTemplatesRespsetStatus(TSStatus status)voidsetStatusIsSet(boolean value)TGetAllTemplatesRespsetTemplateList(List<ByteBuffer> templateList)voidsetTemplateListIsSet(boolean value)StringtoString()voidunsetStatus()voidunsetTemplateList()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
status
public TSStatus status
-
templateList
public List<ByteBuffer> templateList
-
metaDataMap
public static final Map<TGetAllTemplatesResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TGetAllTemplatesResp
public TGetAllTemplatesResp()
-
TGetAllTemplatesResp
public TGetAllTemplatesResp(TSStatus status)
-
TGetAllTemplatesResp
public TGetAllTemplatesResp(TGetAllTemplatesResp other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TGetAllTemplatesResp deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TGetAllTemplatesResp,TGetAllTemplatesResp._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TGetAllTemplatesResp,TGetAllTemplatesResp._Fields>
-
getStatus
public TSStatus getStatus()
-
setStatus
public TGetAllTemplatesResp setStatus(TSStatus status)
-
unsetStatus
public void unsetStatus()
-
isSetStatus
public boolean isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwise
-
setStatusIsSet
public void setStatusIsSet(boolean value)
-
getTemplateListSize
public int getTemplateListSize()
-
getTemplateListIterator
public Iterator<ByteBuffer> getTemplateListIterator()
-
addToTemplateList
public void addToTemplateList(ByteBuffer elem)
-
getTemplateList
public List<ByteBuffer> getTemplateList()
-
setTemplateList
public TGetAllTemplatesResp setTemplateList(List<ByteBuffer> templateList)
-
unsetTemplateList
public void unsetTemplateList()
-
isSetTemplateList
public boolean isSetTemplateList()
Returns true if field templateList is set (has been assigned a value) and false otherwise
-
setTemplateListIsSet
public void setTemplateListIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TGetAllTemplatesResp._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TGetAllTemplatesResp,TGetAllTemplatesResp._Fields>
-
getFieldValue
public Object getFieldValue(TGetAllTemplatesResp._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TGetAllTemplatesResp,TGetAllTemplatesResp._Fields>
-
isSet
public boolean isSet(TGetAllTemplatesResp._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<TGetAllTemplatesResp,TGetAllTemplatesResp._Fields>
-
equals
public boolean equals(TGetAllTemplatesResp that)
-
compareTo
public int compareTo(TGetAllTemplatesResp other)
- Specified by:
compareToin interfaceComparable<TGetAllTemplatesResp>
-
fieldForId
public TGetAllTemplatesResp._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TGetAllTemplatesResp,TGetAllTemplatesResp._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
-
-