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