Class TSGetTimeZoneResp
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSGetTimeZoneResp
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSGetTimeZoneResp>,org.apache.thrift.TBase<TSGetTimeZoneResp,TSGetTimeZoneResp._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSGetTimeZoneResp extends Object implements org.apache.thrift.TBase<TSGetTimeZoneResp,TSGetTimeZoneResp._Fields>, Serializable, Cloneable, Comparable<TSGetTimeZoneResp>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSGetTimeZoneResp._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<TSGetTimeZoneResp._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTSStatusstatusStringtimeZone
-
Constructor Summary
Constructors Constructor Description TSGetTimeZoneResp()TSGetTimeZoneResp(TSStatus status, String timeZone)TSGetTimeZoneResp(TSGetTimeZoneResp other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSGetTimeZoneResp other)TSGetTimeZoneRespdeepCopy()booleanequals(Object that)booleanequals(TSGetTimeZoneResp that)TSGetTimeZoneResp._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSGetTimeZoneResp._Fields field)TSStatusgetStatus()StringgetTimeZone()inthashCode()booleanisSet(TSGetTimeZoneResp._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 otherwisebooleanisSetTimeZone()Returns true if field timeZone is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TSGetTimeZoneResp._Fields field, Object value)TSGetTimeZoneRespsetStatus(TSStatus status)voidsetStatusIsSet(boolean value)TSGetTimeZoneRespsetTimeZone(String timeZone)voidsetTimeZoneIsSet(boolean value)StringtoString()voidunsetStatus()voidunsetTimeZone()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
status
public TSStatus status
-
timeZone
public String timeZone
-
metaDataMap
public static final Map<TSGetTimeZoneResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSGetTimeZoneResp
public TSGetTimeZoneResp()
-
TSGetTimeZoneResp
public TSGetTimeZoneResp(TSGetTimeZoneResp other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSGetTimeZoneResp deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSGetTimeZoneResp,TSGetTimeZoneResp._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSGetTimeZoneResp,TSGetTimeZoneResp._Fields>
-
getStatus
public TSStatus getStatus()
-
setStatus
public TSGetTimeZoneResp 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)
-
getTimeZone
public String getTimeZone()
-
setTimeZone
public TSGetTimeZoneResp setTimeZone(String timeZone)
-
unsetTimeZone
public void unsetTimeZone()
-
isSetTimeZone
public boolean isSetTimeZone()
Returns true if field timeZone is set (has been assigned a value) and false otherwise
-
setTimeZoneIsSet
public void setTimeZoneIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSGetTimeZoneResp._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSGetTimeZoneResp,TSGetTimeZoneResp._Fields>
-
getFieldValue
public Object getFieldValue(TSGetTimeZoneResp._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSGetTimeZoneResp,TSGetTimeZoneResp._Fields>
-
isSet
public boolean isSet(TSGetTimeZoneResp._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<TSGetTimeZoneResp,TSGetTimeZoneResp._Fields>
-
equals
public boolean equals(TSGetTimeZoneResp that)
-
compareTo
public int compareTo(TSGetTimeZoneResp other)
- Specified by:
compareToin interfaceComparable<TSGetTimeZoneResp>
-
fieldForId
public TSGetTimeZoneResp._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSGetTimeZoneResp,TSGetTimeZoneResp._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
-
-