Class TLicenseContentResp
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TLicenseContentResp
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TLicenseContentResp>,org.apache.thrift.TBase<TLicenseContentResp,TLicenseContentResp._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TLicenseContentResp extends Object implements org.apache.thrift.TBase<TLicenseContentResp,TLicenseContentResp._Fields>, Serializable, Cloneable, Comparable<TLicenseContentResp>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTLicenseContentResp._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TLicenselicenseContentstatic Map<TLicenseContentResp._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTSStatusstatus
-
Constructor Summary
Constructors Constructor Description TLicenseContentResp()TLicenseContentResp(TSStatus status)TLicenseContentResp(TLicenseContentResp other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TLicenseContentResp other)TLicenseContentRespdeepCopy()booleanequals(Object that)booleanequals(TLicenseContentResp that)TLicenseContentResp._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TLicenseContentResp._Fields field)TLicensegetLicenseContent()TSStatusgetStatus()inthashCode()booleanisSet(TLicenseContentResp._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetLicenseContent()Returns true if field licenseContent is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TLicenseContentResp._Fields field, Object value)TLicenseContentRespsetLicenseContent(TLicense licenseContent)voidsetLicenseContentIsSet(boolean value)TLicenseContentRespsetStatus(TSStatus status)voidsetStatusIsSet(boolean value)StringtoString()voidunsetLicenseContent()voidunsetStatus()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
status
public TSStatus status
-
licenseContent
public TLicense licenseContent
-
metaDataMap
public static final Map<TLicenseContentResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TLicenseContentResp
public TLicenseContentResp()
-
TLicenseContentResp
public TLicenseContentResp(TSStatus status)
-
TLicenseContentResp
public TLicenseContentResp(TLicenseContentResp other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TLicenseContentResp deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TLicenseContentResp,TLicenseContentResp._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TLicenseContentResp,TLicenseContentResp._Fields>
-
getStatus
public TSStatus getStatus()
-
setStatus
public TLicenseContentResp 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)
-
getLicenseContent
public TLicense getLicenseContent()
-
setLicenseContent
public TLicenseContentResp setLicenseContent(TLicense licenseContent)
-
unsetLicenseContent
public void unsetLicenseContent()
-
isSetLicenseContent
public boolean isSetLicenseContent()
Returns true if field licenseContent is set (has been assigned a value) and false otherwise
-
setLicenseContentIsSet
public void setLicenseContentIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TLicenseContentResp._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TLicenseContentResp,TLicenseContentResp._Fields>
-
getFieldValue
public Object getFieldValue(TLicenseContentResp._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TLicenseContentResp,TLicenseContentResp._Fields>
-
isSet
public boolean isSet(TLicenseContentResp._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<TLicenseContentResp,TLicenseContentResp._Fields>
-
equals
public boolean equals(TLicenseContentResp that)
-
compareTo
public int compareTo(TLicenseContentResp other)
- Specified by:
compareToin interfaceComparable<TLicenseContentResp>
-
fieldForId
public TLicenseContentResp._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TLicenseContentResp,TLicenseContentResp._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
-
-