Package com.uber.cadence
Class ApplyParentClosePolicyStatus
- java.lang.Object
-
- com.uber.cadence.ApplyParentClosePolicyStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<ApplyParentClosePolicyStatus>
,org.apache.thrift.TBase<ApplyParentClosePolicyStatus,ApplyParentClosePolicyStatus._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-08-08") public class ApplyParentClosePolicyStatus extends java.lang.Object implements org.apache.thrift.TBase<ApplyParentClosePolicyStatus,ApplyParentClosePolicyStatus._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ApplyParentClosePolicyStatus>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ApplyParentClosePolicyStatus._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 boolean
completed
CrossClusterTaskFailedCause
failedCause
static java.util.Map<ApplyParentClosePolicyStatus._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description ApplyParentClosePolicyStatus()
ApplyParentClosePolicyStatus(ApplyParentClosePolicyStatus other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(ApplyParentClosePolicyStatus other)
ApplyParentClosePolicyStatus
deepCopy()
boolean
equals(ApplyParentClosePolicyStatus that)
boolean
equals(java.lang.Object that)
ApplyParentClosePolicyStatus._Fields
fieldForId(int fieldId)
CrossClusterTaskFailedCause
getFailedCause()
java.lang.Object
getFieldValue(ApplyParentClosePolicyStatus._Fields field)
int
hashCode()
boolean
isCompleted()
boolean
isSet(ApplyParentClosePolicyStatus._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetCompleted()
Returns true if field completed is set (has been assigned a value) and false otherwiseboolean
isSetFailedCause()
Returns true if field failedCause is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
ApplyParentClosePolicyStatus
setCompleted(boolean completed)
void
setCompletedIsSet(boolean value)
ApplyParentClosePolicyStatus
setFailedCause(CrossClusterTaskFailedCause failedCause)
void
setFailedCauseIsSet(boolean value)
void
setFieldValue(ApplyParentClosePolicyStatus._Fields field, java.lang.Object value)
java.lang.String
toString()
void
unsetCompleted()
void
unsetFailedCause()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
completed
public boolean completed
-
failedCause
public CrossClusterTaskFailedCause failedCause
- See Also:
CrossClusterTaskFailedCause
-
metaDataMap
public static final java.util.Map<ApplyParentClosePolicyStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ApplyParentClosePolicyStatus
public ApplyParentClosePolicyStatus()
-
ApplyParentClosePolicyStatus
public ApplyParentClosePolicyStatus(ApplyParentClosePolicyStatus other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ApplyParentClosePolicyStatus deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<ApplyParentClosePolicyStatus,ApplyParentClosePolicyStatus._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<ApplyParentClosePolicyStatus,ApplyParentClosePolicyStatus._Fields>
-
isCompleted
public boolean isCompleted()
-
setCompleted
public ApplyParentClosePolicyStatus setCompleted(boolean completed)
-
unsetCompleted
public void unsetCompleted()
-
isSetCompleted
public boolean isSetCompleted()
Returns true if field completed is set (has been assigned a value) and false otherwise
-
setCompletedIsSet
public void setCompletedIsSet(boolean value)
-
getFailedCause
public CrossClusterTaskFailedCause getFailedCause()
- See Also:
CrossClusterTaskFailedCause
-
setFailedCause
public ApplyParentClosePolicyStatus setFailedCause(CrossClusterTaskFailedCause failedCause)
- See Also:
CrossClusterTaskFailedCause
-
unsetFailedCause
public void unsetFailedCause()
-
isSetFailedCause
public boolean isSetFailedCause()
Returns true if field failedCause is set (has been assigned a value) and false otherwise
-
setFailedCauseIsSet
public void setFailedCauseIsSet(boolean value)
-
setFieldValue
public void setFieldValue(ApplyParentClosePolicyStatus._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<ApplyParentClosePolicyStatus,ApplyParentClosePolicyStatus._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(ApplyParentClosePolicyStatus._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<ApplyParentClosePolicyStatus,ApplyParentClosePolicyStatus._Fields>
-
isSet
public boolean isSet(ApplyParentClosePolicyStatus._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<ApplyParentClosePolicyStatus,ApplyParentClosePolicyStatus._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(ApplyParentClosePolicyStatus that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(ApplyParentClosePolicyStatus other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ApplyParentClosePolicyStatus>
-
fieldForId
public ApplyParentClosePolicyStatus._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<ApplyParentClosePolicyStatus,ApplyParentClosePolicyStatus._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<ApplyParentClosePolicyStatus,ApplyParentClosePolicyStatus._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<ApplyParentClosePolicyStatus,ApplyParentClosePolicyStatus._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
-
-