Package com.uber.cadence
Class HistoryBranch
- java.lang.Object
-
- com.uber.cadence.HistoryBranch
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<HistoryBranch>
,org.apache.thrift.TBase<HistoryBranch,HistoryBranch._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-01-06") public class HistoryBranch extends java.lang.Object implements org.apache.thrift.TBase<HistoryBranch,HistoryBranch._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<HistoryBranch>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HistoryBranch._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.List<HistoryBranchRange>
ancestors
java.lang.String
branchID
static java.util.Map<HistoryBranch._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.lang.String
treeID
-
Constructor Summary
Constructors Constructor Description HistoryBranch()
HistoryBranch(HistoryBranch other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToAncestors(HistoryBranchRange elem)
void
clear()
int
compareTo(HistoryBranch other)
HistoryBranch
deepCopy()
boolean
equals(HistoryBranch that)
boolean
equals(java.lang.Object that)
HistoryBranch._Fields
fieldForId(int fieldId)
java.util.List<HistoryBranchRange>
getAncestors()
java.util.Iterator<HistoryBranchRange>
getAncestorsIterator()
int
getAncestorsSize()
java.lang.String
getBranchID()
java.lang.Object
getFieldValue(HistoryBranch._Fields field)
java.lang.String
getTreeID()
int
hashCode()
boolean
isSet(HistoryBranch._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetAncestors()
Returns true if field ancestors is set (has been assigned a value) and false otherwiseboolean
isSetBranchID()
Returns true if field branchID is set (has been assigned a value) and false otherwiseboolean
isSetTreeID()
Returns true if field treeID is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
HistoryBranch
setAncestors(java.util.List<HistoryBranchRange> ancestors)
void
setAncestorsIsSet(boolean value)
HistoryBranch
setBranchID(java.lang.String branchID)
void
setBranchIDIsSet(boolean value)
void
setFieldValue(HistoryBranch._Fields field, java.lang.Object value)
HistoryBranch
setTreeID(java.lang.String treeID)
void
setTreeIDIsSet(boolean value)
java.lang.String
toString()
void
unsetAncestors()
void
unsetBranchID()
void
unsetTreeID()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
treeID
public java.lang.String treeID
-
branchID
public java.lang.String branchID
-
ancestors
public java.util.List<HistoryBranchRange> ancestors
-
metaDataMap
public static final java.util.Map<HistoryBranch._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
HistoryBranch
public HistoryBranch()
-
HistoryBranch
public HistoryBranch(HistoryBranch other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public HistoryBranch deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<HistoryBranch,HistoryBranch._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<HistoryBranch,HistoryBranch._Fields>
-
getTreeID
public java.lang.String getTreeID()
-
setTreeID
public HistoryBranch setTreeID(java.lang.String treeID)
-
unsetTreeID
public void unsetTreeID()
-
isSetTreeID
public boolean isSetTreeID()
Returns true if field treeID is set (has been assigned a value) and false otherwise
-
setTreeIDIsSet
public void setTreeIDIsSet(boolean value)
-
getBranchID
public java.lang.String getBranchID()
-
setBranchID
public HistoryBranch setBranchID(java.lang.String branchID)
-
unsetBranchID
public void unsetBranchID()
-
isSetBranchID
public boolean isSetBranchID()
Returns true if field branchID is set (has been assigned a value) and false otherwise
-
setBranchIDIsSet
public void setBranchIDIsSet(boolean value)
-
getAncestorsSize
public int getAncestorsSize()
-
getAncestorsIterator
public java.util.Iterator<HistoryBranchRange> getAncestorsIterator()
-
addToAncestors
public void addToAncestors(HistoryBranchRange elem)
-
getAncestors
public java.util.List<HistoryBranchRange> getAncestors()
-
setAncestors
public HistoryBranch setAncestors(java.util.List<HistoryBranchRange> ancestors)
-
unsetAncestors
public void unsetAncestors()
-
isSetAncestors
public boolean isSetAncestors()
Returns true if field ancestors is set (has been assigned a value) and false otherwise
-
setAncestorsIsSet
public void setAncestorsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(HistoryBranch._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<HistoryBranch,HistoryBranch._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(HistoryBranch._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<HistoryBranch,HistoryBranch._Fields>
-
isSet
public boolean isSet(HistoryBranch._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<HistoryBranch,HistoryBranch._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(HistoryBranch that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(HistoryBranch other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<HistoryBranch>
-
fieldForId
public HistoryBranch._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<HistoryBranch,HistoryBranch._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<HistoryBranch,HistoryBranch._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<HistoryBranch,HistoryBranch._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
-
-