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