Package com.uber.cadence
Class DomainNotActiveError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.thrift.TException
-
- com.uber.cadence.DomainNotActiveError
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<DomainNotActiveError>
,org.apache.thrift.TBase<DomainNotActiveError,DomainNotActiveError._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2024-04-19") public class DomainNotActiveError extends org.apache.thrift.TException implements org.apache.thrift.TBase<DomainNotActiveError,DomainNotActiveError._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<DomainNotActiveError>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DomainNotActiveError._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
activeCluster
java.lang.String
currentCluster
java.lang.String
domainName
java.lang.String
message
static java.util.Map<DomainNotActiveError._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description DomainNotActiveError()
DomainNotActiveError(DomainNotActiveError other)
Performs a deep copy on other.DomainNotActiveError(java.lang.String message, java.lang.String domainName, java.lang.String currentCluster, java.lang.String activeCluster)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(DomainNotActiveError other)
DomainNotActiveError
deepCopy()
boolean
equals(DomainNotActiveError that)
boolean
equals(java.lang.Object that)
DomainNotActiveError._Fields
fieldForId(int fieldId)
java.lang.String
getActiveCluster()
java.lang.String
getCurrentCluster()
java.lang.String
getDomainName()
java.lang.Object
getFieldValue(DomainNotActiveError._Fields field)
java.lang.String
getMessage()
int
hashCode()
boolean
isSet(DomainNotActiveError._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetActiveCluster()
Returns true if field activeCluster is set (has been assigned a value) and false otherwiseboolean
isSetCurrentCluster()
Returns true if field currentCluster is set (has been assigned a value) and false otherwiseboolean
isSetDomainName()
Returns true if field domainName is set (has been assigned a value) and false otherwiseboolean
isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
DomainNotActiveError
setActiveCluster(java.lang.String activeCluster)
void
setActiveClusterIsSet(boolean value)
DomainNotActiveError
setCurrentCluster(java.lang.String currentCluster)
void
setCurrentClusterIsSet(boolean value)
DomainNotActiveError
setDomainName(java.lang.String domainName)
void
setDomainNameIsSet(boolean value)
void
setFieldValue(DomainNotActiveError._Fields field, java.lang.Object value)
DomainNotActiveError
setMessage(java.lang.String message)
void
setMessageIsSet(boolean value)
java.lang.String
toString()
void
unsetActiveCluster()
void
unsetCurrentCluster()
void
unsetDomainName()
void
unsetMessage()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
message
public java.lang.String message
-
domainName
public java.lang.String domainName
-
currentCluster
public java.lang.String currentCluster
-
activeCluster
public java.lang.String activeCluster
-
metaDataMap
public static final java.util.Map<DomainNotActiveError._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
DomainNotActiveError
public DomainNotActiveError()
-
DomainNotActiveError
public DomainNotActiveError(java.lang.String message, java.lang.String domainName, java.lang.String currentCluster, java.lang.String activeCluster)
-
DomainNotActiveError
public DomainNotActiveError(DomainNotActiveError other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public DomainNotActiveError deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<DomainNotActiveError,DomainNotActiveError._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<DomainNotActiveError,DomainNotActiveError._Fields>
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
setMessage
public DomainNotActiveError setMessage(java.lang.String message)
-
unsetMessage
public void unsetMessage()
-
isSetMessage
public boolean isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwise
-
setMessageIsSet
public void setMessageIsSet(boolean value)
-
getDomainName
public java.lang.String getDomainName()
-
setDomainName
public DomainNotActiveError setDomainName(java.lang.String domainName)
-
unsetDomainName
public void unsetDomainName()
-
isSetDomainName
public boolean isSetDomainName()
Returns true if field domainName is set (has been assigned a value) and false otherwise
-
setDomainNameIsSet
public void setDomainNameIsSet(boolean value)
-
getCurrentCluster
public java.lang.String getCurrentCluster()
-
setCurrentCluster
public DomainNotActiveError setCurrentCluster(java.lang.String currentCluster)
-
unsetCurrentCluster
public void unsetCurrentCluster()
-
isSetCurrentCluster
public boolean isSetCurrentCluster()
Returns true if field currentCluster is set (has been assigned a value) and false otherwise
-
setCurrentClusterIsSet
public void setCurrentClusterIsSet(boolean value)
-
getActiveCluster
public java.lang.String getActiveCluster()
-
setActiveCluster
public DomainNotActiveError setActiveCluster(java.lang.String activeCluster)
-
unsetActiveCluster
public void unsetActiveCluster()
-
isSetActiveCluster
public boolean isSetActiveCluster()
Returns true if field activeCluster is set (has been assigned a value) and false otherwise
-
setActiveClusterIsSet
public void setActiveClusterIsSet(boolean value)
-
setFieldValue
public void setFieldValue(DomainNotActiveError._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<DomainNotActiveError,DomainNotActiveError._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(DomainNotActiveError._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<DomainNotActiveError,DomainNotActiveError._Fields>
-
isSet
public boolean isSet(DomainNotActiveError._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<DomainNotActiveError,DomainNotActiveError._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(DomainNotActiveError that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(DomainNotActiveError other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<DomainNotActiveError>
-
fieldForId
public DomainNotActiveError._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<DomainNotActiveError,DomainNotActiveError._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<DomainNotActiveError,DomainNotActiveError._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<DomainNotActiveError,DomainNotActiveError._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
-
-