cz.proto.Manifest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickzetta-java Show documentation
Show all versions of clickzetta-java Show documentation
The java SDK for clickzetta's Lakehouse
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: manifest.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.Manifest}
*/
public final class Manifest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.Manifest)
ManifestOrBuilder {
private static final long serialVersionUID = 0L;
// Use Manifest.newBuilder() to construct.
private Manifest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Manifest() {
concurrencyLevel_ = 0;
addedDataFiles_ = java.util.Collections.emptyList();
deletedDataFiles_ = java.util.Collections.emptyList();
addedDeltaFiles_ = java.util.Collections.emptyList();
deletedDeltaFiles_ = java.util.Collections.emptyList();
deletedPartition_ = java.util.Collections.emptyList();
sourceTables_ = java.util.Collections.emptyList();
streamTables_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Manifest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Manifest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 42: {
if (!((mutable_bitField0_ & 0x00000040) != 0)) {
deletedPartition_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
deletedPartition_.add(
input.readMessage(cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.parser(), extensionRegistry));
break;
}
case 56: {
clusterSpecId_ = input.readUInt32();
break;
}
case 64: {
sortOrderSpecId_ = input.readUInt32();
break;
}
case 72: {
primaryKeySpecId_ = input.readUInt32();
break;
}
case 82: {
cz.proto.StatsData.Builder subBuilder = null;
if (stats_ != null) {
subBuilder = stats_.toBuilder();
}
stats_ = input.readMessage(cz.proto.StatsData.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(stats_);
stats_ = subBuilder.buildPartial();
}
break;
}
case 112: {
bitField0_ |= 0x00000001;
baseSnapshotId_ = input.readInt64();
break;
}
case 122: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
addedDataFiles_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
addedDataFiles_.add(
input.readMessage(cz.proto.FileMetaData.parser(), extensionRegistry));
break;
}
case 138: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
deletedDataFiles_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
deletedDataFiles_.add(
input.readMessage(cz.proto.FileMetaData.parser(), extensionRegistry));
break;
}
case 146: {
if (!((mutable_bitField0_ & 0x00000010) != 0)) {
addedDeltaFiles_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
addedDeltaFiles_.add(
input.readMessage(cz.proto.FileMetaData.parser(), extensionRegistry));
break;
}
case 154: {
if (!((mutable_bitField0_ & 0x00000020) != 0)) {
deletedDeltaFiles_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
deletedDeltaFiles_.add(
input.readMessage(cz.proto.FileMetaData.parser(), extensionRegistry));
break;
}
case 162: {
if (!((mutable_bitField0_ & 0x00000080) != 0)) {
sourceTables_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
sourceTables_.add(
input.readMessage(cz.proto.MVSource.parser(), extensionRegistry));
break;
}
case 168: {
int rawValue = input.readEnum();
bitField0_ |= 0x00000002;
concurrencyLevel_ = rawValue;
break;
}
case 178: {
if (!((mutable_bitField0_ & 0x00000100) != 0)) {
streamTables_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
streamTables_.add(
input.readMessage(cz.proto.TableStreamState.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000040) != 0)) {
deletedPartition_ = java.util.Collections.unmodifiableList(deletedPartition_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
addedDataFiles_ = java.util.Collections.unmodifiableList(addedDataFiles_);
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
deletedDataFiles_ = java.util.Collections.unmodifiableList(deletedDataFiles_);
}
if (((mutable_bitField0_ & 0x00000010) != 0)) {
addedDeltaFiles_ = java.util.Collections.unmodifiableList(addedDeltaFiles_);
}
if (((mutable_bitField0_ & 0x00000020) != 0)) {
deletedDeltaFiles_ = java.util.Collections.unmodifiableList(deletedDeltaFiles_);
}
if (((mutable_bitField0_ & 0x00000080) != 0)) {
sourceTables_ = java.util.Collections.unmodifiableList(sourceTables_);
}
if (((mutable_bitField0_ & 0x00000100) != 0)) {
streamTables_ = java.util.Collections.unmodifiableList(streamTables_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.ManifestProto.internal_static_cz_proto_Manifest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.ManifestProto.internal_static_cz_proto_Manifest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.Manifest.class, cz.proto.Manifest.Builder.class);
}
/**
* Protobuf enum {@code cz.proto.Manifest.ConcurrencyLevel}
*/
public enum ConcurrencyLevel
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* file level concurrency check
*
*
* FILE = 0;
*/
FILE(0),
/**
*
* table level concurrency check
*
*
* TABLE = 1;
*/
TABLE(1),
UNRECOGNIZED(-1),
;
/**
*
* file level concurrency check
*
*
* FILE = 0;
*/
public static final int FILE_VALUE = 0;
/**
*
* table level concurrency check
*
*
* TABLE = 1;
*/
public static final int TABLE_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ConcurrencyLevel valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ConcurrencyLevel forNumber(int value) {
switch (value) {
case 0: return FILE;
case 1: return TABLE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ConcurrencyLevel> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ConcurrencyLevel findValueByNumber(int number) {
return ConcurrencyLevel.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return cz.proto.Manifest.getDescriptor().getEnumTypes().get(0);
}
private static final ConcurrencyLevel[] VALUES = values();
public static ConcurrencyLevel valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ConcurrencyLevel(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:cz.proto.Manifest.ConcurrencyLevel)
}
private int bitField0_;
public static final int CLUSTER_SPEC_ID_FIELD_NUMBER = 7;
private int clusterSpecId_;
/**
*
* TableMeta.cluster_info_spec.spec_id
*
*
* uint32 cluster_spec_id = 7;
* @return The clusterSpecId.
*/
@java.lang.Override
public int getClusterSpecId() {
return clusterSpecId_;
}
public static final int SORT_ORDER_SPEC_ID_FIELD_NUMBER = 8;
private int sortOrderSpecId_;
/**
*
* TableMeta.sort_order_spec.spec_id
*
*
* uint32 sort_order_spec_id = 8;
* @return The sortOrderSpecId.
*/
@java.lang.Override
public int getSortOrderSpecId() {
return sortOrderSpecId_;
}
public static final int PRIMARY_KEY_SPEC_ID_FIELD_NUMBER = 9;
private int primaryKeySpecId_;
/**
*
* TableMeta.primary_key_spec.spec_id
*
*
* uint32 primary_key_spec_id = 9;
* @return The primaryKeySpecId.
*/
@java.lang.Override
public int getPrimaryKeySpecId() {
return primaryKeySpecId_;
}
public static final int STATS_FIELD_NUMBER = 10;
private cz.proto.StatsData stats_;
/**
*
* contains snapshot id and other stats
*
*
* .cz.proto.StatsData stats = 10;
* @return Whether the stats field is set.
*/
@java.lang.Override
public boolean hasStats() {
return stats_ != null;
}
/**
*
* contains snapshot id and other stats
*
*
* .cz.proto.StatsData stats = 10;
* @return The stats.
*/
@java.lang.Override
public cz.proto.StatsData getStats() {
return stats_ == null ? cz.proto.StatsData.getDefaultInstance() : stats_;
}
/**
*
* contains snapshot id and other stats
*
*
* .cz.proto.StatsData stats = 10;
*/
@java.lang.Override
public cz.proto.StatsDataOrBuilder getStatsOrBuilder() {
return getStats();
}
public static final int BASE_SNAPSHOT_ID_FIELD_NUMBER = 14;
private long baseSnapshotId_;
/**
*
* The snapshot which current manifest's change is based on.
* Eg: one update SQL statement bases on snapshot x to read data and update something then commit.
* Snapshot x is the base_snapshot_id.
*
*
* optional int64 base_snapshot_id = 14;
* @return Whether the baseSnapshotId field is set.
*/
@java.lang.Override
public boolean hasBaseSnapshotId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The snapshot which current manifest's change is based on.
* Eg: one update SQL statement bases on snapshot x to read data and update something then commit.
* Snapshot x is the base_snapshot_id.
*
*
* optional int64 base_snapshot_id = 14;
* @return The baseSnapshotId.
*/
@java.lang.Override
public long getBaseSnapshotId() {
return baseSnapshotId_;
}
public static final int CONCURRENCY_LEVEL_FIELD_NUMBER = 21;
private int concurrencyLevel_;
/**
*
* FILE by default if unset
*
*
* optional .cz.proto.Manifest.ConcurrencyLevel concurrency_level = 21;
* @return Whether the concurrencyLevel field is set.
*/
@java.lang.Override public boolean hasConcurrencyLevel() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* FILE by default if unset
*
*
* optional .cz.proto.Manifest.ConcurrencyLevel concurrency_level = 21;
* @return The enum numeric value on the wire for concurrencyLevel.
*/
@java.lang.Override public int getConcurrencyLevelValue() {
return concurrencyLevel_;
}
/**
*
* FILE by default if unset
*
*
* optional .cz.proto.Manifest.ConcurrencyLevel concurrency_level = 21;
* @return The concurrencyLevel.
*/
@java.lang.Override public cz.proto.Manifest.ConcurrencyLevel getConcurrencyLevel() {
@SuppressWarnings("deprecation")
cz.proto.Manifest.ConcurrencyLevel result = cz.proto.Manifest.ConcurrencyLevel.valueOf(concurrencyLevel_);
return result == null ? cz.proto.Manifest.ConcurrencyLevel.UNRECOGNIZED : result;
}
public static final int ADDED_DATA_FILES_FIELD_NUMBER = 15;
private java.util.List addedDataFiles_;
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
@java.lang.Override
public java.util.List getAddedDataFilesList() {
return addedDataFiles_;
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
@java.lang.Override
public java.util.List extends cz.proto.FileMetaDataOrBuilder>
getAddedDataFilesOrBuilderList() {
return addedDataFiles_;
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
@java.lang.Override
public int getAddedDataFilesCount() {
return addedDataFiles_.size();
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
@java.lang.Override
public cz.proto.FileMetaData getAddedDataFiles(int index) {
return addedDataFiles_.get(index);
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
@java.lang.Override
public cz.proto.FileMetaDataOrBuilder getAddedDataFilesOrBuilder(
int index) {
return addedDataFiles_.get(index);
}
public static final int DELETED_DATA_FILES_FIELD_NUMBER = 17;
private java.util.List deletedDataFiles_;
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
@java.lang.Override
public java.util.List getDeletedDataFilesList() {
return deletedDataFiles_;
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
@java.lang.Override
public java.util.List extends cz.proto.FileMetaDataOrBuilder>
getDeletedDataFilesOrBuilderList() {
return deletedDataFiles_;
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
@java.lang.Override
public int getDeletedDataFilesCount() {
return deletedDataFiles_.size();
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
@java.lang.Override
public cz.proto.FileMetaData getDeletedDataFiles(int index) {
return deletedDataFiles_.get(index);
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
@java.lang.Override
public cz.proto.FileMetaDataOrBuilder getDeletedDataFilesOrBuilder(
int index) {
return deletedDataFiles_.get(index);
}
public static final int ADDED_DELTA_FILES_FIELD_NUMBER = 18;
private java.util.List addedDeltaFiles_;
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
@java.lang.Override
public java.util.List getAddedDeltaFilesList() {
return addedDeltaFiles_;
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
@java.lang.Override
public java.util.List extends cz.proto.FileMetaDataOrBuilder>
getAddedDeltaFilesOrBuilderList() {
return addedDeltaFiles_;
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
@java.lang.Override
public int getAddedDeltaFilesCount() {
return addedDeltaFiles_.size();
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
@java.lang.Override
public cz.proto.FileMetaData getAddedDeltaFiles(int index) {
return addedDeltaFiles_.get(index);
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
@java.lang.Override
public cz.proto.FileMetaDataOrBuilder getAddedDeltaFilesOrBuilder(
int index) {
return addedDeltaFiles_.get(index);
}
public static final int DELETED_DELTA_FILES_FIELD_NUMBER = 19;
private java.util.List deletedDeltaFiles_;
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
@java.lang.Override
public java.util.List getDeletedDeltaFilesList() {
return deletedDeltaFiles_;
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
@java.lang.Override
public java.util.List extends cz.proto.FileMetaDataOrBuilder>
getDeletedDeltaFilesOrBuilderList() {
return deletedDeltaFiles_;
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
@java.lang.Override
public int getDeletedDeltaFilesCount() {
return deletedDeltaFiles_.size();
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
@java.lang.Override
public cz.proto.FileMetaData getDeletedDeltaFiles(int index) {
return deletedDeltaFiles_.get(index);
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
@java.lang.Override
public cz.proto.FileMetaDataOrBuilder getDeletedDeltaFilesOrBuilder(
int index) {
return deletedDeltaFiles_.get(index);
}
public static final int DELETED_PARTITION_FIELD_NUMBER = 5;
private java.util.List deletedPartition_;
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
@java.lang.Override
public java.util.List getDeletedPartitionList() {
return deletedPartition_;
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
@java.lang.Override
public java.util.List extends cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder>
getDeletedPartitionOrBuilderList() {
return deletedPartition_;
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
@java.lang.Override
public int getDeletedPartitionCount() {
return deletedPartition_.size();
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
@java.lang.Override
public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo getDeletedPartition(int index) {
return deletedPartition_.get(index);
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
@java.lang.Override
public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder getDeletedPartitionOrBuilder(
int index) {
return deletedPartition_.get(index);
}
public static final int SOURCE_TABLES_FIELD_NUMBER = 20;
private java.util.List sourceTables_;
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
@java.lang.Override
public java.util.List getSourceTablesList() {
return sourceTables_;
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
@java.lang.Override
public java.util.List extends cz.proto.MVSourceOrBuilder>
getSourceTablesOrBuilderList() {
return sourceTables_;
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
@java.lang.Override
public int getSourceTablesCount() {
return sourceTables_.size();
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
@java.lang.Override
public cz.proto.MVSource getSourceTables(int index) {
return sourceTables_.get(index);
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
@java.lang.Override
public cz.proto.MVSourceOrBuilder getSourceTablesOrBuilder(
int index) {
return sourceTables_.get(index);
}
public static final int STREAM_TABLES_FIELD_NUMBER = 22;
private java.util.List streamTables_;
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
@java.lang.Override
public java.util.List getStreamTablesList() {
return streamTables_;
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
@java.lang.Override
public java.util.List extends cz.proto.TableStreamStateOrBuilder>
getStreamTablesOrBuilderList() {
return streamTables_;
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
@java.lang.Override
public int getStreamTablesCount() {
return streamTables_.size();
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
@java.lang.Override
public cz.proto.TableStreamState getStreamTables(int index) {
return streamTables_.get(index);
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
@java.lang.Override
public cz.proto.TableStreamStateOrBuilder getStreamTablesOrBuilder(
int index) {
return streamTables_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < deletedPartition_.size(); i++) {
output.writeMessage(5, deletedPartition_.get(i));
}
if (clusterSpecId_ != 0) {
output.writeUInt32(7, clusterSpecId_);
}
if (sortOrderSpecId_ != 0) {
output.writeUInt32(8, sortOrderSpecId_);
}
if (primaryKeySpecId_ != 0) {
output.writeUInt32(9, primaryKeySpecId_);
}
if (stats_ != null) {
output.writeMessage(10, getStats());
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(14, baseSnapshotId_);
}
for (int i = 0; i < addedDataFiles_.size(); i++) {
output.writeMessage(15, addedDataFiles_.get(i));
}
for (int i = 0; i < deletedDataFiles_.size(); i++) {
output.writeMessage(17, deletedDataFiles_.get(i));
}
for (int i = 0; i < addedDeltaFiles_.size(); i++) {
output.writeMessage(18, addedDeltaFiles_.get(i));
}
for (int i = 0; i < deletedDeltaFiles_.size(); i++) {
output.writeMessage(19, deletedDeltaFiles_.get(i));
}
for (int i = 0; i < sourceTables_.size(); i++) {
output.writeMessage(20, sourceTables_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeEnum(21, concurrencyLevel_);
}
for (int i = 0; i < streamTables_.size(); i++) {
output.writeMessage(22, streamTables_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < deletedPartition_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, deletedPartition_.get(i));
}
if (clusterSpecId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, clusterSpecId_);
}
if (sortOrderSpecId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, sortOrderSpecId_);
}
if (primaryKeySpecId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, primaryKeySpecId_);
}
if (stats_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getStats());
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(14, baseSnapshotId_);
}
for (int i = 0; i < addedDataFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, addedDataFiles_.get(i));
}
for (int i = 0; i < deletedDataFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, deletedDataFiles_.get(i));
}
for (int i = 0; i < addedDeltaFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, addedDeltaFiles_.get(i));
}
for (int i = 0; i < deletedDeltaFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, deletedDeltaFiles_.get(i));
}
for (int i = 0; i < sourceTables_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, sourceTables_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(21, concurrencyLevel_);
}
for (int i = 0; i < streamTables_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(22, streamTables_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.proto.Manifest)) {
return super.equals(obj);
}
cz.proto.Manifest other = (cz.proto.Manifest) obj;
if (getClusterSpecId()
!= other.getClusterSpecId()) return false;
if (getSortOrderSpecId()
!= other.getSortOrderSpecId()) return false;
if (getPrimaryKeySpecId()
!= other.getPrimaryKeySpecId()) return false;
if (hasStats() != other.hasStats()) return false;
if (hasStats()) {
if (!getStats()
.equals(other.getStats())) return false;
}
if (hasBaseSnapshotId() != other.hasBaseSnapshotId()) return false;
if (hasBaseSnapshotId()) {
if (getBaseSnapshotId()
!= other.getBaseSnapshotId()) return false;
}
if (hasConcurrencyLevel() != other.hasConcurrencyLevel()) return false;
if (hasConcurrencyLevel()) {
if (concurrencyLevel_ != other.concurrencyLevel_) return false;
}
if (!getAddedDataFilesList()
.equals(other.getAddedDataFilesList())) return false;
if (!getDeletedDataFilesList()
.equals(other.getDeletedDataFilesList())) return false;
if (!getAddedDeltaFilesList()
.equals(other.getAddedDeltaFilesList())) return false;
if (!getDeletedDeltaFilesList()
.equals(other.getDeletedDeltaFilesList())) return false;
if (!getDeletedPartitionList()
.equals(other.getDeletedPartitionList())) return false;
if (!getSourceTablesList()
.equals(other.getSourceTablesList())) return false;
if (!getStreamTablesList()
.equals(other.getStreamTablesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CLUSTER_SPEC_ID_FIELD_NUMBER;
hash = (53 * hash) + getClusterSpecId();
hash = (37 * hash) + SORT_ORDER_SPEC_ID_FIELD_NUMBER;
hash = (53 * hash) + getSortOrderSpecId();
hash = (37 * hash) + PRIMARY_KEY_SPEC_ID_FIELD_NUMBER;
hash = (53 * hash) + getPrimaryKeySpecId();
if (hasStats()) {
hash = (37 * hash) + STATS_FIELD_NUMBER;
hash = (53 * hash) + getStats().hashCode();
}
if (hasBaseSnapshotId()) {
hash = (37 * hash) + BASE_SNAPSHOT_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBaseSnapshotId());
}
if (hasConcurrencyLevel()) {
hash = (37 * hash) + CONCURRENCY_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + concurrencyLevel_;
}
if (getAddedDataFilesCount() > 0) {
hash = (37 * hash) + ADDED_DATA_FILES_FIELD_NUMBER;
hash = (53 * hash) + getAddedDataFilesList().hashCode();
}
if (getDeletedDataFilesCount() > 0) {
hash = (37 * hash) + DELETED_DATA_FILES_FIELD_NUMBER;
hash = (53 * hash) + getDeletedDataFilesList().hashCode();
}
if (getAddedDeltaFilesCount() > 0) {
hash = (37 * hash) + ADDED_DELTA_FILES_FIELD_NUMBER;
hash = (53 * hash) + getAddedDeltaFilesList().hashCode();
}
if (getDeletedDeltaFilesCount() > 0) {
hash = (37 * hash) + DELETED_DELTA_FILES_FIELD_NUMBER;
hash = (53 * hash) + getDeletedDeltaFilesList().hashCode();
}
if (getDeletedPartitionCount() > 0) {
hash = (37 * hash) + DELETED_PARTITION_FIELD_NUMBER;
hash = (53 * hash) + getDeletedPartitionList().hashCode();
}
if (getSourceTablesCount() > 0) {
hash = (37 * hash) + SOURCE_TABLES_FIELD_NUMBER;
hash = (53 * hash) + getSourceTablesList().hashCode();
}
if (getStreamTablesCount() > 0) {
hash = (37 * hash) + STREAM_TABLES_FIELD_NUMBER;
hash = (53 * hash) + getStreamTablesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.Manifest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.Manifest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.Manifest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.Manifest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.Manifest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.Manifest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.Manifest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.Manifest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.Manifest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.Manifest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.Manifest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.Manifest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.proto.Manifest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code cz.proto.Manifest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.Manifest)
cz.proto.ManifestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.ManifestProto.internal_static_cz_proto_Manifest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.ManifestProto.internal_static_cz_proto_Manifest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.Manifest.class, cz.proto.Manifest.Builder.class);
}
// Construct using cz.proto.Manifest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getAddedDataFilesFieldBuilder();
getDeletedDataFilesFieldBuilder();
getAddedDeltaFilesFieldBuilder();
getDeletedDeltaFilesFieldBuilder();
getDeletedPartitionFieldBuilder();
getSourceTablesFieldBuilder();
getStreamTablesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
clusterSpecId_ = 0;
sortOrderSpecId_ = 0;
primaryKeySpecId_ = 0;
if (statsBuilder_ == null) {
stats_ = null;
} else {
stats_ = null;
statsBuilder_ = null;
}
baseSnapshotId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
concurrencyLevel_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (addedDataFilesBuilder_ == null) {
addedDataFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
addedDataFilesBuilder_.clear();
}
if (deletedDataFilesBuilder_ == null) {
deletedDataFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
deletedDataFilesBuilder_.clear();
}
if (addedDeltaFilesBuilder_ == null) {
addedDeltaFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
addedDeltaFilesBuilder_.clear();
}
if (deletedDeltaFilesBuilder_ == null) {
deletedDeltaFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
deletedDeltaFilesBuilder_.clear();
}
if (deletedPartitionBuilder_ == null) {
deletedPartition_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
deletedPartitionBuilder_.clear();
}
if (sourceTablesBuilder_ == null) {
sourceTables_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
} else {
sourceTablesBuilder_.clear();
}
if (streamTablesBuilder_ == null) {
streamTables_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
} else {
streamTablesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.ManifestProto.internal_static_cz_proto_Manifest_descriptor;
}
@java.lang.Override
public cz.proto.Manifest getDefaultInstanceForType() {
return cz.proto.Manifest.getDefaultInstance();
}
@java.lang.Override
public cz.proto.Manifest build() {
cz.proto.Manifest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.Manifest buildPartial() {
cz.proto.Manifest result = new cz.proto.Manifest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.clusterSpecId_ = clusterSpecId_;
result.sortOrderSpecId_ = sortOrderSpecId_;
result.primaryKeySpecId_ = primaryKeySpecId_;
if (statsBuilder_ == null) {
result.stats_ = stats_;
} else {
result.stats_ = statsBuilder_.build();
}
if (((from_bitField0_ & 0x00000001) != 0)) {
result.baseSnapshotId_ = baseSnapshotId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.concurrencyLevel_ = concurrencyLevel_;
if (addedDataFilesBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
addedDataFiles_ = java.util.Collections.unmodifiableList(addedDataFiles_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.addedDataFiles_ = addedDataFiles_;
} else {
result.addedDataFiles_ = addedDataFilesBuilder_.build();
}
if (deletedDataFilesBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
deletedDataFiles_ = java.util.Collections.unmodifiableList(deletedDataFiles_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.deletedDataFiles_ = deletedDataFiles_;
} else {
result.deletedDataFiles_ = deletedDataFilesBuilder_.build();
}
if (addedDeltaFilesBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
addedDeltaFiles_ = java.util.Collections.unmodifiableList(addedDeltaFiles_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.addedDeltaFiles_ = addedDeltaFiles_;
} else {
result.addedDeltaFiles_ = addedDeltaFilesBuilder_.build();
}
if (deletedDeltaFilesBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0)) {
deletedDeltaFiles_ = java.util.Collections.unmodifiableList(deletedDeltaFiles_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.deletedDeltaFiles_ = deletedDeltaFiles_;
} else {
result.deletedDeltaFiles_ = deletedDeltaFilesBuilder_.build();
}
if (deletedPartitionBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0)) {
deletedPartition_ = java.util.Collections.unmodifiableList(deletedPartition_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.deletedPartition_ = deletedPartition_;
} else {
result.deletedPartition_ = deletedPartitionBuilder_.build();
}
if (sourceTablesBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0)) {
sourceTables_ = java.util.Collections.unmodifiableList(sourceTables_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.sourceTables_ = sourceTables_;
} else {
result.sourceTables_ = sourceTablesBuilder_.build();
}
if (streamTablesBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0)) {
streamTables_ = java.util.Collections.unmodifiableList(streamTables_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.streamTables_ = streamTables_;
} else {
result.streamTables_ = streamTablesBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.proto.Manifest) {
return mergeFrom((cz.proto.Manifest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.Manifest other) {
if (other == cz.proto.Manifest.getDefaultInstance()) return this;
if (other.getClusterSpecId() != 0) {
setClusterSpecId(other.getClusterSpecId());
}
if (other.getSortOrderSpecId() != 0) {
setSortOrderSpecId(other.getSortOrderSpecId());
}
if (other.getPrimaryKeySpecId() != 0) {
setPrimaryKeySpecId(other.getPrimaryKeySpecId());
}
if (other.hasStats()) {
mergeStats(other.getStats());
}
if (other.hasBaseSnapshotId()) {
setBaseSnapshotId(other.getBaseSnapshotId());
}
if (other.hasConcurrencyLevel()) {
setConcurrencyLevel(other.getConcurrencyLevel());
}
if (addedDataFilesBuilder_ == null) {
if (!other.addedDataFiles_.isEmpty()) {
if (addedDataFiles_.isEmpty()) {
addedDataFiles_ = other.addedDataFiles_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureAddedDataFilesIsMutable();
addedDataFiles_.addAll(other.addedDataFiles_);
}
onChanged();
}
} else {
if (!other.addedDataFiles_.isEmpty()) {
if (addedDataFilesBuilder_.isEmpty()) {
addedDataFilesBuilder_.dispose();
addedDataFilesBuilder_ = null;
addedDataFiles_ = other.addedDataFiles_;
bitField0_ = (bitField0_ & ~0x00000004);
addedDataFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAddedDataFilesFieldBuilder() : null;
} else {
addedDataFilesBuilder_.addAllMessages(other.addedDataFiles_);
}
}
}
if (deletedDataFilesBuilder_ == null) {
if (!other.deletedDataFiles_.isEmpty()) {
if (deletedDataFiles_.isEmpty()) {
deletedDataFiles_ = other.deletedDataFiles_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureDeletedDataFilesIsMutable();
deletedDataFiles_.addAll(other.deletedDataFiles_);
}
onChanged();
}
} else {
if (!other.deletedDataFiles_.isEmpty()) {
if (deletedDataFilesBuilder_.isEmpty()) {
deletedDataFilesBuilder_.dispose();
deletedDataFilesBuilder_ = null;
deletedDataFiles_ = other.deletedDataFiles_;
bitField0_ = (bitField0_ & ~0x00000008);
deletedDataFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDeletedDataFilesFieldBuilder() : null;
} else {
deletedDataFilesBuilder_.addAllMessages(other.deletedDataFiles_);
}
}
}
if (addedDeltaFilesBuilder_ == null) {
if (!other.addedDeltaFiles_.isEmpty()) {
if (addedDeltaFiles_.isEmpty()) {
addedDeltaFiles_ = other.addedDeltaFiles_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureAddedDeltaFilesIsMutable();
addedDeltaFiles_.addAll(other.addedDeltaFiles_);
}
onChanged();
}
} else {
if (!other.addedDeltaFiles_.isEmpty()) {
if (addedDeltaFilesBuilder_.isEmpty()) {
addedDeltaFilesBuilder_.dispose();
addedDeltaFilesBuilder_ = null;
addedDeltaFiles_ = other.addedDeltaFiles_;
bitField0_ = (bitField0_ & ~0x00000010);
addedDeltaFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAddedDeltaFilesFieldBuilder() : null;
} else {
addedDeltaFilesBuilder_.addAllMessages(other.addedDeltaFiles_);
}
}
}
if (deletedDeltaFilesBuilder_ == null) {
if (!other.deletedDeltaFiles_.isEmpty()) {
if (deletedDeltaFiles_.isEmpty()) {
deletedDeltaFiles_ = other.deletedDeltaFiles_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureDeletedDeltaFilesIsMutable();
deletedDeltaFiles_.addAll(other.deletedDeltaFiles_);
}
onChanged();
}
} else {
if (!other.deletedDeltaFiles_.isEmpty()) {
if (deletedDeltaFilesBuilder_.isEmpty()) {
deletedDeltaFilesBuilder_.dispose();
deletedDeltaFilesBuilder_ = null;
deletedDeltaFiles_ = other.deletedDeltaFiles_;
bitField0_ = (bitField0_ & ~0x00000020);
deletedDeltaFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDeletedDeltaFilesFieldBuilder() : null;
} else {
deletedDeltaFilesBuilder_.addAllMessages(other.deletedDeltaFiles_);
}
}
}
if (deletedPartitionBuilder_ == null) {
if (!other.deletedPartition_.isEmpty()) {
if (deletedPartition_.isEmpty()) {
deletedPartition_ = other.deletedPartition_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureDeletedPartitionIsMutable();
deletedPartition_.addAll(other.deletedPartition_);
}
onChanged();
}
} else {
if (!other.deletedPartition_.isEmpty()) {
if (deletedPartitionBuilder_.isEmpty()) {
deletedPartitionBuilder_.dispose();
deletedPartitionBuilder_ = null;
deletedPartition_ = other.deletedPartition_;
bitField0_ = (bitField0_ & ~0x00000040);
deletedPartitionBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDeletedPartitionFieldBuilder() : null;
} else {
deletedPartitionBuilder_.addAllMessages(other.deletedPartition_);
}
}
}
if (sourceTablesBuilder_ == null) {
if (!other.sourceTables_.isEmpty()) {
if (sourceTables_.isEmpty()) {
sourceTables_ = other.sourceTables_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureSourceTablesIsMutable();
sourceTables_.addAll(other.sourceTables_);
}
onChanged();
}
} else {
if (!other.sourceTables_.isEmpty()) {
if (sourceTablesBuilder_.isEmpty()) {
sourceTablesBuilder_.dispose();
sourceTablesBuilder_ = null;
sourceTables_ = other.sourceTables_;
bitField0_ = (bitField0_ & ~0x00000080);
sourceTablesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSourceTablesFieldBuilder() : null;
} else {
sourceTablesBuilder_.addAllMessages(other.sourceTables_);
}
}
}
if (streamTablesBuilder_ == null) {
if (!other.streamTables_.isEmpty()) {
if (streamTables_.isEmpty()) {
streamTables_ = other.streamTables_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureStreamTablesIsMutable();
streamTables_.addAll(other.streamTables_);
}
onChanged();
}
} else {
if (!other.streamTables_.isEmpty()) {
if (streamTablesBuilder_.isEmpty()) {
streamTablesBuilder_.dispose();
streamTablesBuilder_ = null;
streamTables_ = other.streamTables_;
bitField0_ = (bitField0_ & ~0x00000100);
streamTablesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStreamTablesFieldBuilder() : null;
} else {
streamTablesBuilder_.addAllMessages(other.streamTables_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.proto.Manifest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.Manifest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int clusterSpecId_ ;
/**
*
* TableMeta.cluster_info_spec.spec_id
*
*
* uint32 cluster_spec_id = 7;
* @return The clusterSpecId.
*/
@java.lang.Override
public int getClusterSpecId() {
return clusterSpecId_;
}
/**
*
* TableMeta.cluster_info_spec.spec_id
*
*
* uint32 cluster_spec_id = 7;
* @param value The clusterSpecId to set.
* @return This builder for chaining.
*/
public Builder setClusterSpecId(int value) {
clusterSpecId_ = value;
onChanged();
return this;
}
/**
*
* TableMeta.cluster_info_spec.spec_id
*
*
* uint32 cluster_spec_id = 7;
* @return This builder for chaining.
*/
public Builder clearClusterSpecId() {
clusterSpecId_ = 0;
onChanged();
return this;
}
private int sortOrderSpecId_ ;
/**
*
* TableMeta.sort_order_spec.spec_id
*
*
* uint32 sort_order_spec_id = 8;
* @return The sortOrderSpecId.
*/
@java.lang.Override
public int getSortOrderSpecId() {
return sortOrderSpecId_;
}
/**
*
* TableMeta.sort_order_spec.spec_id
*
*
* uint32 sort_order_spec_id = 8;
* @param value The sortOrderSpecId to set.
* @return This builder for chaining.
*/
public Builder setSortOrderSpecId(int value) {
sortOrderSpecId_ = value;
onChanged();
return this;
}
/**
*
* TableMeta.sort_order_spec.spec_id
*
*
* uint32 sort_order_spec_id = 8;
* @return This builder for chaining.
*/
public Builder clearSortOrderSpecId() {
sortOrderSpecId_ = 0;
onChanged();
return this;
}
private int primaryKeySpecId_ ;
/**
*
* TableMeta.primary_key_spec.spec_id
*
*
* uint32 primary_key_spec_id = 9;
* @return The primaryKeySpecId.
*/
@java.lang.Override
public int getPrimaryKeySpecId() {
return primaryKeySpecId_;
}
/**
*
* TableMeta.primary_key_spec.spec_id
*
*
* uint32 primary_key_spec_id = 9;
* @param value The primaryKeySpecId to set.
* @return This builder for chaining.
*/
public Builder setPrimaryKeySpecId(int value) {
primaryKeySpecId_ = value;
onChanged();
return this;
}
/**
*
* TableMeta.primary_key_spec.spec_id
*
*
* uint32 primary_key_spec_id = 9;
* @return This builder for chaining.
*/
public Builder clearPrimaryKeySpecId() {
primaryKeySpecId_ = 0;
onChanged();
return this;
}
private cz.proto.StatsData stats_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StatsData, cz.proto.StatsData.Builder, cz.proto.StatsDataOrBuilder> statsBuilder_;
/**
*
* contains snapshot id and other stats
*
*
* .cz.proto.StatsData stats = 10;
* @return Whether the stats field is set.
*/
public boolean hasStats() {
return statsBuilder_ != null || stats_ != null;
}
/**
*
* contains snapshot id and other stats
*
*
* .cz.proto.StatsData stats = 10;
* @return The stats.
*/
public cz.proto.StatsData getStats() {
if (statsBuilder_ == null) {
return stats_ == null ? cz.proto.StatsData.getDefaultInstance() : stats_;
} else {
return statsBuilder_.getMessage();
}
}
/**
*
* contains snapshot id and other stats
*
*
* .cz.proto.StatsData stats = 10;
*/
public Builder setStats(cz.proto.StatsData value) {
if (statsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stats_ = value;
onChanged();
} else {
statsBuilder_.setMessage(value);
}
return this;
}
/**
*
* contains snapshot id and other stats
*
*
* .cz.proto.StatsData stats = 10;
*/
public Builder setStats(
cz.proto.StatsData.Builder builderForValue) {
if (statsBuilder_ == null) {
stats_ = builderForValue.build();
onChanged();
} else {
statsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* contains snapshot id and other stats
*
*
* .cz.proto.StatsData stats = 10;
*/
public Builder mergeStats(cz.proto.StatsData value) {
if (statsBuilder_ == null) {
if (stats_ != null) {
stats_ =
cz.proto.StatsData.newBuilder(stats_).mergeFrom(value).buildPartial();
} else {
stats_ = value;
}
onChanged();
} else {
statsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* contains snapshot id and other stats
*
*
* .cz.proto.StatsData stats = 10;
*/
public Builder clearStats() {
if (statsBuilder_ == null) {
stats_ = null;
onChanged();
} else {
stats_ = null;
statsBuilder_ = null;
}
return this;
}
/**
*
* contains snapshot id and other stats
*
*
* .cz.proto.StatsData stats = 10;
*/
public cz.proto.StatsData.Builder getStatsBuilder() {
onChanged();
return getStatsFieldBuilder().getBuilder();
}
/**
*
* contains snapshot id and other stats
*
*
* .cz.proto.StatsData stats = 10;
*/
public cz.proto.StatsDataOrBuilder getStatsOrBuilder() {
if (statsBuilder_ != null) {
return statsBuilder_.getMessageOrBuilder();
} else {
return stats_ == null ?
cz.proto.StatsData.getDefaultInstance() : stats_;
}
}
/**
*
* contains snapshot id and other stats
*
*
* .cz.proto.StatsData stats = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StatsData, cz.proto.StatsData.Builder, cz.proto.StatsDataOrBuilder>
getStatsFieldBuilder() {
if (statsBuilder_ == null) {
statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StatsData, cz.proto.StatsData.Builder, cz.proto.StatsDataOrBuilder>(
getStats(),
getParentForChildren(),
isClean());
stats_ = null;
}
return statsBuilder_;
}
private long baseSnapshotId_ ;
/**
*
* The snapshot which current manifest's change is based on.
* Eg: one update SQL statement bases on snapshot x to read data and update something then commit.
* Snapshot x is the base_snapshot_id.
*
*
* optional int64 base_snapshot_id = 14;
* @return Whether the baseSnapshotId field is set.
*/
@java.lang.Override
public boolean hasBaseSnapshotId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The snapshot which current manifest's change is based on.
* Eg: one update SQL statement bases on snapshot x to read data and update something then commit.
* Snapshot x is the base_snapshot_id.
*
*
* optional int64 base_snapshot_id = 14;
* @return The baseSnapshotId.
*/
@java.lang.Override
public long getBaseSnapshotId() {
return baseSnapshotId_;
}
/**
*
* The snapshot which current manifest's change is based on.
* Eg: one update SQL statement bases on snapshot x to read data and update something then commit.
* Snapshot x is the base_snapshot_id.
*
*
* optional int64 base_snapshot_id = 14;
* @param value The baseSnapshotId to set.
* @return This builder for chaining.
*/
public Builder setBaseSnapshotId(long value) {
bitField0_ |= 0x00000001;
baseSnapshotId_ = value;
onChanged();
return this;
}
/**
*
* The snapshot which current manifest's change is based on.
* Eg: one update SQL statement bases on snapshot x to read data and update something then commit.
* Snapshot x is the base_snapshot_id.
*
*
* optional int64 base_snapshot_id = 14;
* @return This builder for chaining.
*/
public Builder clearBaseSnapshotId() {
bitField0_ = (bitField0_ & ~0x00000001);
baseSnapshotId_ = 0L;
onChanged();
return this;
}
private int concurrencyLevel_ = 0;
/**
*
* FILE by default if unset
*
*
* optional .cz.proto.Manifest.ConcurrencyLevel concurrency_level = 21;
* @return Whether the concurrencyLevel field is set.
*/
@java.lang.Override public boolean hasConcurrencyLevel() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* FILE by default if unset
*
*
* optional .cz.proto.Manifest.ConcurrencyLevel concurrency_level = 21;
* @return The enum numeric value on the wire for concurrencyLevel.
*/
@java.lang.Override public int getConcurrencyLevelValue() {
return concurrencyLevel_;
}
/**
*
* FILE by default if unset
*
*
* optional .cz.proto.Manifest.ConcurrencyLevel concurrency_level = 21;
* @param value The enum numeric value on the wire for concurrencyLevel to set.
* @return This builder for chaining.
*/
public Builder setConcurrencyLevelValue(int value) {
bitField0_ |= 0x00000002;
concurrencyLevel_ = value;
onChanged();
return this;
}
/**
*
* FILE by default if unset
*
*
* optional .cz.proto.Manifest.ConcurrencyLevel concurrency_level = 21;
* @return The concurrencyLevel.
*/
@java.lang.Override
public cz.proto.Manifest.ConcurrencyLevel getConcurrencyLevel() {
@SuppressWarnings("deprecation")
cz.proto.Manifest.ConcurrencyLevel result = cz.proto.Manifest.ConcurrencyLevel.valueOf(concurrencyLevel_);
return result == null ? cz.proto.Manifest.ConcurrencyLevel.UNRECOGNIZED : result;
}
/**
*
* FILE by default if unset
*
*
* optional .cz.proto.Manifest.ConcurrencyLevel concurrency_level = 21;
* @param value The concurrencyLevel to set.
* @return This builder for chaining.
*/
public Builder setConcurrencyLevel(cz.proto.Manifest.ConcurrencyLevel value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
concurrencyLevel_ = value.getNumber();
onChanged();
return this;
}
/**
*
* FILE by default if unset
*
*
* optional .cz.proto.Manifest.ConcurrencyLevel concurrency_level = 21;
* @return This builder for chaining.
*/
public Builder clearConcurrencyLevel() {
bitField0_ = (bitField0_ & ~0x00000002);
concurrencyLevel_ = 0;
onChanged();
return this;
}
private java.util.List addedDataFiles_ =
java.util.Collections.emptyList();
private void ensureAddedDataFilesIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
addedDataFiles_ = new java.util.ArrayList(addedDataFiles_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder> addedDataFilesBuilder_;
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public java.util.List getAddedDataFilesList() {
if (addedDataFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(addedDataFiles_);
} else {
return addedDataFilesBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public int getAddedDataFilesCount() {
if (addedDataFilesBuilder_ == null) {
return addedDataFiles_.size();
} else {
return addedDataFilesBuilder_.getCount();
}
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public cz.proto.FileMetaData getAddedDataFiles(int index) {
if (addedDataFilesBuilder_ == null) {
return addedDataFiles_.get(index);
} else {
return addedDataFilesBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public Builder setAddedDataFiles(
int index, cz.proto.FileMetaData value) {
if (addedDataFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAddedDataFilesIsMutable();
addedDataFiles_.set(index, value);
onChanged();
} else {
addedDataFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public Builder setAddedDataFiles(
int index, cz.proto.FileMetaData.Builder builderForValue) {
if (addedDataFilesBuilder_ == null) {
ensureAddedDataFilesIsMutable();
addedDataFiles_.set(index, builderForValue.build());
onChanged();
} else {
addedDataFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public Builder addAddedDataFiles(cz.proto.FileMetaData value) {
if (addedDataFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAddedDataFilesIsMutable();
addedDataFiles_.add(value);
onChanged();
} else {
addedDataFilesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public Builder addAddedDataFiles(
int index, cz.proto.FileMetaData value) {
if (addedDataFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAddedDataFilesIsMutable();
addedDataFiles_.add(index, value);
onChanged();
} else {
addedDataFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public Builder addAddedDataFiles(
cz.proto.FileMetaData.Builder builderForValue) {
if (addedDataFilesBuilder_ == null) {
ensureAddedDataFilesIsMutable();
addedDataFiles_.add(builderForValue.build());
onChanged();
} else {
addedDataFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public Builder addAddedDataFiles(
int index, cz.proto.FileMetaData.Builder builderForValue) {
if (addedDataFilesBuilder_ == null) {
ensureAddedDataFilesIsMutable();
addedDataFiles_.add(index, builderForValue.build());
onChanged();
} else {
addedDataFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public Builder addAllAddedDataFiles(
java.lang.Iterable extends cz.proto.FileMetaData> values) {
if (addedDataFilesBuilder_ == null) {
ensureAddedDataFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, addedDataFiles_);
onChanged();
} else {
addedDataFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public Builder clearAddedDataFiles() {
if (addedDataFilesBuilder_ == null) {
addedDataFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
addedDataFilesBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public Builder removeAddedDataFiles(int index) {
if (addedDataFilesBuilder_ == null) {
ensureAddedDataFilesIsMutable();
addedDataFiles_.remove(index);
onChanged();
} else {
addedDataFilesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public cz.proto.FileMetaData.Builder getAddedDataFilesBuilder(
int index) {
return getAddedDataFilesFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public cz.proto.FileMetaDataOrBuilder getAddedDataFilesOrBuilder(
int index) {
if (addedDataFilesBuilder_ == null) {
return addedDataFiles_.get(index); } else {
return addedDataFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public java.util.List extends cz.proto.FileMetaDataOrBuilder>
getAddedDataFilesOrBuilderList() {
if (addedDataFilesBuilder_ != null) {
return addedDataFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(addedDataFiles_);
}
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public cz.proto.FileMetaData.Builder addAddedDataFilesBuilder() {
return getAddedDataFilesFieldBuilder().addBuilder(
cz.proto.FileMetaData.getDefaultInstance());
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public cz.proto.FileMetaData.Builder addAddedDataFilesBuilder(
int index) {
return getAddedDataFilesFieldBuilder().addBuilder(
index, cz.proto.FileMetaData.getDefaultInstance());
}
/**
* repeated .cz.proto.FileMetaData added_data_files = 15;
*/
public java.util.List
getAddedDataFilesBuilderList() {
return getAddedDataFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder>
getAddedDataFilesFieldBuilder() {
if (addedDataFilesBuilder_ == null) {
addedDataFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder>(
addedDataFiles_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
addedDataFiles_ = null;
}
return addedDataFilesBuilder_;
}
private java.util.List deletedDataFiles_ =
java.util.Collections.emptyList();
private void ensureDeletedDataFilesIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
deletedDataFiles_ = new java.util.ArrayList(deletedDataFiles_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder> deletedDataFilesBuilder_;
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public java.util.List getDeletedDataFilesList() {
if (deletedDataFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(deletedDataFiles_);
} else {
return deletedDataFilesBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public int getDeletedDataFilesCount() {
if (deletedDataFilesBuilder_ == null) {
return deletedDataFiles_.size();
} else {
return deletedDataFilesBuilder_.getCount();
}
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public cz.proto.FileMetaData getDeletedDataFiles(int index) {
if (deletedDataFilesBuilder_ == null) {
return deletedDataFiles_.get(index);
} else {
return deletedDataFilesBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public Builder setDeletedDataFiles(
int index, cz.proto.FileMetaData value) {
if (deletedDataFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeletedDataFilesIsMutable();
deletedDataFiles_.set(index, value);
onChanged();
} else {
deletedDataFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public Builder setDeletedDataFiles(
int index, cz.proto.FileMetaData.Builder builderForValue) {
if (deletedDataFilesBuilder_ == null) {
ensureDeletedDataFilesIsMutable();
deletedDataFiles_.set(index, builderForValue.build());
onChanged();
} else {
deletedDataFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public Builder addDeletedDataFiles(cz.proto.FileMetaData value) {
if (deletedDataFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeletedDataFilesIsMutable();
deletedDataFiles_.add(value);
onChanged();
} else {
deletedDataFilesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public Builder addDeletedDataFiles(
int index, cz.proto.FileMetaData value) {
if (deletedDataFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeletedDataFilesIsMutable();
deletedDataFiles_.add(index, value);
onChanged();
} else {
deletedDataFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public Builder addDeletedDataFiles(
cz.proto.FileMetaData.Builder builderForValue) {
if (deletedDataFilesBuilder_ == null) {
ensureDeletedDataFilesIsMutable();
deletedDataFiles_.add(builderForValue.build());
onChanged();
} else {
deletedDataFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public Builder addDeletedDataFiles(
int index, cz.proto.FileMetaData.Builder builderForValue) {
if (deletedDataFilesBuilder_ == null) {
ensureDeletedDataFilesIsMutable();
deletedDataFiles_.add(index, builderForValue.build());
onChanged();
} else {
deletedDataFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public Builder addAllDeletedDataFiles(
java.lang.Iterable extends cz.proto.FileMetaData> values) {
if (deletedDataFilesBuilder_ == null) {
ensureDeletedDataFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deletedDataFiles_);
onChanged();
} else {
deletedDataFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public Builder clearDeletedDataFiles() {
if (deletedDataFilesBuilder_ == null) {
deletedDataFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
deletedDataFilesBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public Builder removeDeletedDataFiles(int index) {
if (deletedDataFilesBuilder_ == null) {
ensureDeletedDataFilesIsMutable();
deletedDataFiles_.remove(index);
onChanged();
} else {
deletedDataFilesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public cz.proto.FileMetaData.Builder getDeletedDataFilesBuilder(
int index) {
return getDeletedDataFilesFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public cz.proto.FileMetaDataOrBuilder getDeletedDataFilesOrBuilder(
int index) {
if (deletedDataFilesBuilder_ == null) {
return deletedDataFiles_.get(index); } else {
return deletedDataFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public java.util.List extends cz.proto.FileMetaDataOrBuilder>
getDeletedDataFilesOrBuilderList() {
if (deletedDataFilesBuilder_ != null) {
return deletedDataFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(deletedDataFiles_);
}
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public cz.proto.FileMetaData.Builder addDeletedDataFilesBuilder() {
return getDeletedDataFilesFieldBuilder().addBuilder(
cz.proto.FileMetaData.getDefaultInstance());
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public cz.proto.FileMetaData.Builder addDeletedDataFilesBuilder(
int index) {
return getDeletedDataFilesFieldBuilder().addBuilder(
index, cz.proto.FileMetaData.getDefaultInstance());
}
/**
* repeated .cz.proto.FileMetaData deleted_data_files = 17;
*/
public java.util.List
getDeletedDataFilesBuilderList() {
return getDeletedDataFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder>
getDeletedDataFilesFieldBuilder() {
if (deletedDataFilesBuilder_ == null) {
deletedDataFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder>(
deletedDataFiles_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
deletedDataFiles_ = null;
}
return deletedDataFilesBuilder_;
}
private java.util.List addedDeltaFiles_ =
java.util.Collections.emptyList();
private void ensureAddedDeltaFilesIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
addedDeltaFiles_ = new java.util.ArrayList(addedDeltaFiles_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder> addedDeltaFilesBuilder_;
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public java.util.List getAddedDeltaFilesList() {
if (addedDeltaFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(addedDeltaFiles_);
} else {
return addedDeltaFilesBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public int getAddedDeltaFilesCount() {
if (addedDeltaFilesBuilder_ == null) {
return addedDeltaFiles_.size();
} else {
return addedDeltaFilesBuilder_.getCount();
}
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public cz.proto.FileMetaData getAddedDeltaFiles(int index) {
if (addedDeltaFilesBuilder_ == null) {
return addedDeltaFiles_.get(index);
} else {
return addedDeltaFilesBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public Builder setAddedDeltaFiles(
int index, cz.proto.FileMetaData value) {
if (addedDeltaFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAddedDeltaFilesIsMutable();
addedDeltaFiles_.set(index, value);
onChanged();
} else {
addedDeltaFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public Builder setAddedDeltaFiles(
int index, cz.proto.FileMetaData.Builder builderForValue) {
if (addedDeltaFilesBuilder_ == null) {
ensureAddedDeltaFilesIsMutable();
addedDeltaFiles_.set(index, builderForValue.build());
onChanged();
} else {
addedDeltaFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public Builder addAddedDeltaFiles(cz.proto.FileMetaData value) {
if (addedDeltaFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAddedDeltaFilesIsMutable();
addedDeltaFiles_.add(value);
onChanged();
} else {
addedDeltaFilesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public Builder addAddedDeltaFiles(
int index, cz.proto.FileMetaData value) {
if (addedDeltaFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAddedDeltaFilesIsMutable();
addedDeltaFiles_.add(index, value);
onChanged();
} else {
addedDeltaFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public Builder addAddedDeltaFiles(
cz.proto.FileMetaData.Builder builderForValue) {
if (addedDeltaFilesBuilder_ == null) {
ensureAddedDeltaFilesIsMutable();
addedDeltaFiles_.add(builderForValue.build());
onChanged();
} else {
addedDeltaFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public Builder addAddedDeltaFiles(
int index, cz.proto.FileMetaData.Builder builderForValue) {
if (addedDeltaFilesBuilder_ == null) {
ensureAddedDeltaFilesIsMutable();
addedDeltaFiles_.add(index, builderForValue.build());
onChanged();
} else {
addedDeltaFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public Builder addAllAddedDeltaFiles(
java.lang.Iterable extends cz.proto.FileMetaData> values) {
if (addedDeltaFilesBuilder_ == null) {
ensureAddedDeltaFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, addedDeltaFiles_);
onChanged();
} else {
addedDeltaFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public Builder clearAddedDeltaFiles() {
if (addedDeltaFilesBuilder_ == null) {
addedDeltaFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
addedDeltaFilesBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public Builder removeAddedDeltaFiles(int index) {
if (addedDeltaFilesBuilder_ == null) {
ensureAddedDeltaFilesIsMutable();
addedDeltaFiles_.remove(index);
onChanged();
} else {
addedDeltaFilesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public cz.proto.FileMetaData.Builder getAddedDeltaFilesBuilder(
int index) {
return getAddedDeltaFilesFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public cz.proto.FileMetaDataOrBuilder getAddedDeltaFilesOrBuilder(
int index) {
if (addedDeltaFilesBuilder_ == null) {
return addedDeltaFiles_.get(index); } else {
return addedDeltaFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public java.util.List extends cz.proto.FileMetaDataOrBuilder>
getAddedDeltaFilesOrBuilderList() {
if (addedDeltaFilesBuilder_ != null) {
return addedDeltaFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(addedDeltaFiles_);
}
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public cz.proto.FileMetaData.Builder addAddedDeltaFilesBuilder() {
return getAddedDeltaFilesFieldBuilder().addBuilder(
cz.proto.FileMetaData.getDefaultInstance());
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public cz.proto.FileMetaData.Builder addAddedDeltaFilesBuilder(
int index) {
return getAddedDeltaFilesFieldBuilder().addBuilder(
index, cz.proto.FileMetaData.getDefaultInstance());
}
/**
* repeated .cz.proto.FileMetaData added_delta_files = 18;
*/
public java.util.List
getAddedDeltaFilesBuilderList() {
return getAddedDeltaFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder>
getAddedDeltaFilesFieldBuilder() {
if (addedDeltaFilesBuilder_ == null) {
addedDeltaFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder>(
addedDeltaFiles_,
((bitField0_ & 0x00000010) != 0),
getParentForChildren(),
isClean());
addedDeltaFiles_ = null;
}
return addedDeltaFilesBuilder_;
}
private java.util.List deletedDeltaFiles_ =
java.util.Collections.emptyList();
private void ensureDeletedDeltaFilesIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
deletedDeltaFiles_ = new java.util.ArrayList(deletedDeltaFiles_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder> deletedDeltaFilesBuilder_;
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public java.util.List getDeletedDeltaFilesList() {
if (deletedDeltaFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(deletedDeltaFiles_);
} else {
return deletedDeltaFilesBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public int getDeletedDeltaFilesCount() {
if (deletedDeltaFilesBuilder_ == null) {
return deletedDeltaFiles_.size();
} else {
return deletedDeltaFilesBuilder_.getCount();
}
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public cz.proto.FileMetaData getDeletedDeltaFiles(int index) {
if (deletedDeltaFilesBuilder_ == null) {
return deletedDeltaFiles_.get(index);
} else {
return deletedDeltaFilesBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public Builder setDeletedDeltaFiles(
int index, cz.proto.FileMetaData value) {
if (deletedDeltaFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeletedDeltaFilesIsMutable();
deletedDeltaFiles_.set(index, value);
onChanged();
} else {
deletedDeltaFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public Builder setDeletedDeltaFiles(
int index, cz.proto.FileMetaData.Builder builderForValue) {
if (deletedDeltaFilesBuilder_ == null) {
ensureDeletedDeltaFilesIsMutable();
deletedDeltaFiles_.set(index, builderForValue.build());
onChanged();
} else {
deletedDeltaFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public Builder addDeletedDeltaFiles(cz.proto.FileMetaData value) {
if (deletedDeltaFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeletedDeltaFilesIsMutable();
deletedDeltaFiles_.add(value);
onChanged();
} else {
deletedDeltaFilesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public Builder addDeletedDeltaFiles(
int index, cz.proto.FileMetaData value) {
if (deletedDeltaFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeletedDeltaFilesIsMutable();
deletedDeltaFiles_.add(index, value);
onChanged();
} else {
deletedDeltaFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public Builder addDeletedDeltaFiles(
cz.proto.FileMetaData.Builder builderForValue) {
if (deletedDeltaFilesBuilder_ == null) {
ensureDeletedDeltaFilesIsMutable();
deletedDeltaFiles_.add(builderForValue.build());
onChanged();
} else {
deletedDeltaFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public Builder addDeletedDeltaFiles(
int index, cz.proto.FileMetaData.Builder builderForValue) {
if (deletedDeltaFilesBuilder_ == null) {
ensureDeletedDeltaFilesIsMutable();
deletedDeltaFiles_.add(index, builderForValue.build());
onChanged();
} else {
deletedDeltaFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public Builder addAllDeletedDeltaFiles(
java.lang.Iterable extends cz.proto.FileMetaData> values) {
if (deletedDeltaFilesBuilder_ == null) {
ensureDeletedDeltaFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deletedDeltaFiles_);
onChanged();
} else {
deletedDeltaFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public Builder clearDeletedDeltaFiles() {
if (deletedDeltaFilesBuilder_ == null) {
deletedDeltaFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
deletedDeltaFilesBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public Builder removeDeletedDeltaFiles(int index) {
if (deletedDeltaFilesBuilder_ == null) {
ensureDeletedDeltaFilesIsMutable();
deletedDeltaFiles_.remove(index);
onChanged();
} else {
deletedDeltaFilesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public cz.proto.FileMetaData.Builder getDeletedDeltaFilesBuilder(
int index) {
return getDeletedDeltaFilesFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public cz.proto.FileMetaDataOrBuilder getDeletedDeltaFilesOrBuilder(
int index) {
if (deletedDeltaFilesBuilder_ == null) {
return deletedDeltaFiles_.get(index); } else {
return deletedDeltaFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public java.util.List extends cz.proto.FileMetaDataOrBuilder>
getDeletedDeltaFilesOrBuilderList() {
if (deletedDeltaFilesBuilder_ != null) {
return deletedDeltaFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(deletedDeltaFiles_);
}
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public cz.proto.FileMetaData.Builder addDeletedDeltaFilesBuilder() {
return getDeletedDeltaFilesFieldBuilder().addBuilder(
cz.proto.FileMetaData.getDefaultInstance());
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public cz.proto.FileMetaData.Builder addDeletedDeltaFilesBuilder(
int index) {
return getDeletedDeltaFilesFieldBuilder().addBuilder(
index, cz.proto.FileMetaData.getDefaultInstance());
}
/**
* repeated .cz.proto.FileMetaData deleted_delta_files = 19;
*/
public java.util.List
getDeletedDeltaFilesBuilderList() {
return getDeletedDeltaFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder>
getDeletedDeltaFilesFieldBuilder() {
if (deletedDeltaFilesBuilder_ == null) {
deletedDeltaFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder>(
deletedDeltaFiles_,
((bitField0_ & 0x00000020) != 0),
getParentForChildren(),
isClean());
deletedDeltaFiles_ = null;
}
return deletedDeltaFilesBuilder_;
}
private java.util.List deletedPartition_ =
java.util.Collections.emptyList();
private void ensureDeletedPartitionIsMutable() {
if (!((bitField0_ & 0x00000040) != 0)) {
deletedPartition_ = new java.util.ArrayList(deletedPartition_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder> deletedPartitionBuilder_;
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public java.util.List getDeletedPartitionList() {
if (deletedPartitionBuilder_ == null) {
return java.util.Collections.unmodifiableList(deletedPartition_);
} else {
return deletedPartitionBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public int getDeletedPartitionCount() {
if (deletedPartitionBuilder_ == null) {
return deletedPartition_.size();
} else {
return deletedPartitionBuilder_.getCount();
}
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo getDeletedPartition(int index) {
if (deletedPartitionBuilder_ == null) {
return deletedPartition_.get(index);
} else {
return deletedPartitionBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public Builder setDeletedPartition(
int index, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo value) {
if (deletedPartitionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeletedPartitionIsMutable();
deletedPartition_.set(index, value);
onChanged();
} else {
deletedPartitionBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public Builder setDeletedPartition(
int index, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder builderForValue) {
if (deletedPartitionBuilder_ == null) {
ensureDeletedPartitionIsMutable();
deletedPartition_.set(index, builderForValue.build());
onChanged();
} else {
deletedPartitionBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public Builder addDeletedPartition(cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo value) {
if (deletedPartitionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeletedPartitionIsMutable();
deletedPartition_.add(value);
onChanged();
} else {
deletedPartitionBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public Builder addDeletedPartition(
int index, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo value) {
if (deletedPartitionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeletedPartitionIsMutable();
deletedPartition_.add(index, value);
onChanged();
} else {
deletedPartitionBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public Builder addDeletedPartition(
cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder builderForValue) {
if (deletedPartitionBuilder_ == null) {
ensureDeletedPartitionIsMutable();
deletedPartition_.add(builderForValue.build());
onChanged();
} else {
deletedPartitionBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public Builder addDeletedPartition(
int index, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder builderForValue) {
if (deletedPartitionBuilder_ == null) {
ensureDeletedPartitionIsMutable();
deletedPartition_.add(index, builderForValue.build());
onChanged();
} else {
deletedPartitionBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public Builder addAllDeletedPartition(
java.lang.Iterable extends cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo> values) {
if (deletedPartitionBuilder_ == null) {
ensureDeletedPartitionIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deletedPartition_);
onChanged();
} else {
deletedPartitionBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public Builder clearDeletedPartition() {
if (deletedPartitionBuilder_ == null) {
deletedPartition_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
deletedPartitionBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public Builder removeDeletedPartition(int index) {
if (deletedPartitionBuilder_ == null) {
ensureDeletedPartitionIsMutable();
deletedPartition_.remove(index);
onChanged();
} else {
deletedPartitionBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder getDeletedPartitionBuilder(
int index) {
return getDeletedPartitionFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder getDeletedPartitionOrBuilder(
int index) {
if (deletedPartitionBuilder_ == null) {
return deletedPartition_.get(index); } else {
return deletedPartitionBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public java.util.List extends cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder>
getDeletedPartitionOrBuilderList() {
if (deletedPartitionBuilder_ != null) {
return deletedPartitionBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(deletedPartition_);
}
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder addDeletedPartitionBuilder() {
return getDeletedPartitionFieldBuilder().addBuilder(
cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.getDefaultInstance());
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder addDeletedPartitionBuilder(
int index) {
return getDeletedPartitionFieldBuilder().addBuilder(
index, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.getDefaultInstance());
}
/**
* repeated .cz.proto.VirtualValueInfo deleted_partition = 5;
*/
public java.util.List
getDeletedPartitionBuilderList() {
return getDeletedPartitionFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder>
getDeletedPartitionFieldBuilder() {
if (deletedPartitionBuilder_ == null) {
deletedPartitionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder>(
deletedPartition_,
((bitField0_ & 0x00000040) != 0),
getParentForChildren(),
isClean());
deletedPartition_ = null;
}
return deletedPartitionBuilder_;
}
private java.util.List sourceTables_ =
java.util.Collections.emptyList();
private void ensureSourceTablesIsMutable() {
if (!((bitField0_ & 0x00000080) != 0)) {
sourceTables_ = new java.util.ArrayList(sourceTables_);
bitField0_ |= 0x00000080;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.MVSource, cz.proto.MVSource.Builder, cz.proto.MVSourceOrBuilder> sourceTablesBuilder_;
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public java.util.List getSourceTablesList() {
if (sourceTablesBuilder_ == null) {
return java.util.Collections.unmodifiableList(sourceTables_);
} else {
return sourceTablesBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public int getSourceTablesCount() {
if (sourceTablesBuilder_ == null) {
return sourceTables_.size();
} else {
return sourceTablesBuilder_.getCount();
}
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public cz.proto.MVSource getSourceTables(int index) {
if (sourceTablesBuilder_ == null) {
return sourceTables_.get(index);
} else {
return sourceTablesBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public Builder setSourceTables(
int index, cz.proto.MVSource value) {
if (sourceTablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSourceTablesIsMutable();
sourceTables_.set(index, value);
onChanged();
} else {
sourceTablesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public Builder setSourceTables(
int index, cz.proto.MVSource.Builder builderForValue) {
if (sourceTablesBuilder_ == null) {
ensureSourceTablesIsMutable();
sourceTables_.set(index, builderForValue.build());
onChanged();
} else {
sourceTablesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public Builder addSourceTables(cz.proto.MVSource value) {
if (sourceTablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSourceTablesIsMutable();
sourceTables_.add(value);
onChanged();
} else {
sourceTablesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public Builder addSourceTables(
int index, cz.proto.MVSource value) {
if (sourceTablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSourceTablesIsMutable();
sourceTables_.add(index, value);
onChanged();
} else {
sourceTablesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public Builder addSourceTables(
cz.proto.MVSource.Builder builderForValue) {
if (sourceTablesBuilder_ == null) {
ensureSourceTablesIsMutable();
sourceTables_.add(builderForValue.build());
onChanged();
} else {
sourceTablesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public Builder addSourceTables(
int index, cz.proto.MVSource.Builder builderForValue) {
if (sourceTablesBuilder_ == null) {
ensureSourceTablesIsMutable();
sourceTables_.add(index, builderForValue.build());
onChanged();
} else {
sourceTablesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public Builder addAllSourceTables(
java.lang.Iterable extends cz.proto.MVSource> values) {
if (sourceTablesBuilder_ == null) {
ensureSourceTablesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, sourceTables_);
onChanged();
} else {
sourceTablesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public Builder clearSourceTables() {
if (sourceTablesBuilder_ == null) {
sourceTables_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
} else {
sourceTablesBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public Builder removeSourceTables(int index) {
if (sourceTablesBuilder_ == null) {
ensureSourceTablesIsMutable();
sourceTables_.remove(index);
onChanged();
} else {
sourceTablesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public cz.proto.MVSource.Builder getSourceTablesBuilder(
int index) {
return getSourceTablesFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public cz.proto.MVSourceOrBuilder getSourceTablesOrBuilder(
int index) {
if (sourceTablesBuilder_ == null) {
return sourceTables_.get(index); } else {
return sourceTablesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public java.util.List extends cz.proto.MVSourceOrBuilder>
getSourceTablesOrBuilderList() {
if (sourceTablesBuilder_ != null) {
return sourceTablesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(sourceTables_);
}
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public cz.proto.MVSource.Builder addSourceTablesBuilder() {
return getSourceTablesFieldBuilder().addBuilder(
cz.proto.MVSource.getDefaultInstance());
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public cz.proto.MVSource.Builder addSourceTablesBuilder(
int index) {
return getSourceTablesFieldBuilder().addBuilder(
index, cz.proto.MVSource.getDefaultInstance());
}
/**
* repeated .cz.proto.MVSource source_tables = 20;
*/
public java.util.List
getSourceTablesBuilderList() {
return getSourceTablesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.MVSource, cz.proto.MVSource.Builder, cz.proto.MVSourceOrBuilder>
getSourceTablesFieldBuilder() {
if (sourceTablesBuilder_ == null) {
sourceTablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.MVSource, cz.proto.MVSource.Builder, cz.proto.MVSourceOrBuilder>(
sourceTables_,
((bitField0_ & 0x00000080) != 0),
getParentForChildren(),
isClean());
sourceTables_ = null;
}
return sourceTablesBuilder_;
}
private java.util.List streamTables_ =
java.util.Collections.emptyList();
private void ensureStreamTablesIsMutable() {
if (!((bitField0_ & 0x00000100) != 0)) {
streamTables_ = new java.util.ArrayList(streamTables_);
bitField0_ |= 0x00000100;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.TableStreamState, cz.proto.TableStreamState.Builder, cz.proto.TableStreamStateOrBuilder> streamTablesBuilder_;
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public java.util.List getStreamTablesList() {
if (streamTablesBuilder_ == null) {
return java.util.Collections.unmodifiableList(streamTables_);
} else {
return streamTablesBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public int getStreamTablesCount() {
if (streamTablesBuilder_ == null) {
return streamTables_.size();
} else {
return streamTablesBuilder_.getCount();
}
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public cz.proto.TableStreamState getStreamTables(int index) {
if (streamTablesBuilder_ == null) {
return streamTables_.get(index);
} else {
return streamTablesBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public Builder setStreamTables(
int index, cz.proto.TableStreamState value) {
if (streamTablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStreamTablesIsMutable();
streamTables_.set(index, value);
onChanged();
} else {
streamTablesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public Builder setStreamTables(
int index, cz.proto.TableStreamState.Builder builderForValue) {
if (streamTablesBuilder_ == null) {
ensureStreamTablesIsMutable();
streamTables_.set(index, builderForValue.build());
onChanged();
} else {
streamTablesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public Builder addStreamTables(cz.proto.TableStreamState value) {
if (streamTablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStreamTablesIsMutable();
streamTables_.add(value);
onChanged();
} else {
streamTablesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public Builder addStreamTables(
int index, cz.proto.TableStreamState value) {
if (streamTablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStreamTablesIsMutable();
streamTables_.add(index, value);
onChanged();
} else {
streamTablesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public Builder addStreamTables(
cz.proto.TableStreamState.Builder builderForValue) {
if (streamTablesBuilder_ == null) {
ensureStreamTablesIsMutable();
streamTables_.add(builderForValue.build());
onChanged();
} else {
streamTablesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public Builder addStreamTables(
int index, cz.proto.TableStreamState.Builder builderForValue) {
if (streamTablesBuilder_ == null) {
ensureStreamTablesIsMutable();
streamTables_.add(index, builderForValue.build());
onChanged();
} else {
streamTablesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public Builder addAllStreamTables(
java.lang.Iterable extends cz.proto.TableStreamState> values) {
if (streamTablesBuilder_ == null) {
ensureStreamTablesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, streamTables_);
onChanged();
} else {
streamTablesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public Builder clearStreamTables() {
if (streamTablesBuilder_ == null) {
streamTables_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
streamTablesBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public Builder removeStreamTables(int index) {
if (streamTablesBuilder_ == null) {
ensureStreamTablesIsMutable();
streamTables_.remove(index);
onChanged();
} else {
streamTablesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public cz.proto.TableStreamState.Builder getStreamTablesBuilder(
int index) {
return getStreamTablesFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public cz.proto.TableStreamStateOrBuilder getStreamTablesOrBuilder(
int index) {
if (streamTablesBuilder_ == null) {
return streamTables_.get(index); } else {
return streamTablesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public java.util.List extends cz.proto.TableStreamStateOrBuilder>
getStreamTablesOrBuilderList() {
if (streamTablesBuilder_ != null) {
return streamTablesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(streamTables_);
}
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public cz.proto.TableStreamState.Builder addStreamTablesBuilder() {
return getStreamTablesFieldBuilder().addBuilder(
cz.proto.TableStreamState.getDefaultInstance());
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public cz.proto.TableStreamState.Builder addStreamTablesBuilder(
int index) {
return getStreamTablesFieldBuilder().addBuilder(
index, cz.proto.TableStreamState.getDefaultInstance());
}
/**
* repeated .cz.proto.TableStreamState stream_tables = 22;
*/
public java.util.List
getStreamTablesBuilderList() {
return getStreamTablesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.TableStreamState, cz.proto.TableStreamState.Builder, cz.proto.TableStreamStateOrBuilder>
getStreamTablesFieldBuilder() {
if (streamTablesBuilder_ == null) {
streamTablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.TableStreamState, cz.proto.TableStreamState.Builder, cz.proto.TableStreamStateOrBuilder>(
streamTables_,
((bitField0_ & 0x00000100) != 0),
getParentForChildren(),
isClean());
streamTables_ = null;
}
return streamTablesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cz.proto.Manifest)
}
// @@protoc_insertion_point(class_scope:cz.proto.Manifest)
private static final cz.proto.Manifest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.Manifest();
}
public static cz.proto.Manifest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Manifest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Manifest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.proto.Manifest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy