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