Package com.uber.cadence
Class DomainInfo
- java.lang.Object
-
- com.uber.cadence.DomainInfo
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<DomainInfo>
,org.apache.thrift.TBase<DomainInfo,DomainInfo._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2022-12-02") public class DomainInfo extends java.lang.Object implements org.apache.thrift.TBase<DomainInfo,DomainInfo._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<DomainInfo>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DomainInfo._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.util.Map<java.lang.String,java.lang.String>
data
java.lang.String
description
static java.util.Map<DomainInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.lang.String
name
java.lang.String
ownerEmail
DomainStatus
status
java.lang.String
uuid
-
Constructor Summary
Constructors Constructor Description DomainInfo()
DomainInfo(DomainInfo other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(DomainInfo other)
DomainInfo
deepCopy()
boolean
equals(DomainInfo that)
boolean
equals(java.lang.Object that)
DomainInfo._Fields
fieldForId(int fieldId)
java.util.Map<java.lang.String,java.lang.String>
getData()
int
getDataSize()
java.lang.String
getDescription()
java.lang.Object
getFieldValue(DomainInfo._Fields field)
java.lang.String
getName()
java.lang.String
getOwnerEmail()
DomainStatus
getStatus()
java.lang.String
getUuid()
int
hashCode()
boolean
isSet(DomainInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetData()
Returns true if field data is set (has been assigned a value) and false otherwiseboolean
isSetDescription()
Returns true if field description is set (has been assigned a value) and false otherwiseboolean
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwiseboolean
isSetOwnerEmail()
Returns true if field ownerEmail is set (has been assigned a value) and false otherwiseboolean
isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwiseboolean
isSetUuid()
Returns true if field uuid is set (has been assigned a value) and false otherwisevoid
putToData(java.lang.String key, java.lang.String val)
void
read(org.apache.thrift.protocol.TProtocol iprot)
DomainInfo
setData(java.util.Map<java.lang.String,java.lang.String> data)
void
setDataIsSet(boolean value)
DomainInfo
setDescription(java.lang.String description)
void
setDescriptionIsSet(boolean value)
void
setFieldValue(DomainInfo._Fields field, java.lang.Object value)
DomainInfo
setName(java.lang.String name)
void
setNameIsSet(boolean value)
DomainInfo
setOwnerEmail(java.lang.String ownerEmail)
void
setOwnerEmailIsSet(boolean value)
DomainInfo
setStatus(DomainStatus status)
void
setStatusIsSet(boolean value)
DomainInfo
setUuid(java.lang.String uuid)
void
setUuidIsSet(boolean value)
java.lang.String
toString()
void
unsetData()
void
unsetDescription()
void
unsetName()
void
unsetOwnerEmail()
void
unsetStatus()
void
unsetUuid()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
name
public java.lang.String name
-
status
public DomainStatus status
- See Also:
DomainStatus
-
description
public java.lang.String description
-
ownerEmail
public java.lang.String ownerEmail
-
data
public java.util.Map<java.lang.String,java.lang.String> data
-
uuid
public java.lang.String uuid
-
metaDataMap
public static final java.util.Map<DomainInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
DomainInfo
public DomainInfo()
-
DomainInfo
public DomainInfo(DomainInfo other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public DomainInfo deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<DomainInfo,DomainInfo._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<DomainInfo,DomainInfo._Fields>
-
getName
public java.lang.String getName()
-
setName
public DomainInfo setName(java.lang.String name)
-
unsetName
public void unsetName()
-
isSetName
public boolean isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise
-
setNameIsSet
public void setNameIsSet(boolean value)
-
getStatus
public DomainStatus getStatus()
- See Also:
DomainStatus
-
setStatus
public DomainInfo setStatus(DomainStatus status)
- See Also:
DomainStatus
-
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)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public DomainInfo setDescription(java.lang.String description)
-
unsetDescription
public void unsetDescription()
-
isSetDescription
public boolean isSetDescription()
Returns true if field description is set (has been assigned a value) and false otherwise
-
setDescriptionIsSet
public void setDescriptionIsSet(boolean value)
-
getOwnerEmail
public java.lang.String getOwnerEmail()
-
setOwnerEmail
public DomainInfo setOwnerEmail(java.lang.String ownerEmail)
-
unsetOwnerEmail
public void unsetOwnerEmail()
-
isSetOwnerEmail
public boolean isSetOwnerEmail()
Returns true if field ownerEmail is set (has been assigned a value) and false otherwise
-
setOwnerEmailIsSet
public void setOwnerEmailIsSet(boolean value)
-
getDataSize
public int getDataSize()
-
putToData
public void putToData(java.lang.String key, java.lang.String val)
-
getData
public java.util.Map<java.lang.String,java.lang.String> getData()
-
setData
public DomainInfo setData(java.util.Map<java.lang.String,java.lang.String> data)
-
unsetData
public void unsetData()
-
isSetData
public boolean isSetData()
Returns true if field data is set (has been assigned a value) and false otherwise
-
setDataIsSet
public void setDataIsSet(boolean value)
-
getUuid
public java.lang.String getUuid()
-
setUuid
public DomainInfo setUuid(java.lang.String uuid)
-
unsetUuid
public void unsetUuid()
-
isSetUuid
public boolean isSetUuid()
Returns true if field uuid is set (has been assigned a value) and false otherwise
-
setUuidIsSet
public void setUuidIsSet(boolean value)
-
setFieldValue
public void setFieldValue(DomainInfo._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<DomainInfo,DomainInfo._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(DomainInfo._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<DomainInfo,DomainInfo._Fields>
-
isSet
public boolean isSet(DomainInfo._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<DomainInfo,DomainInfo._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(DomainInfo that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(DomainInfo other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<DomainInfo>
-
fieldForId
public DomainInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<DomainInfo,DomainInfo._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<DomainInfo,DomainInfo._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<DomainInfo,DomainInfo._Fields>
- Throws:
org.apache.thrift.TException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-