Package com.uber.cadence
Class VersionHistory
- java.lang.Object
-
- com.uber.cadence.VersionHistory
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<VersionHistory>
,org.apache.thrift.TBase<VersionHistory,VersionHistory._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-08-08") public class VersionHistory extends java.lang.Object implements org.apache.thrift.TBase<VersionHistory,VersionHistory._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<VersionHistory>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VersionHistory._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.nio.ByteBuffer
branchToken
java.util.List<VersionHistoryItem>
items
static java.util.Map<VersionHistory._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description VersionHistory()
VersionHistory(VersionHistory other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToItems(VersionHistoryItem elem)
java.nio.ByteBuffer
bufferForBranchToken()
void
clear()
int
compareTo(VersionHistory other)
VersionHistory
deepCopy()
boolean
equals(VersionHistory that)
boolean
equals(java.lang.Object that)
VersionHistory._Fields
fieldForId(int fieldId)
byte[]
getBranchToken()
java.lang.Object
getFieldValue(VersionHistory._Fields field)
java.util.List<VersionHistoryItem>
getItems()
java.util.Iterator<VersionHistoryItem>
getItemsIterator()
int
getItemsSize()
int
hashCode()
boolean
isSet(VersionHistory._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetBranchToken()
Returns true if field branchToken is set (has been assigned a value) and false otherwiseboolean
isSetItems()
Returns true if field items is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
VersionHistory
setBranchToken(byte[] branchToken)
VersionHistory
setBranchToken(java.nio.ByteBuffer branchToken)
void
setBranchTokenIsSet(boolean value)
void
setFieldValue(VersionHistory._Fields field, java.lang.Object value)
VersionHistory
setItems(java.util.List<VersionHistoryItem> items)
void
setItemsIsSet(boolean value)
java.lang.String
toString()
void
unsetBranchToken()
void
unsetItems()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
branchToken
public java.nio.ByteBuffer branchToken
-
items
public java.util.List<VersionHistoryItem> items
-
metaDataMap
public static final java.util.Map<VersionHistory._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
VersionHistory
public VersionHistory()
-
VersionHistory
public VersionHistory(VersionHistory other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public VersionHistory deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<VersionHistory,VersionHistory._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<VersionHistory,VersionHistory._Fields>
-
getBranchToken
public byte[] getBranchToken()
-
bufferForBranchToken
public java.nio.ByteBuffer bufferForBranchToken()
-
setBranchToken
public VersionHistory setBranchToken(byte[] branchToken)
-
setBranchToken
public VersionHistory setBranchToken(java.nio.ByteBuffer branchToken)
-
unsetBranchToken
public void unsetBranchToken()
-
isSetBranchToken
public boolean isSetBranchToken()
Returns true if field branchToken is set (has been assigned a value) and false otherwise
-
setBranchTokenIsSet
public void setBranchTokenIsSet(boolean value)
-
getItemsSize
public int getItemsSize()
-
getItemsIterator
public java.util.Iterator<VersionHistoryItem> getItemsIterator()
-
addToItems
public void addToItems(VersionHistoryItem elem)
-
getItems
public java.util.List<VersionHistoryItem> getItems()
-
setItems
public VersionHistory setItems(java.util.List<VersionHistoryItem> items)
-
unsetItems
public void unsetItems()
-
isSetItems
public boolean isSetItems()
Returns true if field items is set (has been assigned a value) and false otherwise
-
setItemsIsSet
public void setItemsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(VersionHistory._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<VersionHistory,VersionHistory._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(VersionHistory._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<VersionHistory,VersionHistory._Fields>
-
isSet
public boolean isSet(VersionHistory._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<VersionHistory,VersionHistory._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(VersionHistory that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(VersionHistory other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<VersionHistory>
-
fieldForId
public VersionHistory._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<VersionHistory,VersionHistory._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<VersionHistory,VersionHistory._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<VersionHistory,VersionHistory._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
-
-