@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2020-06-01") 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>
Modifier and Type | Class and Description |
---|---|
static class |
VersionHistory._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
java.nio.ByteBuffer |
branchToken |
java.util.List<VersionHistoryItem> |
items |
static java.util.Map<VersionHistory._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
VersionHistory() |
VersionHistory(VersionHistory other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToItems(VersionHistoryItem elem) |
java.nio.ByteBuffer |
bufferForBranchToken() |
void |
clear() |
int |
compareTo(VersionHistory other) |
VersionHistory |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(VersionHistory 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 otherwise
|
boolean |
isSetBranchToken()
Returns true if field branchToken is set (has been assigned a value) and false otherwise
|
boolean |
isSetItems()
Returns true if field items is set (has been assigned a value) and false otherwise
|
void |
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) |
public java.nio.ByteBuffer branchToken
public java.util.List<VersionHistoryItem> items
public static final java.util.Map<VersionHistory._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public VersionHistory()
public VersionHistory(VersionHistory other)
public VersionHistory deepCopy()
deepCopy
in interface org.apache.thrift.TBase<VersionHistory,VersionHistory._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<VersionHistory,VersionHistory._Fields>
public byte[] getBranchToken()
public java.nio.ByteBuffer bufferForBranchToken()
public VersionHistory setBranchToken(byte[] branchToken)
public VersionHistory setBranchToken(java.nio.ByteBuffer branchToken)
public void unsetBranchToken()
public boolean isSetBranchToken()
public void setBranchTokenIsSet(boolean value)
public int getItemsSize()
public java.util.Iterator<VersionHistoryItem> getItemsIterator()
public void addToItems(VersionHistoryItem elem)
public java.util.List<VersionHistoryItem> getItems()
public VersionHistory setItems(java.util.List<VersionHistoryItem> items)
public void unsetItems()
public boolean isSetItems()
public void setItemsIsSet(boolean value)
public void setFieldValue(VersionHistory._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<VersionHistory,VersionHistory._Fields>
public java.lang.Object getFieldValue(VersionHistory._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<VersionHistory,VersionHistory._Fields>
public boolean isSet(VersionHistory._Fields field)
isSet
in interface org.apache.thrift.TBase<VersionHistory,VersionHistory._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(VersionHistory that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(VersionHistory other)
compareTo
in interface java.lang.Comparable<VersionHistory>
public VersionHistory._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<VersionHistory,VersionHistory._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<VersionHistory,VersionHistory._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<VersionHistory,VersionHistory._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