Package com.uber.cadence
Class FeatureNotEnabledError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.thrift.TException
-
- com.uber.cadence.FeatureNotEnabledError
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<FeatureNotEnabledError>
,org.apache.thrift.TBase<FeatureNotEnabledError,FeatureNotEnabledError._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-05-19") public class FeatureNotEnabledError extends org.apache.thrift.TException implements org.apache.thrift.TBase<FeatureNotEnabledError,FeatureNotEnabledError._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<FeatureNotEnabledError>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FeatureNotEnabledError._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
featureFlag
static java.util.Map<FeatureNotEnabledError._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description FeatureNotEnabledError()
FeatureNotEnabledError(FeatureNotEnabledError other)
Performs a deep copy on other.FeatureNotEnabledError(java.lang.String featureFlag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(FeatureNotEnabledError other)
FeatureNotEnabledError
deepCopy()
boolean
equals(FeatureNotEnabledError that)
boolean
equals(java.lang.Object that)
FeatureNotEnabledError._Fields
fieldForId(int fieldId)
java.lang.String
getFeatureFlag()
java.lang.Object
getFieldValue(FeatureNotEnabledError._Fields field)
int
hashCode()
boolean
isSet(FeatureNotEnabledError._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetFeatureFlag()
Returns true if field featureFlag is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
FeatureNotEnabledError
setFeatureFlag(java.lang.String featureFlag)
void
setFeatureFlagIsSet(boolean value)
void
setFieldValue(FeatureNotEnabledError._Fields field, java.lang.Object value)
java.lang.String
toString()
void
unsetFeatureFlag()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
featureFlag
public java.lang.String featureFlag
-
metaDataMap
public static final java.util.Map<FeatureNotEnabledError._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
FeatureNotEnabledError
public FeatureNotEnabledError()
-
FeatureNotEnabledError
public FeatureNotEnabledError(java.lang.String featureFlag)
-
FeatureNotEnabledError
public FeatureNotEnabledError(FeatureNotEnabledError other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public FeatureNotEnabledError deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<FeatureNotEnabledError,FeatureNotEnabledError._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<FeatureNotEnabledError,FeatureNotEnabledError._Fields>
-
getFeatureFlag
public java.lang.String getFeatureFlag()
-
setFeatureFlag
public FeatureNotEnabledError setFeatureFlag(java.lang.String featureFlag)
-
unsetFeatureFlag
public void unsetFeatureFlag()
-
isSetFeatureFlag
public boolean isSetFeatureFlag()
Returns true if field featureFlag is set (has been assigned a value) and false otherwise
-
setFeatureFlagIsSet
public void setFeatureFlagIsSet(boolean value)
-
setFieldValue
public void setFieldValue(FeatureNotEnabledError._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<FeatureNotEnabledError,FeatureNotEnabledError._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(FeatureNotEnabledError._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<FeatureNotEnabledError,FeatureNotEnabledError._Fields>
-
isSet
public boolean isSet(FeatureNotEnabledError._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<FeatureNotEnabledError,FeatureNotEnabledError._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(FeatureNotEnabledError that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(FeatureNotEnabledError other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<FeatureNotEnabledError>
-
fieldForId
public FeatureNotEnabledError._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<FeatureNotEnabledError,FeatureNotEnabledError._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<FeatureNotEnabledError,FeatureNotEnabledError._Fields>
- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
- Specified by:
write
in interfaceorg.apache.thrift.TBase<FeatureNotEnabledError,FeatureNotEnabledError._Fields>
- Throws:
org.apache.thrift.TException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Throwable
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-