@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2019-01-18") 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>
Modifier and Type | Class and Description |
---|---|
static class |
HistoryBranch._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and 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 and Description |
---|
HistoryBranch() |
HistoryBranch(HistoryBranch other)
Performs a deep copy on other.
|
Modifier and Type | Method and 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 otherwise
|
boolean |
isSetAncestors()
Returns true if field ancestors is set (has been assigned a value) and false otherwise
|
boolean |
isSetBranchID()
Returns true if field branchID is set (has been assigned a value) and false otherwise
|
boolean |
isSetTreeID()
Returns true if field treeID is set (has been assigned a value) and false otherwise
|
void |
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) |
public java.lang.String treeID
public java.lang.String branchID
public java.util.List<HistoryBranchRange> ancestors
public static final java.util.Map<HistoryBranch._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public HistoryBranch()
public HistoryBranch(HistoryBranch other)
public HistoryBranch deepCopy()
deepCopy
in interface org.apache.thrift.TBase<HistoryBranch,HistoryBranch._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<HistoryBranch,HistoryBranch._Fields>
public java.lang.String getTreeID()
public HistoryBranch setTreeID(java.lang.String treeID)
public void unsetTreeID()
public boolean isSetTreeID()
public void setTreeIDIsSet(boolean value)
public java.lang.String getBranchID()
public HistoryBranch setBranchID(java.lang.String branchID)
public void unsetBranchID()
public boolean isSetBranchID()
public void setBranchIDIsSet(boolean value)
public int getAncestorsSize()
public java.util.Iterator<HistoryBranchRange> getAncestorsIterator()
public void addToAncestors(HistoryBranchRange elem)
public java.util.List<HistoryBranchRange> getAncestors()
public HistoryBranch setAncestors(java.util.List<HistoryBranchRange> ancestors)
public void unsetAncestors()
public boolean isSetAncestors()
public void setAncestorsIsSet(boolean value)
public void setFieldValue(HistoryBranch._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<HistoryBranch,HistoryBranch._Fields>
public java.lang.Object getFieldValue(HistoryBranch._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<HistoryBranch,HistoryBranch._Fields>
public boolean isSet(HistoryBranch._Fields field)
isSet
in interface org.apache.thrift.TBase<HistoryBranch,HistoryBranch._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(HistoryBranch that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(HistoryBranch other)
compareTo
in interface java.lang.Comparable<HistoryBranch>
public HistoryBranch._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<HistoryBranch,HistoryBranch._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<HistoryBranch,HistoryBranch._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<HistoryBranch,HistoryBranch._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException