TCalcDeleteBitmapPartitionInfo.java
/**
* Autogenerated by Thrift Compiler (0.16.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.doris.thrift;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.16.0)", date = "2026-05-14")
public class TCalcDeleteBitmapPartitionInfo implements org.apache.thrift.TBase<TCalcDeleteBitmapPartitionInfo, TCalcDeleteBitmapPartitionInfo._Fields>, java.io.Serializable, Cloneable, Comparable<TCalcDeleteBitmapPartitionInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCalcDeleteBitmapPartitionInfo");
private static final org.apache.thrift.protocol.TField PARTITION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("partition_id", org.apache.thrift.protocol.TType.I64, (short)1);
private static final org.apache.thrift.protocol.TField VERSION_FIELD_DESC = new org.apache.thrift.protocol.TField("version", org.apache.thrift.protocol.TType.I64, (short)2);
private static final org.apache.thrift.protocol.TField TABLET_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("tablet_ids", org.apache.thrift.protocol.TType.LIST, (short)3);
private static final org.apache.thrift.protocol.TField BASE_COMPACTION_CNTS_FIELD_DESC = new org.apache.thrift.protocol.TField("base_compaction_cnts", org.apache.thrift.protocol.TType.LIST, (short)4);
private static final org.apache.thrift.protocol.TField CUMULATIVE_COMPACTION_CNTS_FIELD_DESC = new org.apache.thrift.protocol.TField("cumulative_compaction_cnts", org.apache.thrift.protocol.TType.LIST, (short)5);
private static final org.apache.thrift.protocol.TField CUMULATIVE_POINTS_FIELD_DESC = new org.apache.thrift.protocol.TField("cumulative_points", org.apache.thrift.protocol.TType.LIST, (short)6);
private static final org.apache.thrift.protocol.TField SUB_TXN_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("sub_txn_ids", org.apache.thrift.protocol.TType.LIST, (short)7);
private static final org.apache.thrift.protocol.TField TABLET_STATES_FIELD_DESC = new org.apache.thrift.protocol.TField("tablet_states", org.apache.thrift.protocol.TType.LIST, (short)8);
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TCalcDeleteBitmapPartitionInfoStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TCalcDeleteBitmapPartitionInfoTupleSchemeFactory();
public long partition_id; // required
public long version; // required
public @org.apache.thrift.annotation.Nullable java.util.List<java.lang.Long> tablet_ids; // required
public @org.apache.thrift.annotation.Nullable java.util.List<java.lang.Long> base_compaction_cnts; // optional
public @org.apache.thrift.annotation.Nullable java.util.List<java.lang.Long> cumulative_compaction_cnts; // optional
public @org.apache.thrift.annotation.Nullable java.util.List<java.lang.Long> cumulative_points; // optional
public @org.apache.thrift.annotation.Nullable java.util.List<java.lang.Long> sub_txn_ids; // optional
public @org.apache.thrift.annotation.Nullable java.util.List<java.lang.Long> tablet_states; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
PARTITION_ID((short)1, "partition_id"),
VERSION((short)2, "version"),
TABLET_IDS((short)3, "tablet_ids"),
BASE_COMPACTION_CNTS((short)4, "base_compaction_cnts"),
CUMULATIVE_COMPACTION_CNTS((short)5, "cumulative_compaction_cnts"),
CUMULATIVE_POINTS((short)6, "cumulative_points"),
SUB_TXN_IDS((short)7, "sub_txn_ids"),
TABLET_STATES((short)8, "tablet_states");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
static {
for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
@org.apache.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // PARTITION_ID
return PARTITION_ID;
case 2: // VERSION
return VERSION;
case 3: // TABLET_IDS
return TABLET_IDS;
case 4: // BASE_COMPACTION_CNTS
return BASE_COMPACTION_CNTS;
case 5: // CUMULATIVE_COMPACTION_CNTS
return CUMULATIVE_COMPACTION_CNTS;
case 6: // CUMULATIVE_POINTS
return CUMULATIVE_POINTS;
case 7: // SUB_TXN_IDS
return SUB_TXN_IDS;
case 8: // TABLET_STATES
return TABLET_STATES;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new java.lang.IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
@org.apache.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
private final short _thriftId;
private final java.lang.String _fieldName;
_Fields(short thriftId, java.lang.String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public java.lang.String getFieldName() {
return _fieldName;
}
}
// isset id assignments
private static final int __PARTITION_ID_ISSET_ID = 0;
private static final int __VERSION_ISSET_ID = 1;
private byte __isset_bitfield = 0;
private static final _Fields optionals[] = {_Fields.BASE_COMPACTION_CNTS,_Fields.CUMULATIVE_COMPACTION_CNTS,_Fields.CUMULATIVE_POINTS,_Fields.SUB_TXN_IDS,_Fields.TABLET_STATES};
public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.PARTITION_ID, new org.apache.thrift.meta_data.FieldMetaData("partition_id", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64 , "TPartitionId")));
tmpMap.put(_Fields.VERSION, new org.apache.thrift.meta_data.FieldMetaData("version", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64 , "TVersion")));
tmpMap.put(_Fields.TABLET_IDS, new org.apache.thrift.meta_data.FieldMetaData("tablet_ids", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64 , "TTabletId"))));
tmpMap.put(_Fields.BASE_COMPACTION_CNTS, new org.apache.thrift.meta_data.FieldMetaData("base_compaction_cnts", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
tmpMap.put(_Fields.CUMULATIVE_COMPACTION_CNTS, new org.apache.thrift.meta_data.FieldMetaData("cumulative_compaction_cnts", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
tmpMap.put(_Fields.CUMULATIVE_POINTS, new org.apache.thrift.meta_data.FieldMetaData("cumulative_points", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
tmpMap.put(_Fields.SUB_TXN_IDS, new org.apache.thrift.meta_data.FieldMetaData("sub_txn_ids", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
tmpMap.put(_Fields.TABLET_STATES, new org.apache.thrift.meta_data.FieldMetaData("tablet_states", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TCalcDeleteBitmapPartitionInfo.class, metaDataMap);
}
public TCalcDeleteBitmapPartitionInfo() {
}
public TCalcDeleteBitmapPartitionInfo(
long partition_id,
long version,
java.util.List<java.lang.Long> tablet_ids)
{
this();
this.partition_id = partition_id;
setPartitionIdIsSet(true);
this.version = version;
setVersionIsSet(true);
this.tablet_ids = tablet_ids;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public TCalcDeleteBitmapPartitionInfo(TCalcDeleteBitmapPartitionInfo other) {
__isset_bitfield = other.__isset_bitfield;
this.partition_id = other.partition_id;
this.version = other.version;
if (other.isSetTabletIds()) {
java.util.List<java.lang.Long> __this__tablet_ids = new java.util.ArrayList<java.lang.Long>(other.tablet_ids.size());
for (java.lang.Long other_element : other.tablet_ids) {
__this__tablet_ids.add(other_element);
}
this.tablet_ids = __this__tablet_ids;
}
if (other.isSetBaseCompactionCnts()) {
java.util.List<java.lang.Long> __this__base_compaction_cnts = new java.util.ArrayList<java.lang.Long>(other.base_compaction_cnts);
this.base_compaction_cnts = __this__base_compaction_cnts;
}
if (other.isSetCumulativeCompactionCnts()) {
java.util.List<java.lang.Long> __this__cumulative_compaction_cnts = new java.util.ArrayList<java.lang.Long>(other.cumulative_compaction_cnts);
this.cumulative_compaction_cnts = __this__cumulative_compaction_cnts;
}
if (other.isSetCumulativePoints()) {
java.util.List<java.lang.Long> __this__cumulative_points = new java.util.ArrayList<java.lang.Long>(other.cumulative_points);
this.cumulative_points = __this__cumulative_points;
}
if (other.isSetSubTxnIds()) {
java.util.List<java.lang.Long> __this__sub_txn_ids = new java.util.ArrayList<java.lang.Long>(other.sub_txn_ids);
this.sub_txn_ids = __this__sub_txn_ids;
}
if (other.isSetTabletStates()) {
java.util.List<java.lang.Long> __this__tablet_states = new java.util.ArrayList<java.lang.Long>(other.tablet_states);
this.tablet_states = __this__tablet_states;
}
}
public TCalcDeleteBitmapPartitionInfo deepCopy() {
return new TCalcDeleteBitmapPartitionInfo(this);
}
@Override
public void clear() {
setPartitionIdIsSet(false);
this.partition_id = 0;
setVersionIsSet(false);
this.version = 0;
this.tablet_ids = null;
this.base_compaction_cnts = null;
this.cumulative_compaction_cnts = null;
this.cumulative_points = null;
this.sub_txn_ids = null;
this.tablet_states = null;
}
public long getPartitionId() {
return this.partition_id;
}
public TCalcDeleteBitmapPartitionInfo setPartitionId(long partition_id) {
this.partition_id = partition_id;
setPartitionIdIsSet(true);
return this;
}
public void unsetPartitionId() {
__isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __PARTITION_ID_ISSET_ID);
}
/** Returns true if field partition_id is set (has been assigned a value) and false otherwise */
public boolean isSetPartitionId() {
return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __PARTITION_ID_ISSET_ID);
}
public void setPartitionIdIsSet(boolean value) {
__isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __PARTITION_ID_ISSET_ID, value);
}
public long getVersion() {
return this.version;
}
public TCalcDeleteBitmapPartitionInfo setVersion(long version) {
this.version = version;
setVersionIsSet(true);
return this;
}
public void unsetVersion() {
__isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __VERSION_ISSET_ID);
}
/** Returns true if field version is set (has been assigned a value) and false otherwise */
public boolean isSetVersion() {
return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __VERSION_ISSET_ID);
}
public void setVersionIsSet(boolean value) {
__isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __VERSION_ISSET_ID, value);
}
public int getTabletIdsSize() {
return (this.tablet_ids == null) ? 0 : this.tablet_ids.size();
}
@org.apache.thrift.annotation.Nullable
public java.util.Iterator<java.lang.Long> getTabletIdsIterator() {
return (this.tablet_ids == null) ? null : this.tablet_ids.iterator();
}
public void addToTabletIds(long elem) {
if (this.tablet_ids == null) {
this.tablet_ids = new java.util.ArrayList<java.lang.Long>();
}
this.tablet_ids.add(elem);
}
@org.apache.thrift.annotation.Nullable
public java.util.List<java.lang.Long> getTabletIds() {
return this.tablet_ids;
}
public TCalcDeleteBitmapPartitionInfo setTabletIds(@org.apache.thrift.annotation.Nullable java.util.List<java.lang.Long> tablet_ids) {
this.tablet_ids = tablet_ids;
return this;
}
public void unsetTabletIds() {
this.tablet_ids = null;
}
/** Returns true if field tablet_ids is set (has been assigned a value) and false otherwise */
public boolean isSetTabletIds() {
return this.tablet_ids != null;
}
public void setTabletIdsIsSet(boolean value) {
if (!value) {
this.tablet_ids = null;
}
}
public int getBaseCompactionCntsSize() {
return (this.base_compaction_cnts == null) ? 0 : this.base_compaction_cnts.size();
}
@org.apache.thrift.annotation.Nullable
public java.util.Iterator<java.lang.Long> getBaseCompactionCntsIterator() {
return (this.base_compaction_cnts == null) ? null : this.base_compaction_cnts.iterator();
}
public void addToBaseCompactionCnts(long elem) {
if (this.base_compaction_cnts == null) {
this.base_compaction_cnts = new java.util.ArrayList<java.lang.Long>();
}
this.base_compaction_cnts.add(elem);
}
@org.apache.thrift.annotation.Nullable
public java.util.List<java.lang.Long> getBaseCompactionCnts() {
return this.base_compaction_cnts;
}
public TCalcDeleteBitmapPartitionInfo setBaseCompactionCnts(@org.apache.thrift.annotation.Nullable java.util.List<java.lang.Long> base_compaction_cnts) {
this.base_compaction_cnts = base_compaction_cnts;
return this;
}
public void unsetBaseCompactionCnts() {
this.base_compaction_cnts = null;
}
/** Returns true if field base_compaction_cnts is set (has been assigned a value) and false otherwise */
public boolean isSetBaseCompactionCnts() {
return this.base_compaction_cnts != null;
}
public void setBaseCompactionCntsIsSet(boolean value) {
if (!value) {
this.base_compaction_cnts = null;
}
}
public int getCumulativeCompactionCntsSize() {
return (this.cumulative_compaction_cnts == null) ? 0 : this.cumulative_compaction_cnts.size();
}
@org.apache.thrift.annotation.Nullable
public java.util.Iterator<java.lang.Long> getCumulativeCompactionCntsIterator() {
return (this.cumulative_compaction_cnts == null) ? null : this.cumulative_compaction_cnts.iterator();
}
public void addToCumulativeCompactionCnts(long elem) {
if (this.cumulative_compaction_cnts == null) {
this.cumulative_compaction_cnts = new java.util.ArrayList<java.lang.Long>();
}
this.cumulative_compaction_cnts.add(elem);
}
@org.apache.thrift.annotation.Nullable
public java.util.List<java.lang.Long> getCumulativeCompactionCnts() {
return this.cumulative_compaction_cnts;
}
public TCalcDeleteBitmapPartitionInfo setCumulativeCompactionCnts(@org.apache.thrift.annotation.Nullable java.util.List<java.lang.Long> cumulative_compaction_cnts) {
this.cumulative_compaction_cnts = cumulative_compaction_cnts;
return this;
}
public void unsetCumulativeCompactionCnts() {
this.cumulative_compaction_cnts = null;
}
/** Returns true if field cumulative_compaction_cnts is set (has been assigned a value) and false otherwise */
public boolean isSetCumulativeCompactionCnts() {
return this.cumulative_compaction_cnts != null;
}
public void setCumulativeCompactionCntsIsSet(boolean value) {
if (!value) {
this.cumulative_compaction_cnts = null;
}
}
public int getCumulativePointsSize() {
return (this.cumulative_points == null) ? 0 : this.cumulative_points.size();
}
@org.apache.thrift.annotation.Nullable
public java.util.Iterator<java.lang.Long> getCumulativePointsIterator() {
return (this.cumulative_points == null) ? null : this.cumulative_points.iterator();
}
public void addToCumulativePoints(long elem) {
if (this.cumulative_points == null) {
this.cumulative_points = new java.util.ArrayList<java.lang.Long>();
}
this.cumulative_points.add(elem);
}
@org.apache.thrift.annotation.Nullable
public java.util.List<java.lang.Long> getCumulativePoints() {
return this.cumulative_points;
}
public TCalcDeleteBitmapPartitionInfo setCumulativePoints(@org.apache.thrift.annotation.Nullable java.util.List<java.lang.Long> cumulative_points) {
this.cumulative_points = cumulative_points;
return this;
}
public void unsetCumulativePoints() {
this.cumulative_points = null;
}
/** Returns true if field cumulative_points is set (has been assigned a value) and false otherwise */
public boolean isSetCumulativePoints() {
return this.cumulative_points != null;
}
public void setCumulativePointsIsSet(boolean value) {
if (!value) {
this.cumulative_points = null;
}
}
public int getSubTxnIdsSize() {
return (this.sub_txn_ids == null) ? 0 : this.sub_txn_ids.size();
}
@org.apache.thrift.annotation.Nullable
public java.util.Iterator<java.lang.Long> getSubTxnIdsIterator() {
return (this.sub_txn_ids == null) ? null : this.sub_txn_ids.iterator();
}
public void addToSubTxnIds(long elem) {
if (this.sub_txn_ids == null) {
this.sub_txn_ids = new java.util.ArrayList<java.lang.Long>();
}
this.sub_txn_ids.add(elem);
}
@org.apache.thrift.annotation.Nullable
public java.util.List<java.lang.Long> getSubTxnIds() {
return this.sub_txn_ids;
}
public TCalcDeleteBitmapPartitionInfo setSubTxnIds(@org.apache.thrift.annotation.Nullable java.util.List<java.lang.Long> sub_txn_ids) {
this.sub_txn_ids = sub_txn_ids;
return this;
}
public void unsetSubTxnIds() {
this.sub_txn_ids = null;
}
/** Returns true if field sub_txn_ids is set (has been assigned a value) and false otherwise */
public boolean isSetSubTxnIds() {
return this.sub_txn_ids != null;
}
public void setSubTxnIdsIsSet(boolean value) {
if (!value) {
this.sub_txn_ids = null;
}
}
public int getTabletStatesSize() {
return (this.tablet_states == null) ? 0 : this.tablet_states.size();
}
@org.apache.thrift.annotation.Nullable
public java.util.Iterator<java.lang.Long> getTabletStatesIterator() {
return (this.tablet_states == null) ? null : this.tablet_states.iterator();
}
public void addToTabletStates(long elem) {
if (this.tablet_states == null) {
this.tablet_states = new java.util.ArrayList<java.lang.Long>();
}
this.tablet_states.add(elem);
}
@org.apache.thrift.annotation.Nullable
public java.util.List<java.lang.Long> getTabletStates() {
return this.tablet_states;
}
public TCalcDeleteBitmapPartitionInfo setTabletStates(@org.apache.thrift.annotation.Nullable java.util.List<java.lang.Long> tablet_states) {
this.tablet_states = tablet_states;
return this;
}
public void unsetTabletStates() {
this.tablet_states = null;
}
/** Returns true if field tablet_states is set (has been assigned a value) and false otherwise */
public boolean isSetTabletStates() {
return this.tablet_states != null;
}
public void setTabletStatesIsSet(boolean value) {
if (!value) {
this.tablet_states = null;
}
}
public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case PARTITION_ID:
if (value == null) {
unsetPartitionId();
} else {
setPartitionId((java.lang.Long)value);
}
break;
case VERSION:
if (value == null) {
unsetVersion();
} else {
setVersion((java.lang.Long)value);
}
break;
case TABLET_IDS:
if (value == null) {
unsetTabletIds();
} else {
setTabletIds((java.util.List<java.lang.Long>)value);
}
break;
case BASE_COMPACTION_CNTS:
if (value == null) {
unsetBaseCompactionCnts();
} else {
setBaseCompactionCnts((java.util.List<java.lang.Long>)value);
}
break;
case CUMULATIVE_COMPACTION_CNTS:
if (value == null) {
unsetCumulativeCompactionCnts();
} else {
setCumulativeCompactionCnts((java.util.List<java.lang.Long>)value);
}
break;
case CUMULATIVE_POINTS:
if (value == null) {
unsetCumulativePoints();
} else {
setCumulativePoints((java.util.List<java.lang.Long>)value);
}
break;
case SUB_TXN_IDS:
if (value == null) {
unsetSubTxnIds();
} else {
setSubTxnIds((java.util.List<java.lang.Long>)value);
}
break;
case TABLET_STATES:
if (value == null) {
unsetTabletStates();
} else {
setTabletStates((java.util.List<java.lang.Long>)value);
}
break;
}
}
@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case PARTITION_ID:
return getPartitionId();
case VERSION:
return getVersion();
case TABLET_IDS:
return getTabletIds();
case BASE_COMPACTION_CNTS:
return getBaseCompactionCnts();
case CUMULATIVE_COMPACTION_CNTS:
return getCumulativeCompactionCnts();
case CUMULATIVE_POINTS:
return getCumulativePoints();
case SUB_TXN_IDS:
return getSubTxnIds();
case TABLET_STATES:
return getTabletStates();
}
throw new java.lang.IllegalStateException();
}
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
if (field == null) {
throw new java.lang.IllegalArgumentException();
}
switch (field) {
case PARTITION_ID:
return isSetPartitionId();
case VERSION:
return isSetVersion();
case TABLET_IDS:
return isSetTabletIds();
case BASE_COMPACTION_CNTS:
return isSetBaseCompactionCnts();
case CUMULATIVE_COMPACTION_CNTS:
return isSetCumulativeCompactionCnts();
case CUMULATIVE_POINTS:
return isSetCumulativePoints();
case SUB_TXN_IDS:
return isSetSubTxnIds();
case TABLET_STATES:
return isSetTabletStates();
}
throw new java.lang.IllegalStateException();
}
@Override
public boolean equals(java.lang.Object that) {
if (that instanceof TCalcDeleteBitmapPartitionInfo)
return this.equals((TCalcDeleteBitmapPartitionInfo)that);
return false;
}
public boolean equals(TCalcDeleteBitmapPartitionInfo that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_partition_id = true;
boolean that_present_partition_id = true;
if (this_present_partition_id || that_present_partition_id) {
if (!(this_present_partition_id && that_present_partition_id))
return false;
if (this.partition_id != that.partition_id)
return false;
}
boolean this_present_version = true;
boolean that_present_version = true;
if (this_present_version || that_present_version) {
if (!(this_present_version && that_present_version))
return false;
if (this.version != that.version)
return false;
}
boolean this_present_tablet_ids = true && this.isSetTabletIds();
boolean that_present_tablet_ids = true && that.isSetTabletIds();
if (this_present_tablet_ids || that_present_tablet_ids) {
if (!(this_present_tablet_ids && that_present_tablet_ids))
return false;
if (!this.tablet_ids.equals(that.tablet_ids))
return false;
}
boolean this_present_base_compaction_cnts = true && this.isSetBaseCompactionCnts();
boolean that_present_base_compaction_cnts = true && that.isSetBaseCompactionCnts();
if (this_present_base_compaction_cnts || that_present_base_compaction_cnts) {
if (!(this_present_base_compaction_cnts && that_present_base_compaction_cnts))
return false;
if (!this.base_compaction_cnts.equals(that.base_compaction_cnts))
return false;
}
boolean this_present_cumulative_compaction_cnts = true && this.isSetCumulativeCompactionCnts();
boolean that_present_cumulative_compaction_cnts = true && that.isSetCumulativeCompactionCnts();
if (this_present_cumulative_compaction_cnts || that_present_cumulative_compaction_cnts) {
if (!(this_present_cumulative_compaction_cnts && that_present_cumulative_compaction_cnts))
return false;
if (!this.cumulative_compaction_cnts.equals(that.cumulative_compaction_cnts))
return false;
}
boolean this_present_cumulative_points = true && this.isSetCumulativePoints();
boolean that_present_cumulative_points = true && that.isSetCumulativePoints();
if (this_present_cumulative_points || that_present_cumulative_points) {
if (!(this_present_cumulative_points && that_present_cumulative_points))
return false;
if (!this.cumulative_points.equals(that.cumulative_points))
return false;
}
boolean this_present_sub_txn_ids = true && this.isSetSubTxnIds();
boolean that_present_sub_txn_ids = true && that.isSetSubTxnIds();
if (this_present_sub_txn_ids || that_present_sub_txn_ids) {
if (!(this_present_sub_txn_ids && that_present_sub_txn_ids))
return false;
if (!this.sub_txn_ids.equals(that.sub_txn_ids))
return false;
}
boolean this_present_tablet_states = true && this.isSetTabletStates();
boolean that_present_tablet_states = true && that.isSetTabletStates();
if (this_present_tablet_states || that_present_tablet_states) {
if (!(this_present_tablet_states && that_present_tablet_states))
return false;
if (!this.tablet_states.equals(that.tablet_states))
return false;
}
return true;
}
@Override
public int hashCode() {
int hashCode = 1;
hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(partition_id);
hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(version);
hashCode = hashCode * 8191 + ((isSetTabletIds()) ? 131071 : 524287);
if (isSetTabletIds())
hashCode = hashCode * 8191 + tablet_ids.hashCode();
hashCode = hashCode * 8191 + ((isSetBaseCompactionCnts()) ? 131071 : 524287);
if (isSetBaseCompactionCnts())
hashCode = hashCode * 8191 + base_compaction_cnts.hashCode();
hashCode = hashCode * 8191 + ((isSetCumulativeCompactionCnts()) ? 131071 : 524287);
if (isSetCumulativeCompactionCnts())
hashCode = hashCode * 8191 + cumulative_compaction_cnts.hashCode();
hashCode = hashCode * 8191 + ((isSetCumulativePoints()) ? 131071 : 524287);
if (isSetCumulativePoints())
hashCode = hashCode * 8191 + cumulative_points.hashCode();
hashCode = hashCode * 8191 + ((isSetSubTxnIds()) ? 131071 : 524287);
if (isSetSubTxnIds())
hashCode = hashCode * 8191 + sub_txn_ids.hashCode();
hashCode = hashCode * 8191 + ((isSetTabletStates()) ? 131071 : 524287);
if (isSetTabletStates())
hashCode = hashCode * 8191 + tablet_states.hashCode();
return hashCode;
}
@Override
public int compareTo(TCalcDeleteBitmapPartitionInfo other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
lastComparison = java.lang.Boolean.compare(isSetPartitionId(), other.isSetPartitionId());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetPartitionId()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partition_id, other.partition_id);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetVersion(), other.isSetVersion());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetVersion()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.version, other.version);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetTabletIds(), other.isSetTabletIds());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetTabletIds()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablet_ids, other.tablet_ids);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetBaseCompactionCnts(), other.isSetBaseCompactionCnts());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetBaseCompactionCnts()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.base_compaction_cnts, other.base_compaction_cnts);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetCumulativeCompactionCnts(), other.isSetCumulativeCompactionCnts());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetCumulativeCompactionCnts()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cumulative_compaction_cnts, other.cumulative_compaction_cnts);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetCumulativePoints(), other.isSetCumulativePoints());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetCumulativePoints()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cumulative_points, other.cumulative_points);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetSubTxnIds(), other.isSetSubTxnIds());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSubTxnIds()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sub_txn_ids, other.sub_txn_ids);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetTabletStates(), other.isSetTabletStates());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetTabletStates()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablet_states, other.tablet_states);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
@org.apache.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
scheme(iprot).read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
scheme(oprot).write(oprot, this);
}
@Override
public java.lang.String toString() {
java.lang.StringBuilder sb = new java.lang.StringBuilder("TCalcDeleteBitmapPartitionInfo(");
boolean first = true;
sb.append("partition_id:");
sb.append(this.partition_id);
first = false;
if (!first) sb.append(", ");
sb.append("version:");
sb.append(this.version);
first = false;
if (!first) sb.append(", ");
sb.append("tablet_ids:");
if (this.tablet_ids == null) {
sb.append("null");
} else {
sb.append(this.tablet_ids);
}
first = false;
if (isSetBaseCompactionCnts()) {
if (!first) sb.append(", ");
sb.append("base_compaction_cnts:");
if (this.base_compaction_cnts == null) {
sb.append("null");
} else {
sb.append(this.base_compaction_cnts);
}
first = false;
}
if (isSetCumulativeCompactionCnts()) {
if (!first) sb.append(", ");
sb.append("cumulative_compaction_cnts:");
if (this.cumulative_compaction_cnts == null) {
sb.append("null");
} else {
sb.append(this.cumulative_compaction_cnts);
}
first = false;
}
if (isSetCumulativePoints()) {
if (!first) sb.append(", ");
sb.append("cumulative_points:");
if (this.cumulative_points == null) {
sb.append("null");
} else {
sb.append(this.cumulative_points);
}
first = false;
}
if (isSetSubTxnIds()) {
if (!first) sb.append(", ");
sb.append("sub_txn_ids:");
if (this.sub_txn_ids == null) {
sb.append("null");
} else {
sb.append(this.sub_txn_ids);
}
first = false;
}
if (isSetTabletStates()) {
if (!first) sb.append(", ");
sb.append("tablet_states:");
if (this.tablet_states == null) {
sb.append("null");
} else {
sb.append(this.tablet_states);
}
first = false;
}
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
// alas, we cannot check 'partition_id' because it's a primitive and you chose the non-beans generator.
// alas, we cannot check 'version' because it's a primitive and you chose the non-beans generator.
if (tablet_ids == null) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'tablet_ids' was not present! Struct: " + toString());
}
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException {
try {
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
__isset_bitfield = 0;
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class TCalcDeleteBitmapPartitionInfoStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
public TCalcDeleteBitmapPartitionInfoStandardScheme getScheme() {
return new TCalcDeleteBitmapPartitionInfoStandardScheme();
}
}
private static class TCalcDeleteBitmapPartitionInfoStandardScheme extends org.apache.thrift.scheme.StandardScheme<TCalcDeleteBitmapPartitionInfo> {
public void read(org.apache.thrift.protocol.TProtocol iprot, TCalcDeleteBitmapPartitionInfo struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 1: // PARTITION_ID
if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
struct.partition_id = iprot.readI64();
struct.setPartitionIdIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 2: // VERSION
if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
struct.version = iprot.readI64();
struct.setVersionIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 3: // TABLET_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
org.apache.thrift.protocol.TList _list254 = iprot.readListBegin();
struct.tablet_ids = new java.util.ArrayList<java.lang.Long>(_list254.size);
long _elem255;
for (int _i256 = 0; _i256 < _list254.size; ++_i256)
{
_elem255 = iprot.readI64();
struct.tablet_ids.add(_elem255);
}
iprot.readListEnd();
}
struct.setTabletIdsIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 4: // BASE_COMPACTION_CNTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
org.apache.thrift.protocol.TList _list257 = iprot.readListBegin();
struct.base_compaction_cnts = new java.util.ArrayList<java.lang.Long>(_list257.size);
long _elem258;
for (int _i259 = 0; _i259 < _list257.size; ++_i259)
{
_elem258 = iprot.readI64();
struct.base_compaction_cnts.add(_elem258);
}
iprot.readListEnd();
}
struct.setBaseCompactionCntsIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 5: // CUMULATIVE_COMPACTION_CNTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
org.apache.thrift.protocol.TList _list260 = iprot.readListBegin();
struct.cumulative_compaction_cnts = new java.util.ArrayList<java.lang.Long>(_list260.size);
long _elem261;
for (int _i262 = 0; _i262 < _list260.size; ++_i262)
{
_elem261 = iprot.readI64();
struct.cumulative_compaction_cnts.add(_elem261);
}
iprot.readListEnd();
}
struct.setCumulativeCompactionCntsIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 6: // CUMULATIVE_POINTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
org.apache.thrift.protocol.TList _list263 = iprot.readListBegin();
struct.cumulative_points = new java.util.ArrayList<java.lang.Long>(_list263.size);
long _elem264;
for (int _i265 = 0; _i265 < _list263.size; ++_i265)
{
_elem264 = iprot.readI64();
struct.cumulative_points.add(_elem264);
}
iprot.readListEnd();
}
struct.setCumulativePointsIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 7: // SUB_TXN_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
org.apache.thrift.protocol.TList _list266 = iprot.readListBegin();
struct.sub_txn_ids = new java.util.ArrayList<java.lang.Long>(_list266.size);
long _elem267;
for (int _i268 = 0; _i268 < _list266.size; ++_i268)
{
_elem267 = iprot.readI64();
struct.sub_txn_ids.add(_elem267);
}
iprot.readListEnd();
}
struct.setSubTxnIdsIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 8: // TABLET_STATES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
org.apache.thrift.protocol.TList _list269 = iprot.readListBegin();
struct.tablet_states = new java.util.ArrayList<java.lang.Long>(_list269.size);
long _elem270;
for (int _i271 = 0; _i271 < _list269.size; ++_i271)
{
_elem270 = iprot.readI64();
struct.tablet_states.add(_elem270);
}
iprot.readListEnd();
}
struct.setTabletStatesIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
if (!struct.isSetPartitionId()) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'partition_id' was not found in serialized data! Struct: " + toString());
}
if (!struct.isSetVersion()) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'version' was not found in serialized data! Struct: " + toString());
}
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, TCalcDeleteBitmapPartitionInfo struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldBegin(PARTITION_ID_FIELD_DESC);
oprot.writeI64(struct.partition_id);
oprot.writeFieldEnd();
oprot.writeFieldBegin(VERSION_FIELD_DESC);
oprot.writeI64(struct.version);
oprot.writeFieldEnd();
if (struct.tablet_ids != null) {
oprot.writeFieldBegin(TABLET_IDS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.tablet_ids.size()));
for (long _iter272 : struct.tablet_ids)
{
oprot.writeI64(_iter272);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
if (struct.base_compaction_cnts != null) {
if (struct.isSetBaseCompactionCnts()) {
oprot.writeFieldBegin(BASE_COMPACTION_CNTS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.base_compaction_cnts.size()));
for (long _iter273 : struct.base_compaction_cnts)
{
oprot.writeI64(_iter273);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
}
if (struct.cumulative_compaction_cnts != null) {
if (struct.isSetCumulativeCompactionCnts()) {
oprot.writeFieldBegin(CUMULATIVE_COMPACTION_CNTS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.cumulative_compaction_cnts.size()));
for (long _iter274 : struct.cumulative_compaction_cnts)
{
oprot.writeI64(_iter274);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
}
if (struct.cumulative_points != null) {
if (struct.isSetCumulativePoints()) {
oprot.writeFieldBegin(CUMULATIVE_POINTS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.cumulative_points.size()));
for (long _iter275 : struct.cumulative_points)
{
oprot.writeI64(_iter275);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
}
if (struct.sub_txn_ids != null) {
if (struct.isSetSubTxnIds()) {
oprot.writeFieldBegin(SUB_TXN_IDS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.sub_txn_ids.size()));
for (long _iter276 : struct.sub_txn_ids)
{
oprot.writeI64(_iter276);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
}
if (struct.tablet_states != null) {
if (struct.isSetTabletStates()) {
oprot.writeFieldBegin(TABLET_STATES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.tablet_states.size()));
for (long _iter277 : struct.tablet_states)
{
oprot.writeI64(_iter277);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class TCalcDeleteBitmapPartitionInfoTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
public TCalcDeleteBitmapPartitionInfoTupleScheme getScheme() {
return new TCalcDeleteBitmapPartitionInfoTupleScheme();
}
}
private static class TCalcDeleteBitmapPartitionInfoTupleScheme extends org.apache.thrift.scheme.TupleScheme<TCalcDeleteBitmapPartitionInfo> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, TCalcDeleteBitmapPartitionInfo struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
oprot.writeI64(struct.partition_id);
oprot.writeI64(struct.version);
{
oprot.writeI32(struct.tablet_ids.size());
for (long _iter278 : struct.tablet_ids)
{
oprot.writeI64(_iter278);
}
}
java.util.BitSet optionals = new java.util.BitSet();
if (struct.isSetBaseCompactionCnts()) {
optionals.set(0);
}
if (struct.isSetCumulativeCompactionCnts()) {
optionals.set(1);
}
if (struct.isSetCumulativePoints()) {
optionals.set(2);
}
if (struct.isSetSubTxnIds()) {
optionals.set(3);
}
if (struct.isSetTabletStates()) {
optionals.set(4);
}
oprot.writeBitSet(optionals, 5);
if (struct.isSetBaseCompactionCnts()) {
{
oprot.writeI32(struct.base_compaction_cnts.size());
for (long _iter279 : struct.base_compaction_cnts)
{
oprot.writeI64(_iter279);
}
}
}
if (struct.isSetCumulativeCompactionCnts()) {
{
oprot.writeI32(struct.cumulative_compaction_cnts.size());
for (long _iter280 : struct.cumulative_compaction_cnts)
{
oprot.writeI64(_iter280);
}
}
}
if (struct.isSetCumulativePoints()) {
{
oprot.writeI32(struct.cumulative_points.size());
for (long _iter281 : struct.cumulative_points)
{
oprot.writeI64(_iter281);
}
}
}
if (struct.isSetSubTxnIds()) {
{
oprot.writeI32(struct.sub_txn_ids.size());
for (long _iter282 : struct.sub_txn_ids)
{
oprot.writeI64(_iter282);
}
}
}
if (struct.isSetTabletStates()) {
{
oprot.writeI32(struct.tablet_states.size());
for (long _iter283 : struct.tablet_states)
{
oprot.writeI64(_iter283);
}
}
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, TCalcDeleteBitmapPartitionInfo struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.partition_id = iprot.readI64();
struct.setPartitionIdIsSet(true);
struct.version = iprot.readI64();
struct.setVersionIsSet(true);
{
org.apache.thrift.protocol.TList _list284 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64);
struct.tablet_ids = new java.util.ArrayList<java.lang.Long>(_list284.size);
long _elem285;
for (int _i286 = 0; _i286 < _list284.size; ++_i286)
{
_elem285 = iprot.readI64();
struct.tablet_ids.add(_elem285);
}
}
struct.setTabletIdsIsSet(true);
java.util.BitSet incoming = iprot.readBitSet(5);
if (incoming.get(0)) {
{
org.apache.thrift.protocol.TList _list287 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64);
struct.base_compaction_cnts = new java.util.ArrayList<java.lang.Long>(_list287.size);
long _elem288;
for (int _i289 = 0; _i289 < _list287.size; ++_i289)
{
_elem288 = iprot.readI64();
struct.base_compaction_cnts.add(_elem288);
}
}
struct.setBaseCompactionCntsIsSet(true);
}
if (incoming.get(1)) {
{
org.apache.thrift.protocol.TList _list290 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64);
struct.cumulative_compaction_cnts = new java.util.ArrayList<java.lang.Long>(_list290.size);
long _elem291;
for (int _i292 = 0; _i292 < _list290.size; ++_i292)
{
_elem291 = iprot.readI64();
struct.cumulative_compaction_cnts.add(_elem291);
}
}
struct.setCumulativeCompactionCntsIsSet(true);
}
if (incoming.get(2)) {
{
org.apache.thrift.protocol.TList _list293 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64);
struct.cumulative_points = new java.util.ArrayList<java.lang.Long>(_list293.size);
long _elem294;
for (int _i295 = 0; _i295 < _list293.size; ++_i295)
{
_elem294 = iprot.readI64();
struct.cumulative_points.add(_elem294);
}
}
struct.setCumulativePointsIsSet(true);
}
if (incoming.get(3)) {
{
org.apache.thrift.protocol.TList _list296 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64);
struct.sub_txn_ids = new java.util.ArrayList<java.lang.Long>(_list296.size);
long _elem297;
for (int _i298 = 0; _i298 < _list296.size; ++_i298)
{
_elem297 = iprot.readI64();
struct.sub_txn_ids.add(_elem297);
}
}
struct.setSubTxnIdsIsSet(true);
}
if (incoming.get(4)) {
{
org.apache.thrift.protocol.TList _list299 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64);
struct.tablet_states = new java.util.ArrayList<java.lang.Long>(_list299.size);
long _elem300;
for (int _i301 = 0; _i301 < _list299.size; ++_i301)
{
_elem300 = iprot.readI64();
struct.tablet_states.add(_elem300);
}
}
struct.setTabletStatesIsSet(true);
}
}
}
private static <S extends org.apache.thrift.scheme.IScheme> S scheme(org.apache.thrift.protocol.TProtocol proto) {
return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme();
}
}