() {
+ public PCompactionKind findValueByNumber(int number) {
+ return PCompactionKind.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 org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.getDescriptor().getEnumTypes().get(0);
+ }
+
+ private static final PCompactionKind[] VALUES = values();
+
+ public static PCompactionKind 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 PCompactionKind(int value) {
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:tabletserver.PCompactionKind)
+}
+
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCompactionState.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCompactionState.java
new file mode 100644
index 00000000000..e4aab748a6f
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCompactionState.java
@@ -0,0 +1,216 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: compaction-coordinator.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+/**
+ * Protobuf enum {@code compaction_coordinator.PCompactionState}
+ */
+public enum PCompactionState
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ * Coordinator should set state to ASSIGNED when getCompactionJob is called by Compactor
+ *
+ *
+ * ASSIGNED = 0;
+ */
+ ASSIGNED(0),
+ /**
+ *
+ * Compactor should set state to STARTED when compaction has successfully begun
+ *
+ *
+ * STARTED = 1;
+ */
+ STARTED(1),
+ /**
+ *
+ * Compactor can call repeatedly with an updated message to reflect percentage complete
+ *
+ *
+ * IN_PROGRESS = 2;
+ */
+ IN_PROGRESS(2),
+ /**
+ *
+ * Compactor should set state to SUCCEEDED when compaction job has successfully finished
+ *
+ *
+ * SUCCEEDED = 3;
+ */
+ SUCCEEDED(3),
+ /**
+ *
+ * Compactor should set state to FAILED when compaction job fails, message should be mandatory
+ *
+ *
+ * FAILED = 4;
+ */
+ FAILED(4),
+ /**
+ *
+ * Compactor should set state to CANCELLED to acknowledge that it has stopped compacting
+ *
+ *
+ * CANCELLED = 5;
+ */
+ CANCELLED(5),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ * Coordinator should set state to ASSIGNED when getCompactionJob is called by Compactor
+ *
+ *
+ * ASSIGNED = 0;
+ */
+ public static final int ASSIGNED_VALUE = 0;
+ /**
+ *
+ * Compactor should set state to STARTED when compaction has successfully begun
+ *
+ *
+ * STARTED = 1;
+ */
+ public static final int STARTED_VALUE = 1;
+ /**
+ *
+ * Compactor can call repeatedly with an updated message to reflect percentage complete
+ *
+ *
+ * IN_PROGRESS = 2;
+ */
+ public static final int IN_PROGRESS_VALUE = 2;
+ /**
+ *
+ * Compactor should set state to SUCCEEDED when compaction job has successfully finished
+ *
+ *
+ * SUCCEEDED = 3;
+ */
+ public static final int SUCCEEDED_VALUE = 3;
+ /**
+ *
+ * Compactor should set state to FAILED when compaction job fails, message should be mandatory
+ *
+ *
+ * FAILED = 4;
+ */
+ public static final int FAILED_VALUE = 4;
+ /**
+ *
+ * Compactor should set state to CANCELLED to acknowledge that it has stopped compacting
+ *
+ *
+ * CANCELLED = 5;
+ */
+ public static final int CANCELLED_VALUE = 5;
+
+
+ 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 PCompactionState 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 PCompactionState forNumber(int value) {
+ switch (value) {
+ case 0: return ASSIGNED;
+ case 1: return STARTED;
+ case 2: return IN_PROGRESS;
+ case 3: return SUCCEEDED;
+ case 4: return FAILED;
+ case 5: return CANCELLED;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static final com.google.protobuf.Internal.EnumLiteMap<
+ PCompactionState> internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ public PCompactionState findValueByNumber(int number) {
+ return PCompactionState.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 org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.getDescriptor().getEnumTypes().get(0);
+ }
+
+ private static final PCompactionState[] VALUES = values();
+
+ public static PCompactionState 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 PCompactionState(int value) {
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:compaction_coordinator.PCompactionState)
+}
+
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCompactionStats.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCompactionStats.java
new file mode 100644
index 00000000000..9098338c995
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCompactionStats.java
@@ -0,0 +1,625 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: tabletserver.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+/**
+ * Protobuf type {@code tabletserver.PCompactionStats}
+ */
+public final class PCompactionStats extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:tabletserver.PCompactionStats)
+ PCompactionStatsOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use PCompactionStats.newBuilder() to construct.
+ private PCompactionStats(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private PCompactionStats() {
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new PCompactionStats();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PCompactionStats_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PCompactionStats_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats.class, org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats.Builder.class);
+ }
+
+ public static final int ENTRIESREAD_FIELD_NUMBER = 1;
+ private long entriesRead_ = 0L;
+ /**
+ * int64 entriesRead = 1;
+ * @return The entriesRead.
+ */
+ @java.lang.Override
+ public long getEntriesRead() {
+ return entriesRead_;
+ }
+
+ public static final int ENTRIESWRITTEN_FIELD_NUMBER = 2;
+ private long entriesWritten_ = 0L;
+ /**
+ * int64 entriesWritten = 2;
+ * @return The entriesWritten.
+ */
+ @java.lang.Override
+ public long getEntriesWritten() {
+ return entriesWritten_;
+ }
+
+ public static final int FILESIZE_FIELD_NUMBER = 3;
+ private long fileSize_ = 0L;
+ /**
+ * int64 fileSize = 3;
+ * @return The fileSize.
+ */
+ @java.lang.Override
+ public long getFileSize() {
+ return fileSize_;
+ }
+
+ 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 {
+ if (entriesRead_ != 0L) {
+ output.writeInt64(1, entriesRead_);
+ }
+ if (entriesWritten_ != 0L) {
+ output.writeInt64(2, entriesWritten_);
+ }
+ if (fileSize_ != 0L) {
+ output.writeInt64(3, fileSize_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (entriesRead_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(1, entriesRead_);
+ }
+ if (entriesWritten_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(2, entriesWritten_);
+ }
+ if (fileSize_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(3, fileSize_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats)) {
+ return super.equals(obj);
+ }
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats other = (org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats) obj;
+
+ if (getEntriesRead()
+ != other.getEntriesRead()) return false;
+ if (getEntriesWritten()
+ != other.getEntriesWritten()) return false;
+ if (getFileSize()
+ != other.getFileSize()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + ENTRIESREAD_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getEntriesRead());
+ hash = (37 * hash) + ENTRIESWRITTEN_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getEntriesWritten());
+ hash = (37 * hash) + FILESIZE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getFileSize());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats 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 org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats 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 org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats 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(org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats 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 tabletserver.PCompactionStats}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:tabletserver.PCompactionStats)
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatsOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PCompactionStats_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PCompactionStats_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats.class, org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats.Builder.class);
+ }
+
+ // Construct using org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ entriesRead_ = 0L;
+ entriesWritten_ = 0L;
+ fileSize_ = 0L;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PCompactionStats_descriptor;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats getDefaultInstanceForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats build() {
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats buildPartial() {
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats result = new org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.entriesRead_ = entriesRead_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.entriesWritten_ = entriesWritten_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.fileSize_ = fileSize_;
+ }
+ }
+
+ @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 org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats) {
+ return mergeFrom((org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats other) {
+ if (other == org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats.getDefaultInstance()) return this;
+ if (other.getEntriesRead() != 0L) {
+ setEntriesRead(other.getEntriesRead());
+ }
+ if (other.getEntriesWritten() != 0L) {
+ setEntriesWritten(other.getEntriesWritten());
+ }
+ if (other.getFileSize() != 0L) {
+ setFileSize(other.getFileSize());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8: {
+ entriesRead_ = input.readInt64();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 8
+ case 16: {
+ entriesWritten_ = input.readInt64();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ case 24: {
+ fileSize_ = input.readInt64();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private long entriesRead_ ;
+ /**
+ * int64 entriesRead = 1;
+ * @return The entriesRead.
+ */
+ @java.lang.Override
+ public long getEntriesRead() {
+ return entriesRead_;
+ }
+ /**
+ * int64 entriesRead = 1;
+ * @param value The entriesRead to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEntriesRead(long value) {
+
+ entriesRead_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 entriesRead = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearEntriesRead() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ entriesRead_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long entriesWritten_ ;
+ /**
+ * int64 entriesWritten = 2;
+ * @return The entriesWritten.
+ */
+ @java.lang.Override
+ public long getEntriesWritten() {
+ return entriesWritten_;
+ }
+ /**
+ * int64 entriesWritten = 2;
+ * @param value The entriesWritten to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEntriesWritten(long value) {
+
+ entriesWritten_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 entriesWritten = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearEntriesWritten() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ entriesWritten_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long fileSize_ ;
+ /**
+ * int64 fileSize = 3;
+ * @return The fileSize.
+ */
+ @java.lang.Override
+ public long getFileSize() {
+ return fileSize_;
+ }
+ /**
+ * int64 fileSize = 3;
+ * @param value The fileSize to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFileSize(long value) {
+
+ fileSize_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 fileSize = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearFileSize() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ fileSize_ = 0L;
+ onChanged();
+ return this;
+ }
+ @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:tabletserver.PCompactionStats)
+ }
+
+ // @@protoc_insertion_point(class_scope:tabletserver.PCompactionStats)
+ private static final org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats();
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public PCompactionStats parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCompactionStats getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCompactionStatsOrBuilder.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCompactionStatsOrBuilder.java
new file mode 100644
index 00000000000..cff10a214e0
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCompactionStatsOrBuilder.java
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: tabletserver.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+public interface PCompactionStatsOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:tabletserver.PCompactionStats)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * int64 entriesRead = 1;
+ * @return The entriesRead.
+ */
+ long getEntriesRead();
+
+ /**
+ * int64 entriesWritten = 2;
+ * @return The entriesWritten.
+ */
+ long getEntriesWritten();
+
+ /**
+ * int64 fileSize = 3;
+ * @return The fileSize.
+ */
+ long getFileSize();
+}
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCompactionStatusUpdate.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCompactionStatusUpdate.java
new file mode 100644
index 00000000000..e17858593e5
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCompactionStatusUpdate.java
@@ -0,0 +1,922 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: compaction-coordinator.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+/**
+ * Protobuf type {@code compaction_coordinator.PCompactionStatusUpdate}
+ */
+public final class PCompactionStatusUpdate extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:compaction_coordinator.PCompactionStatusUpdate)
+ PCompactionStatusUpdateOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use PCompactionStatusUpdate.newBuilder() to construct.
+ private PCompactionStatusUpdate(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private PCompactionStatusUpdate() {
+ state_ = 0;
+ message_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new PCompactionStatusUpdate();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PCompactionStatusUpdate_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PCompactionStatusUpdate_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate.class, org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate.Builder.class);
+ }
+
+ public static final int STATE_FIELD_NUMBER = 1;
+ private int state_ = 0;
+ /**
+ * .compaction_coordinator.PCompactionState state = 1;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * .compaction_coordinator.PCompactionState state = 1;
+ * @return The state.
+ */
+ @java.lang.Override public org.apache.accumulo.grpc.compaction.protobuf.PCompactionState getState() {
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionState result = org.apache.accumulo.grpc.compaction.protobuf.PCompactionState.forNumber(state_);
+ return result == null ? org.apache.accumulo.grpc.compaction.protobuf.PCompactionState.UNRECOGNIZED : result;
+ }
+
+ public static final int MESSAGE_FIELD_NUMBER = 2;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object message_ = "";
+ /**
+ * string message = 2;
+ * @return The message.
+ */
+ @java.lang.Override
+ public java.lang.String getMessage() {
+ java.lang.Object ref = message_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ message_ = s;
+ return s;
+ }
+ }
+ /**
+ * string message = 2;
+ * @return The bytes for message.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getMessageBytes() {
+ java.lang.Object ref = message_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ message_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ENTRIESTOBECOMPACTED_FIELD_NUMBER = 3;
+ private long entriesToBeCompacted_ = 0L;
+ /**
+ * int64 entriesToBeCompacted = 3;
+ * @return The entriesToBeCompacted.
+ */
+ @java.lang.Override
+ public long getEntriesToBeCompacted() {
+ return entriesToBeCompacted_;
+ }
+
+ public static final int ENTRIESREAD_FIELD_NUMBER = 4;
+ private long entriesRead_ = 0L;
+ /**
+ * int64 entriesRead = 4;
+ * @return The entriesRead.
+ */
+ @java.lang.Override
+ public long getEntriesRead() {
+ return entriesRead_;
+ }
+
+ public static final int ENTRIESWRITTEN_FIELD_NUMBER = 5;
+ private long entriesWritten_ = 0L;
+ /**
+ * int64 entriesWritten = 5;
+ * @return The entriesWritten.
+ */
+ @java.lang.Override
+ public long getEntriesWritten() {
+ return entriesWritten_;
+ }
+
+ public static final int COMPACTIONAGENANOS_FIELD_NUMBER = 6;
+ private long compactionAgeNanos_ = 0L;
+ /**
+ * int64 compactionAgeNanos = 6;
+ * @return The compactionAgeNanos.
+ */
+ @java.lang.Override
+ public long getCompactionAgeNanos() {
+ return compactionAgeNanos_;
+ }
+
+ 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 {
+ if (state_ != org.apache.accumulo.grpc.compaction.protobuf.PCompactionState.ASSIGNED.getNumber()) {
+ output.writeEnum(1, state_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_);
+ }
+ if (entriesToBeCompacted_ != 0L) {
+ output.writeInt64(3, entriesToBeCompacted_);
+ }
+ if (entriesRead_ != 0L) {
+ output.writeInt64(4, entriesRead_);
+ }
+ if (entriesWritten_ != 0L) {
+ output.writeInt64(5, entriesWritten_);
+ }
+ if (compactionAgeNanos_ != 0L) {
+ output.writeInt64(6, compactionAgeNanos_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (state_ != org.apache.accumulo.grpc.compaction.protobuf.PCompactionState.ASSIGNED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(1, state_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_);
+ }
+ if (entriesToBeCompacted_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(3, entriesToBeCompacted_);
+ }
+ if (entriesRead_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(4, entriesRead_);
+ }
+ if (entriesWritten_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(5, entriesWritten_);
+ }
+ if (compactionAgeNanos_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(6, compactionAgeNanos_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate)) {
+ return super.equals(obj);
+ }
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate other = (org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate) obj;
+
+ if (state_ != other.state_) return false;
+ if (!getMessage()
+ .equals(other.getMessage())) return false;
+ if (getEntriesToBeCompacted()
+ != other.getEntriesToBeCompacted()) return false;
+ if (getEntriesRead()
+ != other.getEntriesRead()) return false;
+ if (getEntriesWritten()
+ != other.getEntriesWritten()) return false;
+ if (getCompactionAgeNanos()
+ != other.getCompactionAgeNanos()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + STATE_FIELD_NUMBER;
+ hash = (53 * hash) + state_;
+ hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
+ hash = (53 * hash) + getMessage().hashCode();
+ hash = (37 * hash) + ENTRIESTOBECOMPACTED_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getEntriesToBeCompacted());
+ hash = (37 * hash) + ENTRIESREAD_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getEntriesRead());
+ hash = (37 * hash) + ENTRIESWRITTEN_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getEntriesWritten());
+ hash = (37 * hash) + COMPACTIONAGENANOS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getCompactionAgeNanos());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate 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 org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate 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 org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate 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(org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate 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 compaction_coordinator.PCompactionStatusUpdate}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:compaction_coordinator.PCompactionStatusUpdate)
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdateOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PCompactionStatusUpdate_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PCompactionStatusUpdate_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate.class, org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate.Builder.class);
+ }
+
+ // Construct using org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ state_ = 0;
+ message_ = "";
+ entriesToBeCompacted_ = 0L;
+ entriesRead_ = 0L;
+ entriesWritten_ = 0L;
+ compactionAgeNanos_ = 0L;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PCompactionStatusUpdate_descriptor;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate getDefaultInstanceForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate build() {
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate buildPartial() {
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate result = new org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.state_ = state_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.message_ = message_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.entriesToBeCompacted_ = entriesToBeCompacted_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.entriesRead_ = entriesRead_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.entriesWritten_ = entriesWritten_;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.compactionAgeNanos_ = compactionAgeNanos_;
+ }
+ }
+
+ @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 org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate) {
+ return mergeFrom((org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate other) {
+ if (other == org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate.getDefaultInstance()) return this;
+ if (other.state_ != 0) {
+ setStateValue(other.getStateValue());
+ }
+ if (!other.getMessage().isEmpty()) {
+ message_ = other.message_;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ if (other.getEntriesToBeCompacted() != 0L) {
+ setEntriesToBeCompacted(other.getEntriesToBeCompacted());
+ }
+ if (other.getEntriesRead() != 0L) {
+ setEntriesRead(other.getEntriesRead());
+ }
+ if (other.getEntriesWritten() != 0L) {
+ setEntriesWritten(other.getEntriesWritten());
+ }
+ if (other.getCompactionAgeNanos() != 0L) {
+ setCompactionAgeNanos(other.getCompactionAgeNanos());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8: {
+ state_ = input.readEnum();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 8
+ case 18: {
+ message_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 24: {
+ entriesToBeCompacted_ = input.readInt64();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ case 32: {
+ entriesRead_ = input.readInt64();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 32
+ case 40: {
+ entriesWritten_ = input.readInt64();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 40
+ case 48: {
+ compactionAgeNanos_ = input.readInt64();
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 48
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private int state_ = 0;
+ /**
+ * .compaction_coordinator.PCompactionState state = 1;
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override public int getStateValue() {
+ return state_;
+ }
+ /**
+ * .compaction_coordinator.PCompactionState state = 1;
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStateValue(int value) {
+ state_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * .compaction_coordinator.PCompactionState state = 1;
+ * @return The state.
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCompactionState getState() {
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionState result = org.apache.accumulo.grpc.compaction.protobuf.PCompactionState.forNumber(state_);
+ return result == null ? org.apache.accumulo.grpc.compaction.protobuf.PCompactionState.UNRECOGNIZED : result;
+ }
+ /**
+ * .compaction_coordinator.PCompactionState state = 1;
+ * @param value The state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setState(org.apache.accumulo.grpc.compaction.protobuf.PCompactionState value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ state_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * .compaction_coordinator.PCompactionState state = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearState() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ state_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object message_ = "";
+ /**
+ * string message = 2;
+ * @return The message.
+ */
+ public java.lang.String getMessage() {
+ java.lang.Object ref = message_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ message_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string message = 2;
+ * @return The bytes for message.
+ */
+ public com.google.protobuf.ByteString
+ getMessageBytes() {
+ java.lang.Object ref = message_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ message_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string message = 2;
+ * @param value The message to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMessage(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ message_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * string message = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearMessage() {
+ message_ = getDefaultInstance().getMessage();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ * string message = 2;
+ * @param value The bytes for message to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMessageBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ message_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private long entriesToBeCompacted_ ;
+ /**
+ * int64 entriesToBeCompacted = 3;
+ * @return The entriesToBeCompacted.
+ */
+ @java.lang.Override
+ public long getEntriesToBeCompacted() {
+ return entriesToBeCompacted_;
+ }
+ /**
+ * int64 entriesToBeCompacted = 3;
+ * @param value The entriesToBeCompacted to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEntriesToBeCompacted(long value) {
+
+ entriesToBeCompacted_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 entriesToBeCompacted = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearEntriesToBeCompacted() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ entriesToBeCompacted_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long entriesRead_ ;
+ /**
+ * int64 entriesRead = 4;
+ * @return The entriesRead.
+ */
+ @java.lang.Override
+ public long getEntriesRead() {
+ return entriesRead_;
+ }
+ /**
+ * int64 entriesRead = 4;
+ * @param value The entriesRead to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEntriesRead(long value) {
+
+ entriesRead_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 entriesRead = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearEntriesRead() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ entriesRead_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long entriesWritten_ ;
+ /**
+ * int64 entriesWritten = 5;
+ * @return The entriesWritten.
+ */
+ @java.lang.Override
+ public long getEntriesWritten() {
+ return entriesWritten_;
+ }
+ /**
+ * int64 entriesWritten = 5;
+ * @param value The entriesWritten to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEntriesWritten(long value) {
+
+ entriesWritten_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 entriesWritten = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearEntriesWritten() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ entriesWritten_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long compactionAgeNanos_ ;
+ /**
+ * int64 compactionAgeNanos = 6;
+ * @return The compactionAgeNanos.
+ */
+ @java.lang.Override
+ public long getCompactionAgeNanos() {
+ return compactionAgeNanos_;
+ }
+ /**
+ * int64 compactionAgeNanos = 6;
+ * @param value The compactionAgeNanos to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCompactionAgeNanos(long value) {
+
+ compactionAgeNanos_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 compactionAgeNanos = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearCompactionAgeNanos() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ compactionAgeNanos_ = 0L;
+ onChanged();
+ return this;
+ }
+ @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:compaction_coordinator.PCompactionStatusUpdate)
+ }
+
+ // @@protoc_insertion_point(class_scope:compaction_coordinator.PCompactionStatusUpdate)
+ private static final org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate();
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public PCompactionStatusUpdate parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCompactionStatusUpdateOrBuilder.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCompactionStatusUpdateOrBuilder.java
new file mode 100644
index 00000000000..b01dd1382c0
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCompactionStatusUpdateOrBuilder.java
@@ -0,0 +1,75 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: compaction-coordinator.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+public interface PCompactionStatusUpdateOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:compaction_coordinator.PCompactionStatusUpdate)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * .compaction_coordinator.PCompactionState state = 1;
+ * @return The enum numeric value on the wire for state.
+ */
+ int getStateValue();
+ /**
+ * .compaction_coordinator.PCompactionState state = 1;
+ * @return The state.
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionState getState();
+
+ /**
+ * string message = 2;
+ * @return The message.
+ */
+ java.lang.String getMessage();
+ /**
+ * string message = 2;
+ * @return The bytes for message.
+ */
+ com.google.protobuf.ByteString
+ getMessageBytes();
+
+ /**
+ * int64 entriesToBeCompacted = 3;
+ * @return The entriesToBeCompacted.
+ */
+ long getEntriesToBeCompacted();
+
+ /**
+ * int64 entriesRead = 4;
+ * @return The entriesRead.
+ */
+ long getEntriesRead();
+
+ /**
+ * int64 entriesWritten = 5;
+ * @return The entriesWritten.
+ */
+ long getEntriesWritten();
+
+ /**
+ * int64 compactionAgeNanos = 6;
+ * @return The compactionAgeNanos.
+ */
+ long getCompactionAgeNanos();
+}
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCredentials.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCredentials.java
new file mode 100644
index 00000000000..bbea49564d2
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCredentials.java
@@ -0,0 +1,1001 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: security.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+/**
+ *
+ * There are no nulls with Protobuf3, so the default will be an empty string
+ * Our TCredentials version with thrift currently is using/checking for null so
+ * using the optional field will generate "has" methods which we can use to
+ * check if the value was set
+ *
+ *
+ * Protobuf type {@code security.PCredentials}
+ */
+public final class PCredentials extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:security.PCredentials)
+ PCredentialsOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use PCredentials.newBuilder() to construct.
+ private PCredentials(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private PCredentials() {
+ principal_ = "";
+ tokenClassName_ = "";
+ token_ = com.google.protobuf.ByteString.EMPTY;
+ instanceId_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new PCredentials();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.SecurityProto.internal_static_security_PCredentials_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.SecurityProto.internal_static_security_PCredentials_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PCredentials.class, org.apache.accumulo.grpc.compaction.protobuf.PCredentials.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int PRINCIPAL_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object principal_ = "";
+ /**
+ * optional string principal = 1;
+ * @return Whether the principal field is set.
+ */
+ @java.lang.Override
+ public boolean hasPrincipal() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * optional string principal = 1;
+ * @return The principal.
+ */
+ @java.lang.Override
+ public java.lang.String getPrincipal() {
+ java.lang.Object ref = principal_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ principal_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string principal = 1;
+ * @return The bytes for principal.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getPrincipalBytes() {
+ java.lang.Object ref = principal_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ principal_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TOKENCLASSNAME_FIELD_NUMBER = 2;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object tokenClassName_ = "";
+ /**
+ * optional string tokenClassName = 2;
+ * @return Whether the tokenClassName field is set.
+ */
+ @java.lang.Override
+ public boolean hasTokenClassName() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * optional string tokenClassName = 2;
+ * @return The tokenClassName.
+ */
+ @java.lang.Override
+ public java.lang.String getTokenClassName() {
+ java.lang.Object ref = tokenClassName_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ tokenClassName_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string tokenClassName = 2;
+ * @return The bytes for tokenClassName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getTokenClassNameBytes() {
+ java.lang.Object ref = tokenClassName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ tokenClassName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TOKEN_FIELD_NUMBER = 3;
+ private com.google.protobuf.ByteString token_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ * optional bytes token = 3;
+ * @return Whether the token field is set.
+ */
+ @java.lang.Override
+ public boolean hasToken() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * optional bytes token = 3;
+ * @return The token.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getToken() {
+ return token_;
+ }
+
+ public static final int INSTANCEID_FIELD_NUMBER = 4;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object instanceId_ = "";
+ /**
+ * optional string instanceId = 4;
+ * @return Whether the instanceId field is set.
+ */
+ @java.lang.Override
+ public boolean hasInstanceId() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+ /**
+ * optional string instanceId = 4;
+ * @return The instanceId.
+ */
+ @java.lang.Override
+ public java.lang.String getInstanceId() {
+ java.lang.Object ref = instanceId_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ instanceId_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string instanceId = 4;
+ * @return The bytes for instanceId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getInstanceIdBytes() {
+ java.lang.Object ref = instanceId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ instanceId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ 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 {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, principal_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tokenClassName_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ output.writeBytes(3, token_);
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, instanceId_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, principal_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tokenClassName_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(3, token_);
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, instanceId_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof org.apache.accumulo.grpc.compaction.protobuf.PCredentials)) {
+ return super.equals(obj);
+ }
+ org.apache.accumulo.grpc.compaction.protobuf.PCredentials other = (org.apache.accumulo.grpc.compaction.protobuf.PCredentials) obj;
+
+ if (hasPrincipal() != other.hasPrincipal()) return false;
+ if (hasPrincipal()) {
+ if (!getPrincipal()
+ .equals(other.getPrincipal())) return false;
+ }
+ if (hasTokenClassName() != other.hasTokenClassName()) return false;
+ if (hasTokenClassName()) {
+ if (!getTokenClassName()
+ .equals(other.getTokenClassName())) return false;
+ }
+ if (hasToken() != other.hasToken()) return false;
+ if (hasToken()) {
+ if (!getToken()
+ .equals(other.getToken())) return false;
+ }
+ if (hasInstanceId() != other.hasInstanceId()) return false;
+ if (hasInstanceId()) {
+ if (!getInstanceId()
+ .equals(other.getInstanceId())) return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasPrincipal()) {
+ hash = (37 * hash) + PRINCIPAL_FIELD_NUMBER;
+ hash = (53 * hash) + getPrincipal().hashCode();
+ }
+ if (hasTokenClassName()) {
+ hash = (37 * hash) + TOKENCLASSNAME_FIELD_NUMBER;
+ hash = (53 * hash) + getTokenClassName().hashCode();
+ }
+ if (hasToken()) {
+ hash = (37 * hash) + TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getToken().hashCode();
+ }
+ if (hasInstanceId()) {
+ hash = (37 * hash) + INSTANCEID_FIELD_NUMBER;
+ hash = (53 * hash) + getInstanceId().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCredentials parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCredentials parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCredentials parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCredentials parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCredentials parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCredentials parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCredentials parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCredentials 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 org.apache.accumulo.grpc.compaction.protobuf.PCredentials parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCredentials 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 org.apache.accumulo.grpc.compaction.protobuf.PCredentials parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCredentials 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(org.apache.accumulo.grpc.compaction.protobuf.PCredentials 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;
+ }
+ /**
+ *
+ * There are no nulls with Protobuf3, so the default will be an empty string
+ * Our TCredentials version with thrift currently is using/checking for null so
+ * using the optional field will generate "has" methods which we can use to
+ * check if the value was set
+ *
+ *
+ * Protobuf type {@code security.PCredentials}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:security.PCredentials)
+ org.apache.accumulo.grpc.compaction.protobuf.PCredentialsOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.SecurityProto.internal_static_security_PCredentials_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.SecurityProto.internal_static_security_PCredentials_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PCredentials.class, org.apache.accumulo.grpc.compaction.protobuf.PCredentials.Builder.class);
+ }
+
+ // Construct using org.apache.accumulo.grpc.compaction.protobuf.PCredentials.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ principal_ = "";
+ tokenClassName_ = "";
+ token_ = com.google.protobuf.ByteString.EMPTY;
+ instanceId_ = "";
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.SecurityProto.internal_static_security_PCredentials_descriptor;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCredentials getDefaultInstanceForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.PCredentials.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCredentials build() {
+ org.apache.accumulo.grpc.compaction.protobuf.PCredentials result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCredentials buildPartial() {
+ org.apache.accumulo.grpc.compaction.protobuf.PCredentials result = new org.apache.accumulo.grpc.compaction.protobuf.PCredentials(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(org.apache.accumulo.grpc.compaction.protobuf.PCredentials result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.principal_ = principal_;
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.tokenClassName_ = tokenClassName_;
+ to_bitField0_ |= 0x00000002;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.token_ = token_;
+ to_bitField0_ |= 0x00000004;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.instanceId_ = instanceId_;
+ to_bitField0_ |= 0x00000008;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @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 org.apache.accumulo.grpc.compaction.protobuf.PCredentials) {
+ return mergeFrom((org.apache.accumulo.grpc.compaction.protobuf.PCredentials)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.apache.accumulo.grpc.compaction.protobuf.PCredentials other) {
+ if (other == org.apache.accumulo.grpc.compaction.protobuf.PCredentials.getDefaultInstance()) return this;
+ if (other.hasPrincipal()) {
+ principal_ = other.principal_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ if (other.hasTokenClassName()) {
+ tokenClassName_ = other.tokenClassName_;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ if (other.hasToken()) {
+ setToken(other.getToken());
+ }
+ if (other.hasInstanceId()) {
+ instanceId_ = other.instanceId_;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ principal_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18: {
+ tokenClassName_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 26: {
+ token_ = input.readBytes();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 26
+ case 34: {
+ instanceId_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 34
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private java.lang.Object principal_ = "";
+ /**
+ * optional string principal = 1;
+ * @return Whether the principal field is set.
+ */
+ public boolean hasPrincipal() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * optional string principal = 1;
+ * @return The principal.
+ */
+ public java.lang.String getPrincipal() {
+ java.lang.Object ref = principal_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ principal_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string principal = 1;
+ * @return The bytes for principal.
+ */
+ public com.google.protobuf.ByteString
+ getPrincipalBytes() {
+ java.lang.Object ref = principal_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ principal_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string principal = 1;
+ * @param value The principal to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPrincipal(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ principal_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string principal = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearPrincipal() {
+ principal_ = getDefaultInstance().getPrincipal();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string principal = 1;
+ * @param value The bytes for principal to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPrincipalBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ principal_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object tokenClassName_ = "";
+ /**
+ * optional string tokenClassName = 2;
+ * @return Whether the tokenClassName field is set.
+ */
+ public boolean hasTokenClassName() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * optional string tokenClassName = 2;
+ * @return The tokenClassName.
+ */
+ public java.lang.String getTokenClassName() {
+ java.lang.Object ref = tokenClassName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ tokenClassName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string tokenClassName = 2;
+ * @return The bytes for tokenClassName.
+ */
+ public com.google.protobuf.ByteString
+ getTokenClassNameBytes() {
+ java.lang.Object ref = tokenClassName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ tokenClassName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string tokenClassName = 2;
+ * @param value The tokenClassName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTokenClassName(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ tokenClassName_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string tokenClassName = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearTokenClassName() {
+ tokenClassName_ = getDefaultInstance().getTokenClassName();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string tokenClassName = 2;
+ * @param value The bytes for tokenClassName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTokenClassNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ tokenClassName_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.ByteString token_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ * optional bytes token = 3;
+ * @return Whether the token field is set.
+ */
+ @java.lang.Override
+ public boolean hasToken() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * optional bytes token = 3;
+ * @return The token.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getToken() {
+ return token_;
+ }
+ /**
+ * optional bytes token = 3;
+ * @param value The token to set.
+ * @return This builder for chaining.
+ */
+ public Builder setToken(com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ token_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional bytes token = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearToken() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ token_ = getDefaultInstance().getToken();
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object instanceId_ = "";
+ /**
+ * optional string instanceId = 4;
+ * @return Whether the instanceId field is set.
+ */
+ public boolean hasInstanceId() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+ /**
+ * optional string instanceId = 4;
+ * @return The instanceId.
+ */
+ public java.lang.String getInstanceId() {
+ java.lang.Object ref = instanceId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ instanceId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string instanceId = 4;
+ * @return The bytes for instanceId.
+ */
+ public com.google.protobuf.ByteString
+ getInstanceIdBytes() {
+ java.lang.Object ref = instanceId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ instanceId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string instanceId = 4;
+ * @param value The instanceId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInstanceId(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ instanceId_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string instanceId = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearInstanceId() {
+ instanceId_ = getDefaultInstance().getInstanceId();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string instanceId = 4;
+ * @param value The bytes for instanceId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInstanceIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ instanceId_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ @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:security.PCredentials)
+ }
+
+ // @@protoc_insertion_point(class_scope:security.PCredentials)
+ private static final org.apache.accumulo.grpc.compaction.protobuf.PCredentials DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new org.apache.accumulo.grpc.compaction.protobuf.PCredentials();
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PCredentials getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public PCredentials parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCredentials getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCredentialsOrBuilder.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCredentialsOrBuilder.java
new file mode 100644
index 00000000000..cb6c2d89296
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PCredentialsOrBuilder.java
@@ -0,0 +1,90 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: security.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+public interface PCredentialsOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:security.PCredentials)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * optional string principal = 1;
+ * @return Whether the principal field is set.
+ */
+ boolean hasPrincipal();
+ /**
+ * optional string principal = 1;
+ * @return The principal.
+ */
+ java.lang.String getPrincipal();
+ /**
+ * optional string principal = 1;
+ * @return The bytes for principal.
+ */
+ com.google.protobuf.ByteString
+ getPrincipalBytes();
+
+ /**
+ * optional string tokenClassName = 2;
+ * @return Whether the tokenClassName field is set.
+ */
+ boolean hasTokenClassName();
+ /**
+ * optional string tokenClassName = 2;
+ * @return The tokenClassName.
+ */
+ java.lang.String getTokenClassName();
+ /**
+ * optional string tokenClassName = 2;
+ * @return The bytes for tokenClassName.
+ */
+ com.google.protobuf.ByteString
+ getTokenClassNameBytes();
+
+ /**
+ * optional bytes token = 3;
+ * @return Whether the token field is set.
+ */
+ boolean hasToken();
+ /**
+ * optional bytes token = 3;
+ * @return The token.
+ */
+ com.google.protobuf.ByteString getToken();
+
+ /**
+ * optional string instanceId = 4;
+ * @return Whether the instanceId field is set.
+ */
+ boolean hasInstanceId();
+ /**
+ * optional string instanceId = 4;
+ * @return The instanceId.
+ */
+ java.lang.String getInstanceId();
+ /**
+ * optional string instanceId = 4;
+ * @return The bytes for instanceId.
+ */
+ com.google.protobuf.ByteString
+ getInstanceIdBytes();
+}
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompaction.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompaction.java
new file mode 100644
index 00000000000..db925152a50
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompaction.java
@@ -0,0 +1,1195 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: compaction-coordinator.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+/**
+ * Protobuf type {@code compaction_coordinator.PExternalCompaction}
+ */
+public final class PExternalCompaction extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:compaction_coordinator.PExternalCompaction)
+ PExternalCompactionOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use PExternalCompaction.newBuilder() to construct.
+ private PExternalCompaction(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private PExternalCompaction() {
+ groupName_ = "";
+ compactor_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new PExternalCompaction();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PExternalCompaction_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 3:
+ return internalGetUpdates();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PExternalCompaction_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction.class, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int GROUPNAME_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object groupName_ = "";
+ /**
+ * string groupName = 1;
+ * @return The groupName.
+ */
+ @java.lang.Override
+ public java.lang.String getGroupName() {
+ java.lang.Object ref = groupName_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ groupName_ = s;
+ return s;
+ }
+ }
+ /**
+ * string groupName = 1;
+ * @return The bytes for groupName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getGroupNameBytes() {
+ java.lang.Object ref = groupName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ groupName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int COMPACTOR_FIELD_NUMBER = 2;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object compactor_ = "";
+ /**
+ * string compactor = 2;
+ * @return The compactor.
+ */
+ @java.lang.Override
+ public java.lang.String getCompactor() {
+ java.lang.Object ref = compactor_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ compactor_ = s;
+ return s;
+ }
+ }
+ /**
+ * string compactor = 2;
+ * @return The bytes for compactor.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getCompactorBytes() {
+ java.lang.Object ref = compactor_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ compactor_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int UPDATES_FIELD_NUMBER = 3;
+ private static final class UpdatesDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.Long, org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PExternalCompaction_UpdatesEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.INT64,
+ 0L,
+ com.google.protobuf.WireFormat.FieldType.MESSAGE,
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate.getDefaultInstance());
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.Long, org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate> updates_;
+ private com.google.protobuf.MapField
+ internalGetUpdates() {
+ if (updates_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ UpdatesDefaultEntryHolder.defaultEntry);
+ }
+ return updates_;
+ }
+ public int getUpdatesCount() {
+ return internalGetUpdates().getMap().size();
+ }
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ @java.lang.Override
+ public boolean containsUpdates(
+ long key) {
+
+ return internalGetUpdates().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getUpdatesMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getUpdates() {
+ return getUpdatesMap();
+ }
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ @java.lang.Override
+ public java.util.Map getUpdatesMap() {
+ return internalGetUpdates().getMap();
+ }
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ @java.lang.Override
+ public /* nullable */
+org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate getUpdatesOrDefault(
+ long key,
+ /* nullable */
+org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate defaultValue) {
+
+ java.util.Map map =
+ internalGetUpdates().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate getUpdatesOrThrow(
+ long key) {
+
+ java.util.Map map =
+ internalGetUpdates().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ public static final int JOB_FIELD_NUMBER = 4;
+ private org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob job_;
+ /**
+ * .tabletserver.PExternalCompactionJob job = 4;
+ * @return Whether the job field is set.
+ */
+ @java.lang.Override
+ public boolean hasJob() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * .tabletserver.PExternalCompactionJob job = 4;
+ * @return The job.
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob getJob() {
+ return job_ == null ? org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.getDefaultInstance() : job_;
+ }
+ /**
+ * .tabletserver.PExternalCompactionJob job = 4;
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJobOrBuilder getJobOrBuilder() {
+ return job_ == null ? org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.getDefaultInstance() : job_;
+ }
+
+ 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 {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupName_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(compactor_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, compactor_);
+ }
+ com.google.protobuf.GeneratedMessageV3
+ .serializeLongMapTo(
+ output,
+ internalGetUpdates(),
+ UpdatesDefaultEntryHolder.defaultEntry,
+ 3);
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(4, getJob());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, groupName_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(compactor_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, compactor_);
+ }
+ for (java.util.Map.Entry entry
+ : internalGetUpdates().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ updates__ = UpdatesDefaultEntryHolder.defaultEntry.newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, updates__);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, getJob());
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction)) {
+ return super.equals(obj);
+ }
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction other = (org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction) obj;
+
+ if (!getGroupName()
+ .equals(other.getGroupName())) return false;
+ if (!getCompactor()
+ .equals(other.getCompactor())) return false;
+ if (!internalGetUpdates().equals(
+ other.internalGetUpdates())) return false;
+ if (hasJob() != other.hasJob()) return false;
+ if (hasJob()) {
+ if (!getJob()
+ .equals(other.getJob())) return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + GROUPNAME_FIELD_NUMBER;
+ hash = (53 * hash) + getGroupName().hashCode();
+ hash = (37 * hash) + COMPACTOR_FIELD_NUMBER;
+ hash = (53 * hash) + getCompactor().hashCode();
+ if (!internalGetUpdates().getMap().isEmpty()) {
+ hash = (37 * hash) + UPDATES_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetUpdates().hashCode();
+ }
+ if (hasJob()) {
+ hash = (37 * hash) + JOB_FIELD_NUMBER;
+ hash = (53 * hash) + getJob().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction 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 org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction 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 org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction 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(org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction 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 compaction_coordinator.PExternalCompaction}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:compaction_coordinator.PExternalCompaction)
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PExternalCompaction_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 3:
+ return internalGetUpdates();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 3:
+ return internalGetMutableUpdates();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PExternalCompaction_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction.class, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction.Builder.class);
+ }
+
+ // Construct using org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getJobFieldBuilder();
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ groupName_ = "";
+ compactor_ = "";
+ internalGetMutableUpdates().clear();
+ job_ = null;
+ if (jobBuilder_ != null) {
+ jobBuilder_.dispose();
+ jobBuilder_ = null;
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PExternalCompaction_descriptor;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction getDefaultInstanceForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction build() {
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction buildPartial() {
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction result = new org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.groupName_ = groupName_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.compactor_ = compactor_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.updates_ = internalGetUpdates().build(UpdatesDefaultEntryHolder.defaultEntry);
+ }
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.job_ = jobBuilder_ == null
+ ? job_
+ : jobBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @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 org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction) {
+ return mergeFrom((org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction other) {
+ if (other == org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction.getDefaultInstance()) return this;
+ if (!other.getGroupName().isEmpty()) {
+ groupName_ = other.groupName_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ if (!other.getCompactor().isEmpty()) {
+ compactor_ = other.compactor_;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ internalGetMutableUpdates().mergeFrom(
+ other.internalGetUpdates());
+ bitField0_ |= 0x00000004;
+ if (other.hasJob()) {
+ mergeJob(other.getJob());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ groupName_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18: {
+ compactor_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 26: {
+ com.google.protobuf.MapEntry
+ updates__ = input.readMessage(
+ UpdatesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ internalGetMutableUpdates().ensureBuilderMap().put(
+ updates__.getKey(), updates__.getValue());
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 26
+ case 34: {
+ input.readMessage(
+ getJobFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 34
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private java.lang.Object groupName_ = "";
+ /**
+ * string groupName = 1;
+ * @return The groupName.
+ */
+ public java.lang.String getGroupName() {
+ java.lang.Object ref = groupName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ groupName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string groupName = 1;
+ * @return The bytes for groupName.
+ */
+ public com.google.protobuf.ByteString
+ getGroupNameBytes() {
+ java.lang.Object ref = groupName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ groupName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string groupName = 1;
+ * @param value The groupName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setGroupName(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ groupName_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * string groupName = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearGroupName() {
+ groupName_ = getDefaultInstance().getGroupName();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ * string groupName = 1;
+ * @param value The bytes for groupName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setGroupNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ groupName_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object compactor_ = "";
+ /**
+ * string compactor = 2;
+ * @return The compactor.
+ */
+ public java.lang.String getCompactor() {
+ java.lang.Object ref = compactor_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ compactor_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string compactor = 2;
+ * @return The bytes for compactor.
+ */
+ public com.google.protobuf.ByteString
+ getCompactorBytes() {
+ java.lang.Object ref = compactor_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ compactor_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string compactor = 2;
+ * @param value The compactor to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCompactor(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ compactor_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * string compactor = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearCompactor() {
+ compactor_ = getDefaultInstance().getCompactor();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ * string compactor = 2;
+ * @param value The bytes for compactor to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCompactorBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ compactor_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private static final class UpdatesConverter implements com.google.protobuf.MapFieldBuilder.Converter {
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate build(org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdateOrBuilder val) {
+ if (val instanceof org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate) { return (org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate) val; }
+ return ((org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate.Builder) val).build();
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.MapEntry defaultEntry() {
+ return UpdatesDefaultEntryHolder.defaultEntry;
+ }
+ };
+ private static final UpdatesConverter updatesConverter = new UpdatesConverter();
+
+ private com.google.protobuf.MapFieldBuilder<
+ java.lang.Long, org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdateOrBuilder, org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate, org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate.Builder> updates_;
+ private com.google.protobuf.MapFieldBuilder
+ internalGetUpdates() {
+ if (updates_ == null) {
+ return new com.google.protobuf.MapFieldBuilder<>(updatesConverter);
+ }
+ return updates_;
+ }
+ private com.google.protobuf.MapFieldBuilder
+ internalGetMutableUpdates() {
+ if (updates_ == null) {
+ updates_ = new com.google.protobuf.MapFieldBuilder<>(updatesConverter);
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return updates_;
+ }
+ public int getUpdatesCount() {
+ return internalGetUpdates().ensureBuilderMap().size();
+ }
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ @java.lang.Override
+ public boolean containsUpdates(
+ long key) {
+
+ return internalGetUpdates().ensureBuilderMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getUpdatesMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getUpdates() {
+ return getUpdatesMap();
+ }
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ @java.lang.Override
+ public java.util.Map getUpdatesMap() {
+ return internalGetUpdates().getImmutableMap();
+ }
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ @java.lang.Override
+ public /* nullable */
+org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate getUpdatesOrDefault(
+ long key,
+ /* nullable */
+org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate defaultValue) {
+
+ java.util.Map map = internalGetMutableUpdates().ensureBuilderMap();
+ return map.containsKey(key) ? updatesConverter.build(map.get(key)) : defaultValue;
+ }
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate getUpdatesOrThrow(
+ long key) {
+
+ java.util.Map map = internalGetMutableUpdates().ensureBuilderMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return updatesConverter.build(map.get(key));
+ }
+ public Builder clearUpdates() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ internalGetMutableUpdates().clear();
+ return this;
+ }
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ public Builder removeUpdates(
+ long key) {
+
+ internalGetMutableUpdates().ensureBuilderMap()
+ .remove(key);
+ return this;
+ }
+ /**
+ * Use alternate mutation accessors instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableUpdates() {
+ bitField0_ |= 0x00000004;
+ return internalGetMutableUpdates().ensureMessageMap();
+ }
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ public Builder putUpdates(
+ long key,
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate value) {
+
+ if (value == null) { throw new NullPointerException("map value"); }
+ internalGetMutableUpdates().ensureBuilderMap()
+ .put(key, value);
+ bitField0_ |= 0x00000004;
+ return this;
+ }
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ public Builder putAllUpdates(
+ java.util.Map values) {
+ for (java.util.Map.Entry e : values.entrySet()) {
+ if (e.getKey() == null || e.getValue() == null) {
+ throw new NullPointerException();
+ }
+ }
+ internalGetMutableUpdates().ensureBuilderMap()
+ .putAll(values);
+ bitField0_ |= 0x00000004;
+ return this;
+ }
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate.Builder putUpdatesBuilderIfAbsent(
+ long key) {
+ java.util.Map builderMap = internalGetMutableUpdates().ensureBuilderMap();
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdateOrBuilder entry = builderMap.get(key);
+ if (entry == null) {
+ entry = org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate.newBuilder();
+ builderMap.put(key, entry);
+ }
+ if (entry instanceof org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate) {
+ entry = ((org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate) entry).toBuilder();
+ builderMap.put(key, entry);
+ }
+ return (org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate.Builder) entry;
+ }
+
+ private org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob job_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.Builder, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJobOrBuilder> jobBuilder_;
+ /**
+ * .tabletserver.PExternalCompactionJob job = 4;
+ * @return Whether the job field is set.
+ */
+ public boolean hasJob() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+ /**
+ * .tabletserver.PExternalCompactionJob job = 4;
+ * @return The job.
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob getJob() {
+ if (jobBuilder_ == null) {
+ return job_ == null ? org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.getDefaultInstance() : job_;
+ } else {
+ return jobBuilder_.getMessage();
+ }
+ }
+ /**
+ * .tabletserver.PExternalCompactionJob job = 4;
+ */
+ public Builder setJob(org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob value) {
+ if (jobBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ job_ = value;
+ } else {
+ jobBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * .tabletserver.PExternalCompactionJob job = 4;
+ */
+ public Builder setJob(
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.Builder builderForValue) {
+ if (jobBuilder_ == null) {
+ job_ = builderForValue.build();
+ } else {
+ jobBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * .tabletserver.PExternalCompactionJob job = 4;
+ */
+ public Builder mergeJob(org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob value) {
+ if (jobBuilder_ == null) {
+ if (((bitField0_ & 0x00000008) != 0) &&
+ job_ != null &&
+ job_ != org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.getDefaultInstance()) {
+ getJobBuilder().mergeFrom(value);
+ } else {
+ job_ = value;
+ }
+ } else {
+ jobBuilder_.mergeFrom(value);
+ }
+ if (job_ != null) {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * .tabletserver.PExternalCompactionJob job = 4;
+ */
+ public Builder clearJob() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ job_ = null;
+ if (jobBuilder_ != null) {
+ jobBuilder_.dispose();
+ jobBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .tabletserver.PExternalCompactionJob job = 4;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.Builder getJobBuilder() {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return getJobFieldBuilder().getBuilder();
+ }
+ /**
+ * .tabletserver.PExternalCompactionJob job = 4;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJobOrBuilder getJobOrBuilder() {
+ if (jobBuilder_ != null) {
+ return jobBuilder_.getMessageOrBuilder();
+ } else {
+ return job_ == null ?
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.getDefaultInstance() : job_;
+ }
+ }
+ /**
+ * .tabletserver.PExternalCompactionJob job = 4;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.Builder, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJobOrBuilder>
+ getJobFieldBuilder() {
+ if (jobBuilder_ == null) {
+ jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.Builder, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJobOrBuilder>(
+ getJob(),
+ getParentForChildren(),
+ isClean());
+ job_ = null;
+ }
+ return jobBuilder_;
+ }
+ @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:compaction_coordinator.PExternalCompaction)
+ }
+
+ // @@protoc_insertion_point(class_scope:compaction_coordinator.PExternalCompaction)
+ private static final org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction();
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public PExternalCompaction parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompactionJob.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompactionJob.java
new file mode 100644
index 00000000000..a4fd873e059
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompactionJob.java
@@ -0,0 +1,2138 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: tabletserver.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+/**
+ * Protobuf type {@code tabletserver.PExternalCompactionJob}
+ */
+public final class PExternalCompactionJob extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:tabletserver.PExternalCompactionJob)
+ PExternalCompactionJobOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use PExternalCompactionJob.newBuilder() to construct.
+ private PExternalCompactionJob(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private PExternalCompactionJob() {
+ externalCompactionId_ = "";
+ files_ = java.util.Collections.emptyList();
+ outputFile_ = "";
+ kind_ = 0;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new PExternalCompactionJob();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PExternalCompactionJob_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 9:
+ return internalGetOverrides();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PExternalCompactionJob_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.class, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int EXTERNALCOMPACTIONID_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object externalCompactionId_ = "";
+ /**
+ * optional string externalCompactionId = 1;
+ * @return Whether the externalCompactionId field is set.
+ */
+ @java.lang.Override
+ public boolean hasExternalCompactionId() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * optional string externalCompactionId = 1;
+ * @return The externalCompactionId.
+ */
+ @java.lang.Override
+ public java.lang.String getExternalCompactionId() {
+ java.lang.Object ref = externalCompactionId_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ externalCompactionId_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string externalCompactionId = 1;
+ * @return The bytes for externalCompactionId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getExternalCompactionIdBytes() {
+ java.lang.Object ref = externalCompactionId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ externalCompactionId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int EXTENT_FIELD_NUMBER = 2;
+ private org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent extent_;
+ /**
+ * optional .data.PKeyExtent extent = 2;
+ * @return Whether the extent field is set.
+ */
+ @java.lang.Override
+ public boolean hasExtent() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * optional .data.PKeyExtent extent = 2;
+ * @return The extent.
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent getExtent() {
+ return extent_ == null ? org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent.getDefaultInstance() : extent_;
+ }
+ /**
+ * optional .data.PKeyExtent extent = 2;
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PKeyExtentOrBuilder getExtentOrBuilder() {
+ return extent_ == null ? org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent.getDefaultInstance() : extent_;
+ }
+
+ public static final int FILES_FIELD_NUMBER = 3;
+ @SuppressWarnings("serial")
+ private java.util.List files_;
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ @java.lang.Override
+ public java.util.List getFilesList() {
+ return files_;
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ @java.lang.Override
+ public java.util.List extends org.apache.accumulo.grpc.compaction.protobuf.PInputFileOrBuilder>
+ getFilesOrBuilderList() {
+ return files_;
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ @java.lang.Override
+ public int getFilesCount() {
+ return files_.size();
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PInputFile getFiles(int index) {
+ return files_.get(index);
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PInputFileOrBuilder getFilesOrBuilder(
+ int index) {
+ return files_.get(index);
+ }
+
+ public static final int ITERATORSETTINGS_FIELD_NUMBER = 4;
+ private org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig iteratorSettings_;
+ /**
+ * optional .tabletserver.PIteratorConfig iteratorSettings = 4;
+ * @return Whether the iteratorSettings field is set.
+ */
+ @java.lang.Override
+ public boolean hasIteratorSettings() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * optional .tabletserver.PIteratorConfig iteratorSettings = 4;
+ * @return The iteratorSettings.
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig getIteratorSettings() {
+ return iteratorSettings_ == null ? org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.getDefaultInstance() : iteratorSettings_;
+ }
+ /**
+ * optional .tabletserver.PIteratorConfig iteratorSettings = 4;
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfigOrBuilder getIteratorSettingsOrBuilder() {
+ return iteratorSettings_ == null ? org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.getDefaultInstance() : iteratorSettings_;
+ }
+
+ public static final int OUTPUTFILE_FIELD_NUMBER = 5;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object outputFile_ = "";
+ /**
+ * optional string outputFile = 5;
+ * @return Whether the outputFile field is set.
+ */
+ @java.lang.Override
+ public boolean hasOutputFile() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+ /**
+ * optional string outputFile = 5;
+ * @return The outputFile.
+ */
+ @java.lang.Override
+ public java.lang.String getOutputFile() {
+ java.lang.Object ref = outputFile_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ outputFile_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string outputFile = 5;
+ * @return The bytes for outputFile.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getOutputFileBytes() {
+ java.lang.Object ref = outputFile_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ outputFile_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int PROPAGATEDELETES_FIELD_NUMBER = 6;
+ private boolean propagateDeletes_ = false;
+ /**
+ * optional bool propagateDeletes = 6;
+ * @return Whether the propagateDeletes field is set.
+ */
+ @java.lang.Override
+ public boolean hasPropagateDeletes() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+ /**
+ * optional bool propagateDeletes = 6;
+ * @return The propagateDeletes.
+ */
+ @java.lang.Override
+ public boolean getPropagateDeletes() {
+ return propagateDeletes_;
+ }
+
+ public static final int KIND_FIELD_NUMBER = 7;
+ private int kind_ = 0;
+ /**
+ * optional .tabletserver.PCompactionKind kind = 7;
+ * @return Whether the kind field is set.
+ */
+ @java.lang.Override public boolean hasKind() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+ /**
+ * optional .tabletserver.PCompactionKind kind = 7;
+ * @return The enum numeric value on the wire for kind.
+ */
+ @java.lang.Override public int getKindValue() {
+ return kind_;
+ }
+ /**
+ * optional .tabletserver.PCompactionKind kind = 7;
+ * @return The kind.
+ */
+ @java.lang.Override public org.apache.accumulo.grpc.compaction.protobuf.PCompactionKind getKind() {
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionKind result = org.apache.accumulo.grpc.compaction.protobuf.PCompactionKind.forNumber(kind_);
+ return result == null ? org.apache.accumulo.grpc.compaction.protobuf.PCompactionKind.UNRECOGNIZED : result;
+ }
+
+ public static final int FATEID_FIELD_NUMBER = 8;
+ private org.apache.accumulo.grpc.compaction.protobuf.PFateId fateId_;
+ /**
+ * optional .manager.PFateId fateId = 8;
+ * @return Whether the fateId field is set.
+ */
+ @java.lang.Override
+ public boolean hasFateId() {
+ return ((bitField0_ & 0x00000040) != 0);
+ }
+ /**
+ * optional .manager.PFateId fateId = 8;
+ * @return The fateId.
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PFateId getFateId() {
+ return fateId_ == null ? org.apache.accumulo.grpc.compaction.protobuf.PFateId.getDefaultInstance() : fateId_;
+ }
+ /**
+ * optional .manager.PFateId fateId = 8;
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PFateIdOrBuilder getFateIdOrBuilder() {
+ return fateId_ == null ? org.apache.accumulo.grpc.compaction.protobuf.PFateId.getDefaultInstance() : fateId_;
+ }
+
+ public static final int OVERRIDES_FIELD_NUMBER = 9;
+ private static final class OverridesDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, java.lang.String> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PExternalCompactionJob_OverridesEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "");
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.String, java.lang.String> overrides_;
+ private com.google.protobuf.MapField
+ internalGetOverrides() {
+ if (overrides_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ OverridesDefaultEntryHolder.defaultEntry);
+ }
+ return overrides_;
+ }
+ public int getOverridesCount() {
+ return internalGetOverrides().getMap().size();
+ }
+ /**
+ * map<string, string> overrides = 9;
+ */
+ @java.lang.Override
+ public boolean containsOverrides(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ return internalGetOverrides().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getOverridesMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getOverrides() {
+ return getOverridesMap();
+ }
+ /**
+ * map<string, string> overrides = 9;
+ */
+ @java.lang.Override
+ public java.util.Map getOverridesMap() {
+ return internalGetOverrides().getMap();
+ }
+ /**
+ * map<string, string> overrides = 9;
+ */
+ @java.lang.Override
+ public /* nullable */
+java.lang.String getOverridesOrDefault(
+ java.lang.String key,
+ /* nullable */
+java.lang.String defaultValue) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetOverrides().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<string, string> overrides = 9;
+ */
+ @java.lang.Override
+ public java.lang.String getOverridesOrThrow(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetOverrides().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ 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 {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, externalCompactionId_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(2, getExtent());
+ }
+ for (int i = 0; i < files_.size(); i++) {
+ output.writeMessage(3, files_.get(i));
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ output.writeMessage(4, getIteratorSettings());
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, outputFile_);
+ }
+ if (((bitField0_ & 0x00000010) != 0)) {
+ output.writeBool(6, propagateDeletes_);
+ }
+ if (((bitField0_ & 0x00000020) != 0)) {
+ output.writeEnum(7, kind_);
+ }
+ if (((bitField0_ & 0x00000040) != 0)) {
+ output.writeMessage(8, getFateId());
+ }
+ com.google.protobuf.GeneratedMessageV3
+ .serializeStringMapTo(
+ output,
+ internalGetOverrides(),
+ OverridesDefaultEntryHolder.defaultEntry,
+ 9);
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, externalCompactionId_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getExtent());
+ }
+ for (int i = 0; i < files_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, files_.get(i));
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, getIteratorSettings());
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, outputFile_);
+ }
+ if (((bitField0_ & 0x00000010) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(6, propagateDeletes_);
+ }
+ if (((bitField0_ & 0x00000020) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(7, kind_);
+ }
+ if (((bitField0_ & 0x00000040) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(8, getFateId());
+ }
+ for (java.util.Map.Entry entry
+ : internalGetOverrides().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ overrides__ = OverridesDefaultEntryHolder.defaultEntry.newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(9, overrides__);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob)) {
+ return super.equals(obj);
+ }
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob other = (org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob) obj;
+
+ if (hasExternalCompactionId() != other.hasExternalCompactionId()) return false;
+ if (hasExternalCompactionId()) {
+ if (!getExternalCompactionId()
+ .equals(other.getExternalCompactionId())) return false;
+ }
+ if (hasExtent() != other.hasExtent()) return false;
+ if (hasExtent()) {
+ if (!getExtent()
+ .equals(other.getExtent())) return false;
+ }
+ if (!getFilesList()
+ .equals(other.getFilesList())) return false;
+ if (hasIteratorSettings() != other.hasIteratorSettings()) return false;
+ if (hasIteratorSettings()) {
+ if (!getIteratorSettings()
+ .equals(other.getIteratorSettings())) return false;
+ }
+ if (hasOutputFile() != other.hasOutputFile()) return false;
+ if (hasOutputFile()) {
+ if (!getOutputFile()
+ .equals(other.getOutputFile())) return false;
+ }
+ if (hasPropagateDeletes() != other.hasPropagateDeletes()) return false;
+ if (hasPropagateDeletes()) {
+ if (getPropagateDeletes()
+ != other.getPropagateDeletes()) return false;
+ }
+ if (hasKind() != other.hasKind()) return false;
+ if (hasKind()) {
+ if (kind_ != other.kind_) return false;
+ }
+ if (hasFateId() != other.hasFateId()) return false;
+ if (hasFateId()) {
+ if (!getFateId()
+ .equals(other.getFateId())) return false;
+ }
+ if (!internalGetOverrides().equals(
+ other.internalGetOverrides())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasExternalCompactionId()) {
+ hash = (37 * hash) + EXTERNALCOMPACTIONID_FIELD_NUMBER;
+ hash = (53 * hash) + getExternalCompactionId().hashCode();
+ }
+ if (hasExtent()) {
+ hash = (37 * hash) + EXTENT_FIELD_NUMBER;
+ hash = (53 * hash) + getExtent().hashCode();
+ }
+ if (getFilesCount() > 0) {
+ hash = (37 * hash) + FILES_FIELD_NUMBER;
+ hash = (53 * hash) + getFilesList().hashCode();
+ }
+ if (hasIteratorSettings()) {
+ hash = (37 * hash) + ITERATORSETTINGS_FIELD_NUMBER;
+ hash = (53 * hash) + getIteratorSettings().hashCode();
+ }
+ if (hasOutputFile()) {
+ hash = (37 * hash) + OUTPUTFILE_FIELD_NUMBER;
+ hash = (53 * hash) + getOutputFile().hashCode();
+ }
+ if (hasPropagateDeletes()) {
+ hash = (37 * hash) + PROPAGATEDELETES_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPropagateDeletes());
+ }
+ if (hasKind()) {
+ hash = (37 * hash) + KIND_FIELD_NUMBER;
+ hash = (53 * hash) + kind_;
+ }
+ if (hasFateId()) {
+ hash = (37 * hash) + FATEID_FIELD_NUMBER;
+ hash = (53 * hash) + getFateId().hashCode();
+ }
+ if (!internalGetOverrides().getMap().isEmpty()) {
+ hash = (37 * hash) + OVERRIDES_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetOverrides().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob 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 org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob 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 org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob 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(org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob 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 tabletserver.PExternalCompactionJob}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:tabletserver.PExternalCompactionJob)
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJobOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PExternalCompactionJob_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 9:
+ return internalGetOverrides();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 9:
+ return internalGetMutableOverrides();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PExternalCompactionJob_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.class, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.Builder.class);
+ }
+
+ // Construct using org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getExtentFieldBuilder();
+ getFilesFieldBuilder();
+ getIteratorSettingsFieldBuilder();
+ getFateIdFieldBuilder();
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ externalCompactionId_ = "";
+ extent_ = null;
+ if (extentBuilder_ != null) {
+ extentBuilder_.dispose();
+ extentBuilder_ = null;
+ }
+ if (filesBuilder_ == null) {
+ files_ = java.util.Collections.emptyList();
+ } else {
+ files_ = null;
+ filesBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000004);
+ iteratorSettings_ = null;
+ if (iteratorSettingsBuilder_ != null) {
+ iteratorSettingsBuilder_.dispose();
+ iteratorSettingsBuilder_ = null;
+ }
+ outputFile_ = "";
+ propagateDeletes_ = false;
+ kind_ = 0;
+ fateId_ = null;
+ if (fateIdBuilder_ != null) {
+ fateIdBuilder_.dispose();
+ fateIdBuilder_ = null;
+ }
+ internalGetMutableOverrides().clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PExternalCompactionJob_descriptor;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob getDefaultInstanceForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob build() {
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob buildPartial() {
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob result = new org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob result) {
+ if (filesBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)) {
+ files_ = java.util.Collections.unmodifiableList(files_);
+ bitField0_ = (bitField0_ & ~0x00000004);
+ }
+ result.files_ = files_;
+ } else {
+ result.files_ = filesBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.externalCompactionId_ = externalCompactionId_;
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.extent_ = extentBuilder_ == null
+ ? extent_
+ : extentBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.iteratorSettings_ = iteratorSettingsBuilder_ == null
+ ? iteratorSettings_
+ : iteratorSettingsBuilder_.build();
+ to_bitField0_ |= 0x00000004;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.outputFile_ = outputFile_;
+ to_bitField0_ |= 0x00000008;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.propagateDeletes_ = propagateDeletes_;
+ to_bitField0_ |= 0x00000010;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.kind_ = kind_;
+ to_bitField0_ |= 0x00000020;
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.fateId_ = fateIdBuilder_ == null
+ ? fateId_
+ : fateIdBuilder_.build();
+ to_bitField0_ |= 0x00000040;
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.overrides_ = internalGetOverrides();
+ result.overrides_.makeImmutable();
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @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 org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob) {
+ return mergeFrom((org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob other) {
+ if (other == org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob.getDefaultInstance()) return this;
+ if (other.hasExternalCompactionId()) {
+ externalCompactionId_ = other.externalCompactionId_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ if (other.hasExtent()) {
+ mergeExtent(other.getExtent());
+ }
+ if (filesBuilder_ == null) {
+ if (!other.files_.isEmpty()) {
+ if (files_.isEmpty()) {
+ files_ = other.files_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ } else {
+ ensureFilesIsMutable();
+ files_.addAll(other.files_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.files_.isEmpty()) {
+ if (filesBuilder_.isEmpty()) {
+ filesBuilder_.dispose();
+ filesBuilder_ = null;
+ files_ = other.files_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ filesBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+ getFilesFieldBuilder() : null;
+ } else {
+ filesBuilder_.addAllMessages(other.files_);
+ }
+ }
+ }
+ if (other.hasIteratorSettings()) {
+ mergeIteratorSettings(other.getIteratorSettings());
+ }
+ if (other.hasOutputFile()) {
+ outputFile_ = other.outputFile_;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ }
+ if (other.hasPropagateDeletes()) {
+ setPropagateDeletes(other.getPropagateDeletes());
+ }
+ if (other.hasKind()) {
+ setKind(other.getKind());
+ }
+ if (other.hasFateId()) {
+ mergeFateId(other.getFateId());
+ }
+ internalGetMutableOverrides().mergeFrom(
+ other.internalGetOverrides());
+ bitField0_ |= 0x00000100;
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ externalCompactionId_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18: {
+ input.readMessage(
+ getExtentFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 26: {
+ org.apache.accumulo.grpc.compaction.protobuf.PInputFile m =
+ input.readMessage(
+ org.apache.accumulo.grpc.compaction.protobuf.PInputFile.parser(),
+ extensionRegistry);
+ if (filesBuilder_ == null) {
+ ensureFilesIsMutable();
+ files_.add(m);
+ } else {
+ filesBuilder_.addMessage(m);
+ }
+ break;
+ } // case 26
+ case 34: {
+ input.readMessage(
+ getIteratorSettingsFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 34
+ case 42: {
+ outputFile_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 42
+ case 48: {
+ propagateDeletes_ = input.readBool();
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 48
+ case 56: {
+ kind_ = input.readEnum();
+ bitField0_ |= 0x00000040;
+ break;
+ } // case 56
+ case 66: {
+ input.readMessage(
+ getFateIdFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000080;
+ break;
+ } // case 66
+ case 74: {
+ com.google.protobuf.MapEntry
+ overrides__ = input.readMessage(
+ OverridesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ internalGetMutableOverrides().getMutableMap().put(
+ overrides__.getKey(), overrides__.getValue());
+ bitField0_ |= 0x00000100;
+ break;
+ } // case 74
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private java.lang.Object externalCompactionId_ = "";
+ /**
+ * optional string externalCompactionId = 1;
+ * @return Whether the externalCompactionId field is set.
+ */
+ public boolean hasExternalCompactionId() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * optional string externalCompactionId = 1;
+ * @return The externalCompactionId.
+ */
+ public java.lang.String getExternalCompactionId() {
+ java.lang.Object ref = externalCompactionId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ externalCompactionId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string externalCompactionId = 1;
+ * @return The bytes for externalCompactionId.
+ */
+ public com.google.protobuf.ByteString
+ getExternalCompactionIdBytes() {
+ java.lang.Object ref = externalCompactionId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ externalCompactionId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string externalCompactionId = 1;
+ * @param value The externalCompactionId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setExternalCompactionId(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ externalCompactionId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string externalCompactionId = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearExternalCompactionId() {
+ externalCompactionId_ = getDefaultInstance().getExternalCompactionId();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string externalCompactionId = 1;
+ * @param value The bytes for externalCompactionId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setExternalCompactionIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ externalCompactionId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent extent_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent, org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent.Builder, org.apache.accumulo.grpc.compaction.protobuf.PKeyExtentOrBuilder> extentBuilder_;
+ /**
+ * optional .data.PKeyExtent extent = 2;
+ * @return Whether the extent field is set.
+ */
+ public boolean hasExtent() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * optional .data.PKeyExtent extent = 2;
+ * @return The extent.
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent getExtent() {
+ if (extentBuilder_ == null) {
+ return extent_ == null ? org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent.getDefaultInstance() : extent_;
+ } else {
+ return extentBuilder_.getMessage();
+ }
+ }
+ /**
+ * optional .data.PKeyExtent extent = 2;
+ */
+ public Builder setExtent(org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent value) {
+ if (extentBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ extent_ = value;
+ } else {
+ extentBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .data.PKeyExtent extent = 2;
+ */
+ public Builder setExtent(
+ org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent.Builder builderForValue) {
+ if (extentBuilder_ == null) {
+ extent_ = builderForValue.build();
+ } else {
+ extentBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .data.PKeyExtent extent = 2;
+ */
+ public Builder mergeExtent(org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent value) {
+ if (extentBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0) &&
+ extent_ != null &&
+ extent_ != org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent.getDefaultInstance()) {
+ getExtentBuilder().mergeFrom(value);
+ } else {
+ extent_ = value;
+ }
+ } else {
+ extentBuilder_.mergeFrom(value);
+ }
+ if (extent_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * optional .data.PKeyExtent extent = 2;
+ */
+ public Builder clearExtent() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ extent_ = null;
+ if (extentBuilder_ != null) {
+ extentBuilder_.dispose();
+ extentBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .data.PKeyExtent extent = 2;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent.Builder getExtentBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getExtentFieldBuilder().getBuilder();
+ }
+ /**
+ * optional .data.PKeyExtent extent = 2;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PKeyExtentOrBuilder getExtentOrBuilder() {
+ if (extentBuilder_ != null) {
+ return extentBuilder_.getMessageOrBuilder();
+ } else {
+ return extent_ == null ?
+ org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent.getDefaultInstance() : extent_;
+ }
+ }
+ /**
+ * optional .data.PKeyExtent extent = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent, org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent.Builder, org.apache.accumulo.grpc.compaction.protobuf.PKeyExtentOrBuilder>
+ getExtentFieldBuilder() {
+ if (extentBuilder_ == null) {
+ extentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent, org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent.Builder, org.apache.accumulo.grpc.compaction.protobuf.PKeyExtentOrBuilder>(
+ getExtent(),
+ getParentForChildren(),
+ isClean());
+ extent_ = null;
+ }
+ return extentBuilder_;
+ }
+
+ private java.util.List files_ =
+ java.util.Collections.emptyList();
+ private void ensureFilesIsMutable() {
+ if (!((bitField0_ & 0x00000004) != 0)) {
+ files_ = new java.util.ArrayList(files_);
+ bitField0_ |= 0x00000004;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PInputFile, org.apache.accumulo.grpc.compaction.protobuf.PInputFile.Builder, org.apache.accumulo.grpc.compaction.protobuf.PInputFileOrBuilder> filesBuilder_;
+
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public java.util.List getFilesList() {
+ if (filesBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(files_);
+ } else {
+ return filesBuilder_.getMessageList();
+ }
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public int getFilesCount() {
+ if (filesBuilder_ == null) {
+ return files_.size();
+ } else {
+ return filesBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PInputFile getFiles(int index) {
+ if (filesBuilder_ == null) {
+ return files_.get(index);
+ } else {
+ return filesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public Builder setFiles(
+ int index, org.apache.accumulo.grpc.compaction.protobuf.PInputFile value) {
+ if (filesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFilesIsMutable();
+ files_.set(index, value);
+ onChanged();
+ } else {
+ filesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public Builder setFiles(
+ int index, org.apache.accumulo.grpc.compaction.protobuf.PInputFile.Builder builderForValue) {
+ if (filesBuilder_ == null) {
+ ensureFilesIsMutable();
+ files_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ filesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public Builder addFiles(org.apache.accumulo.grpc.compaction.protobuf.PInputFile value) {
+ if (filesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFilesIsMutable();
+ files_.add(value);
+ onChanged();
+ } else {
+ filesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public Builder addFiles(
+ int index, org.apache.accumulo.grpc.compaction.protobuf.PInputFile value) {
+ if (filesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFilesIsMutable();
+ files_.add(index, value);
+ onChanged();
+ } else {
+ filesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public Builder addFiles(
+ org.apache.accumulo.grpc.compaction.protobuf.PInputFile.Builder builderForValue) {
+ if (filesBuilder_ == null) {
+ ensureFilesIsMutable();
+ files_.add(builderForValue.build());
+ onChanged();
+ } else {
+ filesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public Builder addFiles(
+ int index, org.apache.accumulo.grpc.compaction.protobuf.PInputFile.Builder builderForValue) {
+ if (filesBuilder_ == null) {
+ ensureFilesIsMutable();
+ files_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ filesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public Builder addAllFiles(
+ java.lang.Iterable extends org.apache.accumulo.grpc.compaction.protobuf.PInputFile> values) {
+ if (filesBuilder_ == null) {
+ ensureFilesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, files_);
+ onChanged();
+ } else {
+ filesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public Builder clearFiles() {
+ if (filesBuilder_ == null) {
+ files_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ } else {
+ filesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public Builder removeFiles(int index) {
+ if (filesBuilder_ == null) {
+ ensureFilesIsMutable();
+ files_.remove(index);
+ onChanged();
+ } else {
+ filesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PInputFile.Builder getFilesBuilder(
+ int index) {
+ return getFilesFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PInputFileOrBuilder getFilesOrBuilder(
+ int index) {
+ if (filesBuilder_ == null) {
+ return files_.get(index); } else {
+ return filesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public java.util.List extends org.apache.accumulo.grpc.compaction.protobuf.PInputFileOrBuilder>
+ getFilesOrBuilderList() {
+ if (filesBuilder_ != null) {
+ return filesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(files_);
+ }
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PInputFile.Builder addFilesBuilder() {
+ return getFilesFieldBuilder().addBuilder(
+ org.apache.accumulo.grpc.compaction.protobuf.PInputFile.getDefaultInstance());
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PInputFile.Builder addFilesBuilder(
+ int index) {
+ return getFilesFieldBuilder().addBuilder(
+ index, org.apache.accumulo.grpc.compaction.protobuf.PInputFile.getDefaultInstance());
+ }
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ public java.util.List
+ getFilesBuilderList() {
+ return getFilesFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PInputFile, org.apache.accumulo.grpc.compaction.protobuf.PInputFile.Builder, org.apache.accumulo.grpc.compaction.protobuf.PInputFileOrBuilder>
+ getFilesFieldBuilder() {
+ if (filesBuilder_ == null) {
+ filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PInputFile, org.apache.accumulo.grpc.compaction.protobuf.PInputFile.Builder, org.apache.accumulo.grpc.compaction.protobuf.PInputFileOrBuilder>(
+ files_,
+ ((bitField0_ & 0x00000004) != 0),
+ getParentForChildren(),
+ isClean());
+ files_ = null;
+ }
+ return filesBuilder_;
+ }
+
+ private org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig iteratorSettings_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig, org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.Builder, org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfigOrBuilder> iteratorSettingsBuilder_;
+ /**
+ * optional .tabletserver.PIteratorConfig iteratorSettings = 4;
+ * @return Whether the iteratorSettings field is set.
+ */
+ public boolean hasIteratorSettings() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+ /**
+ * optional .tabletserver.PIteratorConfig iteratorSettings = 4;
+ * @return The iteratorSettings.
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig getIteratorSettings() {
+ if (iteratorSettingsBuilder_ == null) {
+ return iteratorSettings_ == null ? org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.getDefaultInstance() : iteratorSettings_;
+ } else {
+ return iteratorSettingsBuilder_.getMessage();
+ }
+ }
+ /**
+ * optional .tabletserver.PIteratorConfig iteratorSettings = 4;
+ */
+ public Builder setIteratorSettings(org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig value) {
+ if (iteratorSettingsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ iteratorSettings_ = value;
+ } else {
+ iteratorSettingsBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .tabletserver.PIteratorConfig iteratorSettings = 4;
+ */
+ public Builder setIteratorSettings(
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.Builder builderForValue) {
+ if (iteratorSettingsBuilder_ == null) {
+ iteratorSettings_ = builderForValue.build();
+ } else {
+ iteratorSettingsBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .tabletserver.PIteratorConfig iteratorSettings = 4;
+ */
+ public Builder mergeIteratorSettings(org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig value) {
+ if (iteratorSettingsBuilder_ == null) {
+ if (((bitField0_ & 0x00000008) != 0) &&
+ iteratorSettings_ != null &&
+ iteratorSettings_ != org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.getDefaultInstance()) {
+ getIteratorSettingsBuilder().mergeFrom(value);
+ } else {
+ iteratorSettings_ = value;
+ }
+ } else {
+ iteratorSettingsBuilder_.mergeFrom(value);
+ }
+ if (iteratorSettings_ != null) {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * optional .tabletserver.PIteratorConfig iteratorSettings = 4;
+ */
+ public Builder clearIteratorSettings() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ iteratorSettings_ = null;
+ if (iteratorSettingsBuilder_ != null) {
+ iteratorSettingsBuilder_.dispose();
+ iteratorSettingsBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .tabletserver.PIteratorConfig iteratorSettings = 4;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.Builder getIteratorSettingsBuilder() {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return getIteratorSettingsFieldBuilder().getBuilder();
+ }
+ /**
+ * optional .tabletserver.PIteratorConfig iteratorSettings = 4;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfigOrBuilder getIteratorSettingsOrBuilder() {
+ if (iteratorSettingsBuilder_ != null) {
+ return iteratorSettingsBuilder_.getMessageOrBuilder();
+ } else {
+ return iteratorSettings_ == null ?
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.getDefaultInstance() : iteratorSettings_;
+ }
+ }
+ /**
+ * optional .tabletserver.PIteratorConfig iteratorSettings = 4;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig, org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.Builder, org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfigOrBuilder>
+ getIteratorSettingsFieldBuilder() {
+ if (iteratorSettingsBuilder_ == null) {
+ iteratorSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig, org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.Builder, org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfigOrBuilder>(
+ getIteratorSettings(),
+ getParentForChildren(),
+ isClean());
+ iteratorSettings_ = null;
+ }
+ return iteratorSettingsBuilder_;
+ }
+
+ private java.lang.Object outputFile_ = "";
+ /**
+ * optional string outputFile = 5;
+ * @return Whether the outputFile field is set.
+ */
+ public boolean hasOutputFile() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+ /**
+ * optional string outputFile = 5;
+ * @return The outputFile.
+ */
+ public java.lang.String getOutputFile() {
+ java.lang.Object ref = outputFile_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ outputFile_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string outputFile = 5;
+ * @return The bytes for outputFile.
+ */
+ public com.google.protobuf.ByteString
+ getOutputFileBytes() {
+ java.lang.Object ref = outputFile_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ outputFile_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string outputFile = 5;
+ * @param value The outputFile to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOutputFile(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ outputFile_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string outputFile = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearOutputFile() {
+ outputFile_ = getDefaultInstance().getOutputFile();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string outputFile = 5;
+ * @param value The bytes for outputFile to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOutputFileBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ outputFile_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ private boolean propagateDeletes_ ;
+ /**
+ * optional bool propagateDeletes = 6;
+ * @return Whether the propagateDeletes field is set.
+ */
+ @java.lang.Override
+ public boolean hasPropagateDeletes() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+ /**
+ * optional bool propagateDeletes = 6;
+ * @return The propagateDeletes.
+ */
+ @java.lang.Override
+ public boolean getPropagateDeletes() {
+ return propagateDeletes_;
+ }
+ /**
+ * optional bool propagateDeletes = 6;
+ * @param value The propagateDeletes to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPropagateDeletes(boolean value) {
+
+ propagateDeletes_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional bool propagateDeletes = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearPropagateDeletes() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ propagateDeletes_ = false;
+ onChanged();
+ return this;
+ }
+
+ private int kind_ = 0;
+ /**
+ * optional .tabletserver.PCompactionKind kind = 7;
+ * @return Whether the kind field is set.
+ */
+ @java.lang.Override public boolean hasKind() {
+ return ((bitField0_ & 0x00000040) != 0);
+ }
+ /**
+ * optional .tabletserver.PCompactionKind kind = 7;
+ * @return The enum numeric value on the wire for kind.
+ */
+ @java.lang.Override public int getKindValue() {
+ return kind_;
+ }
+ /**
+ * optional .tabletserver.PCompactionKind kind = 7;
+ * @param value The enum numeric value on the wire for kind to set.
+ * @return This builder for chaining.
+ */
+ public Builder setKindValue(int value) {
+ kind_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .tabletserver.PCompactionKind kind = 7;
+ * @return The kind.
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PCompactionKind getKind() {
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionKind result = org.apache.accumulo.grpc.compaction.protobuf.PCompactionKind.forNumber(kind_);
+ return result == null ? org.apache.accumulo.grpc.compaction.protobuf.PCompactionKind.UNRECOGNIZED : result;
+ }
+ /**
+ * optional .tabletserver.PCompactionKind kind = 7;
+ * @param value The kind to set.
+ * @return This builder for chaining.
+ */
+ public Builder setKind(org.apache.accumulo.grpc.compaction.protobuf.PCompactionKind value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000040;
+ kind_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .tabletserver.PCompactionKind kind = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearKind() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ kind_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private org.apache.accumulo.grpc.compaction.protobuf.PFateId fateId_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PFateId, org.apache.accumulo.grpc.compaction.protobuf.PFateId.Builder, org.apache.accumulo.grpc.compaction.protobuf.PFateIdOrBuilder> fateIdBuilder_;
+ /**
+ * optional .manager.PFateId fateId = 8;
+ * @return Whether the fateId field is set.
+ */
+ public boolean hasFateId() {
+ return ((bitField0_ & 0x00000080) != 0);
+ }
+ /**
+ * optional .manager.PFateId fateId = 8;
+ * @return The fateId.
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PFateId getFateId() {
+ if (fateIdBuilder_ == null) {
+ return fateId_ == null ? org.apache.accumulo.grpc.compaction.protobuf.PFateId.getDefaultInstance() : fateId_;
+ } else {
+ return fateIdBuilder_.getMessage();
+ }
+ }
+ /**
+ * optional .manager.PFateId fateId = 8;
+ */
+ public Builder setFateId(org.apache.accumulo.grpc.compaction.protobuf.PFateId value) {
+ if (fateIdBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ fateId_ = value;
+ } else {
+ fateIdBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .manager.PFateId fateId = 8;
+ */
+ public Builder setFateId(
+ org.apache.accumulo.grpc.compaction.protobuf.PFateId.Builder builderForValue) {
+ if (fateIdBuilder_ == null) {
+ fateId_ = builderForValue.build();
+ } else {
+ fateIdBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .manager.PFateId fateId = 8;
+ */
+ public Builder mergeFateId(org.apache.accumulo.grpc.compaction.protobuf.PFateId value) {
+ if (fateIdBuilder_ == null) {
+ if (((bitField0_ & 0x00000080) != 0) &&
+ fateId_ != null &&
+ fateId_ != org.apache.accumulo.grpc.compaction.protobuf.PFateId.getDefaultInstance()) {
+ getFateIdBuilder().mergeFrom(value);
+ } else {
+ fateId_ = value;
+ }
+ } else {
+ fateIdBuilder_.mergeFrom(value);
+ }
+ if (fateId_ != null) {
+ bitField0_ |= 0x00000080;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * optional .manager.PFateId fateId = 8;
+ */
+ public Builder clearFateId() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ fateId_ = null;
+ if (fateIdBuilder_ != null) {
+ fateIdBuilder_.dispose();
+ fateIdBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .manager.PFateId fateId = 8;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PFateId.Builder getFateIdBuilder() {
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return getFateIdFieldBuilder().getBuilder();
+ }
+ /**
+ * optional .manager.PFateId fateId = 8;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PFateIdOrBuilder getFateIdOrBuilder() {
+ if (fateIdBuilder_ != null) {
+ return fateIdBuilder_.getMessageOrBuilder();
+ } else {
+ return fateId_ == null ?
+ org.apache.accumulo.grpc.compaction.protobuf.PFateId.getDefaultInstance() : fateId_;
+ }
+ }
+ /**
+ * optional .manager.PFateId fateId = 8;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PFateId, org.apache.accumulo.grpc.compaction.protobuf.PFateId.Builder, org.apache.accumulo.grpc.compaction.protobuf.PFateIdOrBuilder>
+ getFateIdFieldBuilder() {
+ if (fateIdBuilder_ == null) {
+ fateIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PFateId, org.apache.accumulo.grpc.compaction.protobuf.PFateId.Builder, org.apache.accumulo.grpc.compaction.protobuf.PFateIdOrBuilder>(
+ getFateId(),
+ getParentForChildren(),
+ isClean());
+ fateId_ = null;
+ }
+ return fateIdBuilder_;
+ }
+
+ private com.google.protobuf.MapField<
+ java.lang.String, java.lang.String> overrides_;
+ private com.google.protobuf.MapField
+ internalGetOverrides() {
+ if (overrides_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ OverridesDefaultEntryHolder.defaultEntry);
+ }
+ return overrides_;
+ }
+ private com.google.protobuf.MapField
+ internalGetMutableOverrides() {
+ if (overrides_ == null) {
+ overrides_ = com.google.protobuf.MapField.newMapField(
+ OverridesDefaultEntryHolder.defaultEntry);
+ }
+ if (!overrides_.isMutable()) {
+ overrides_ = overrides_.copy();
+ }
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return overrides_;
+ }
+ public int getOverridesCount() {
+ return internalGetOverrides().getMap().size();
+ }
+ /**
+ * map<string, string> overrides = 9;
+ */
+ @java.lang.Override
+ public boolean containsOverrides(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ return internalGetOverrides().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getOverridesMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getOverrides() {
+ return getOverridesMap();
+ }
+ /**
+ * map<string, string> overrides = 9;
+ */
+ @java.lang.Override
+ public java.util.Map getOverridesMap() {
+ return internalGetOverrides().getMap();
+ }
+ /**
+ * map<string, string> overrides = 9;
+ */
+ @java.lang.Override
+ public /* nullable */
+java.lang.String getOverridesOrDefault(
+ java.lang.String key,
+ /* nullable */
+java.lang.String defaultValue) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetOverrides().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<string, string> overrides = 9;
+ */
+ @java.lang.Override
+ public java.lang.String getOverridesOrThrow(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetOverrides().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+ public Builder clearOverrides() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ internalGetMutableOverrides().getMutableMap()
+ .clear();
+ return this;
+ }
+ /**
+ * map<string, string> overrides = 9;
+ */
+ public Builder removeOverrides(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ internalGetMutableOverrides().getMutableMap()
+ .remove(key);
+ return this;
+ }
+ /**
+ * Use alternate mutation accessors instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableOverrides() {
+ bitField0_ |= 0x00000100;
+ return internalGetMutableOverrides().getMutableMap();
+ }
+ /**
+ * map<string, string> overrides = 9;
+ */
+ public Builder putOverrides(
+ java.lang.String key,
+ java.lang.String value) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ if (value == null) { throw new NullPointerException("map value"); }
+ internalGetMutableOverrides().getMutableMap()
+ .put(key, value);
+ bitField0_ |= 0x00000100;
+ return this;
+ }
+ /**
+ * map<string, string> overrides = 9;
+ */
+ public Builder putAllOverrides(
+ java.util.Map values) {
+ internalGetMutableOverrides().getMutableMap()
+ .putAll(values);
+ bitField0_ |= 0x00000100;
+ return this;
+ }
+ @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:tabletserver.PExternalCompactionJob)
+ }
+
+ // @@protoc_insertion_point(class_scope:tabletserver.PExternalCompactionJob)
+ private static final org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob();
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public PExternalCompactionJob parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompactionJobOrBuilder.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompactionJobOrBuilder.java
new file mode 100644
index 00000000000..0efc29627b4
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompactionJobOrBuilder.java
@@ -0,0 +1,192 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: tabletserver.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+public interface PExternalCompactionJobOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:tabletserver.PExternalCompactionJob)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * optional string externalCompactionId = 1;
+ * @return Whether the externalCompactionId field is set.
+ */
+ boolean hasExternalCompactionId();
+ /**
+ * optional string externalCompactionId = 1;
+ * @return The externalCompactionId.
+ */
+ java.lang.String getExternalCompactionId();
+ /**
+ * optional string externalCompactionId = 1;
+ * @return The bytes for externalCompactionId.
+ */
+ com.google.protobuf.ByteString
+ getExternalCompactionIdBytes();
+
+ /**
+ * optional .data.PKeyExtent extent = 2;
+ * @return Whether the extent field is set.
+ */
+ boolean hasExtent();
+ /**
+ * optional .data.PKeyExtent extent = 2;
+ * @return The extent.
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PKeyExtent getExtent();
+ /**
+ * optional .data.PKeyExtent extent = 2;
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PKeyExtentOrBuilder getExtentOrBuilder();
+
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ java.util.List
+ getFilesList();
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PInputFile getFiles(int index);
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ int getFilesCount();
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ java.util.List extends org.apache.accumulo.grpc.compaction.protobuf.PInputFileOrBuilder>
+ getFilesOrBuilderList();
+ /**
+ * repeated .tabletserver.PInputFile files = 3;
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PInputFileOrBuilder getFilesOrBuilder(
+ int index);
+
+ /**
+ * optional .tabletserver.PIteratorConfig iteratorSettings = 4;
+ * @return Whether the iteratorSettings field is set.
+ */
+ boolean hasIteratorSettings();
+ /**
+ * optional .tabletserver.PIteratorConfig iteratorSettings = 4;
+ * @return The iteratorSettings.
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig getIteratorSettings();
+ /**
+ * optional .tabletserver.PIteratorConfig iteratorSettings = 4;
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfigOrBuilder getIteratorSettingsOrBuilder();
+
+ /**
+ * optional string outputFile = 5;
+ * @return Whether the outputFile field is set.
+ */
+ boolean hasOutputFile();
+ /**
+ * optional string outputFile = 5;
+ * @return The outputFile.
+ */
+ java.lang.String getOutputFile();
+ /**
+ * optional string outputFile = 5;
+ * @return The bytes for outputFile.
+ */
+ com.google.protobuf.ByteString
+ getOutputFileBytes();
+
+ /**
+ * optional bool propagateDeletes = 6;
+ * @return Whether the propagateDeletes field is set.
+ */
+ boolean hasPropagateDeletes();
+ /**
+ * optional bool propagateDeletes = 6;
+ * @return The propagateDeletes.
+ */
+ boolean getPropagateDeletes();
+
+ /**
+ * optional .tabletserver.PCompactionKind kind = 7;
+ * @return Whether the kind field is set.
+ */
+ boolean hasKind();
+ /**
+ * optional .tabletserver.PCompactionKind kind = 7;
+ * @return The enum numeric value on the wire for kind.
+ */
+ int getKindValue();
+ /**
+ * optional .tabletserver.PCompactionKind kind = 7;
+ * @return The kind.
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionKind getKind();
+
+ /**
+ * optional .manager.PFateId fateId = 8;
+ * @return Whether the fateId field is set.
+ */
+ boolean hasFateId();
+ /**
+ * optional .manager.PFateId fateId = 8;
+ * @return The fateId.
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PFateId getFateId();
+ /**
+ * optional .manager.PFateId fateId = 8;
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PFateIdOrBuilder getFateIdOrBuilder();
+
+ /**
+ * map<string, string> overrides = 9;
+ */
+ int getOverridesCount();
+ /**
+ * map<string, string> overrides = 9;
+ */
+ boolean containsOverrides(
+ java.lang.String key);
+ /**
+ * Use {@link #getOverridesMap()} instead.
+ */
+ @java.lang.Deprecated
+ java.util.Map
+ getOverrides();
+ /**
+ * map<string, string> overrides = 9;
+ */
+ java.util.Map
+ getOverridesMap();
+ /**
+ * map<string, string> overrides = 9;
+ */
+ /* nullable */
+java.lang.String getOverridesOrDefault(
+ java.lang.String key,
+ /* nullable */
+java.lang.String defaultValue);
+ /**
+ * map<string, string> overrides = 9;
+ */
+ java.lang.String getOverridesOrThrow(
+ java.lang.String key);
+}
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompactionList.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompactionList.java
new file mode 100644
index 00000000000..b9d60ee0fdd
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompactionList.java
@@ -0,0 +1,730 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: compaction-coordinator.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+/**
+ * Protobuf type {@code compaction_coordinator.PExternalCompactionList}
+ */
+public final class PExternalCompactionList extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:compaction_coordinator.PExternalCompactionList)
+ PExternalCompactionListOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use PExternalCompactionList.newBuilder() to construct.
+ private PExternalCompactionList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private PExternalCompactionList() {
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new PExternalCompactionList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PExternalCompactionList_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetCompactions();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PExternalCompactionList_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList.class, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList.Builder.class);
+ }
+
+ public static final int COMPACTIONS_FIELD_NUMBER = 1;
+ private static final class CompactionsDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PExternalCompactionList_CompactionsEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.MESSAGE,
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction.getDefaultInstance());
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.String, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction> compactions_;
+ private com.google.protobuf.MapField
+ internalGetCompactions() {
+ if (compactions_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ CompactionsDefaultEntryHolder.defaultEntry);
+ }
+ return compactions_;
+ }
+ public int getCompactionsCount() {
+ return internalGetCompactions().getMap().size();
+ }
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ @java.lang.Override
+ public boolean containsCompactions(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ return internalGetCompactions().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getCompactionsMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getCompactions() {
+ return getCompactionsMap();
+ }
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ @java.lang.Override
+ public java.util.Map getCompactionsMap() {
+ return internalGetCompactions().getMap();
+ }
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ @java.lang.Override
+ public /* nullable */
+org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction getCompactionsOrDefault(
+ java.lang.String key,
+ /* nullable */
+org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction defaultValue) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetCompactions().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction getCompactionsOrThrow(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetCompactions().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ 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 {
+ com.google.protobuf.GeneratedMessageV3
+ .serializeStringMapTo(
+ output,
+ internalGetCompactions(),
+ CompactionsDefaultEntryHolder.defaultEntry,
+ 1);
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (java.util.Map.Entry entry
+ : internalGetCompactions().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ compactions__ = CompactionsDefaultEntryHolder.defaultEntry.newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, compactions__);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList)) {
+ return super.equals(obj);
+ }
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList other = (org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList) obj;
+
+ if (!internalGetCompactions().equals(
+ other.internalGetCompactions())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (!internalGetCompactions().getMap().isEmpty()) {
+ hash = (37 * hash) + COMPACTIONS_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetCompactions().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList 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 org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList 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 org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList 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(org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList 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 compaction_coordinator.PExternalCompactionList}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:compaction_coordinator.PExternalCompactionList)
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionListOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PExternalCompactionList_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetCompactions();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetMutableCompactions();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PExternalCompactionList_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList.class, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList.Builder.class);
+ }
+
+ // Construct using org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ internalGetMutableCompactions().clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.CompactionCoordinatorServiceProto.internal_static_compaction_coordinator_PExternalCompactionList_descriptor;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList getDefaultInstanceForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList build() {
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList buildPartial() {
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList result = new org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.compactions_ = internalGetCompactions().build(CompactionsDefaultEntryHolder.defaultEntry);
+ }
+ }
+
+ @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 org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList) {
+ return mergeFrom((org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList other) {
+ if (other == org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList.getDefaultInstance()) return this;
+ internalGetMutableCompactions().mergeFrom(
+ other.internalGetCompactions());
+ bitField0_ |= 0x00000001;
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ com.google.protobuf.MapEntry
+ compactions__ = input.readMessage(
+ CompactionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ internalGetMutableCompactions().ensureBuilderMap().put(
+ compactions__.getKey(), compactions__.getValue());
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private static final class CompactionsConverter implements com.google.protobuf.MapFieldBuilder.Converter {
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction build(org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionOrBuilder val) {
+ if (val instanceof org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction) { return (org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction) val; }
+ return ((org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction.Builder) val).build();
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.MapEntry defaultEntry() {
+ return CompactionsDefaultEntryHolder.defaultEntry;
+ }
+ };
+ private static final CompactionsConverter compactionsConverter = new CompactionsConverter();
+
+ private com.google.protobuf.MapFieldBuilder<
+ java.lang.String, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionOrBuilder, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction, org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction.Builder> compactions_;
+ private com.google.protobuf.MapFieldBuilder
+ internalGetCompactions() {
+ if (compactions_ == null) {
+ return new com.google.protobuf.MapFieldBuilder<>(compactionsConverter);
+ }
+ return compactions_;
+ }
+ private com.google.protobuf.MapFieldBuilder
+ internalGetMutableCompactions() {
+ if (compactions_ == null) {
+ compactions_ = new com.google.protobuf.MapFieldBuilder<>(compactionsConverter);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return compactions_;
+ }
+ public int getCompactionsCount() {
+ return internalGetCompactions().ensureBuilderMap().size();
+ }
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ @java.lang.Override
+ public boolean containsCompactions(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ return internalGetCompactions().ensureBuilderMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getCompactionsMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getCompactions() {
+ return getCompactionsMap();
+ }
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ @java.lang.Override
+ public java.util.Map getCompactionsMap() {
+ return internalGetCompactions().getImmutableMap();
+ }
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ @java.lang.Override
+ public /* nullable */
+org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction getCompactionsOrDefault(
+ java.lang.String key,
+ /* nullable */
+org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction defaultValue) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map = internalGetMutableCompactions().ensureBuilderMap();
+ return map.containsKey(key) ? compactionsConverter.build(map.get(key)) : defaultValue;
+ }
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction getCompactionsOrThrow(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map = internalGetMutableCompactions().ensureBuilderMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return compactionsConverter.build(map.get(key));
+ }
+ public Builder clearCompactions() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ internalGetMutableCompactions().clear();
+ return this;
+ }
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ public Builder removeCompactions(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ internalGetMutableCompactions().ensureBuilderMap()
+ .remove(key);
+ return this;
+ }
+ /**
+ * Use alternate mutation accessors instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableCompactions() {
+ bitField0_ |= 0x00000001;
+ return internalGetMutableCompactions().ensureMessageMap();
+ }
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ public Builder putCompactions(
+ java.lang.String key,
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction value) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ if (value == null) { throw new NullPointerException("map value"); }
+ internalGetMutableCompactions().ensureBuilderMap()
+ .put(key, value);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ public Builder putAllCompactions(
+ java.util.Map values) {
+ for (java.util.Map.Entry e : values.entrySet()) {
+ if (e.getKey() == null || e.getValue() == null) {
+ throw new NullPointerException();
+ }
+ }
+ internalGetMutableCompactions().ensureBuilderMap()
+ .putAll(values);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction.Builder putCompactionsBuilderIfAbsent(
+ java.lang.String key) {
+ java.util.Map builderMap = internalGetMutableCompactions().ensureBuilderMap();
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionOrBuilder entry = builderMap.get(key);
+ if (entry == null) {
+ entry = org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction.newBuilder();
+ builderMap.put(key, entry);
+ }
+ if (entry instanceof org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction) {
+ entry = ((org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction) entry).toBuilder();
+ builderMap.put(key, entry);
+ }
+ return (org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction.Builder) entry;
+ }
+ @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:compaction_coordinator.PExternalCompactionList)
+ }
+
+ // @@protoc_insertion_point(class_scope:compaction_coordinator.PExternalCompactionList)
+ private static final org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList();
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public PExternalCompactionList parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionList getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompactionListOrBuilder.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompactionListOrBuilder.java
new file mode 100644
index 00000000000..d806142828e
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompactionListOrBuilder.java
@@ -0,0 +1,62 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: compaction-coordinator.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+public interface PExternalCompactionListOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:compaction_coordinator.PExternalCompactionList)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ int getCompactionsCount();
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ boolean containsCompactions(
+ java.lang.String key);
+ /**
+ * Use {@link #getCompactionsMap()} instead.
+ */
+ @java.lang.Deprecated
+ java.util.Map
+ getCompactions();
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ java.util.Map
+ getCompactionsMap();
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ /* nullable */
+org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction getCompactionsOrDefault(
+ java.lang.String key,
+ /* nullable */
+org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction defaultValue);
+ /**
+ * map<string, .compaction_coordinator.PExternalCompaction> compactions = 1;
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompaction getCompactionsOrThrow(
+ java.lang.String key);
+}
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompactionOrBuilder.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompactionOrBuilder.java
new file mode 100644
index 00000000000..445cfef6259
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PExternalCompactionOrBuilder.java
@@ -0,0 +1,101 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: compaction-coordinator.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+public interface PExternalCompactionOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:compaction_coordinator.PExternalCompaction)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * string groupName = 1;
+ * @return The groupName.
+ */
+ java.lang.String getGroupName();
+ /**
+ * string groupName = 1;
+ * @return The bytes for groupName.
+ */
+ com.google.protobuf.ByteString
+ getGroupNameBytes();
+
+ /**
+ * string compactor = 2;
+ * @return The compactor.
+ */
+ java.lang.String getCompactor();
+ /**
+ * string compactor = 2;
+ * @return The bytes for compactor.
+ */
+ com.google.protobuf.ByteString
+ getCompactorBytes();
+
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ int getUpdatesCount();
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ boolean containsUpdates(
+ long key);
+ /**
+ * Use {@link #getUpdatesMap()} instead.
+ */
+ @java.lang.Deprecated
+ java.util.Map
+ getUpdates();
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ java.util.Map
+ getUpdatesMap();
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ /* nullable */
+org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate getUpdatesOrDefault(
+ long key,
+ /* nullable */
+org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate defaultValue);
+ /**
+ * map<int64, .compaction_coordinator.PCompactionStatusUpdate> updates = 3;
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PCompactionStatusUpdate getUpdatesOrThrow(
+ long key);
+
+ /**
+ * .tabletserver.PExternalCompactionJob job = 4;
+ * @return Whether the job field is set.
+ */
+ boolean hasJob();
+ /**
+ * .tabletserver.PExternalCompactionJob job = 4;
+ * @return The job.
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJob getJob();
+ /**
+ * .tabletserver.PExternalCompactionJob job = 4;
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PExternalCompactionJobOrBuilder getJobOrBuilder();
+}
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PFateId.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PFateId.java
new file mode 100644
index 00000000000..e24f32b3204
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PFateId.java
@@ -0,0 +1,654 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: manager.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+/**
+ * Protobuf type {@code manager.PFateId}
+ */
+public final class PFateId extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:manager.PFateId)
+ PFateIdOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use PFateId.newBuilder() to construct.
+ private PFateId(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private PFateId() {
+ type_ = 0;
+ txUUIDStr_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new PFateId();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.ManagerProto.internal_static_manager_PFateId_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.ManagerProto.internal_static_manager_PFateId_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PFateId.class, org.apache.accumulo.grpc.compaction.protobuf.PFateId.Builder.class);
+ }
+
+ public static final int TYPE_FIELD_NUMBER = 1;
+ private int type_ = 0;
+ /**
+ * .manager.PFateInstanceType type = 1;
+ * @return The enum numeric value on the wire for type.
+ */
+ @java.lang.Override public int getTypeValue() {
+ return type_;
+ }
+ /**
+ * .manager.PFateInstanceType type = 1;
+ * @return The type.
+ */
+ @java.lang.Override public org.apache.accumulo.grpc.compaction.protobuf.PFateInstanceType getType() {
+ org.apache.accumulo.grpc.compaction.protobuf.PFateInstanceType result = org.apache.accumulo.grpc.compaction.protobuf.PFateInstanceType.forNumber(type_);
+ return result == null ? org.apache.accumulo.grpc.compaction.protobuf.PFateInstanceType.UNRECOGNIZED : result;
+ }
+
+ public static final int TXUUIDSTR_FIELD_NUMBER = 2;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object txUUIDStr_ = "";
+ /**
+ * string txUUIDStr = 2;
+ * @return The txUUIDStr.
+ */
+ @java.lang.Override
+ public java.lang.String getTxUUIDStr() {
+ java.lang.Object ref = txUUIDStr_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ txUUIDStr_ = s;
+ return s;
+ }
+ }
+ /**
+ * string txUUIDStr = 2;
+ * @return The bytes for txUUIDStr.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getTxUUIDStrBytes() {
+ java.lang.Object ref = txUUIDStr_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ txUUIDStr_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ 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 {
+ if (type_ != org.apache.accumulo.grpc.compaction.protobuf.PFateInstanceType.UNKNOWN.getNumber()) {
+ output.writeEnum(1, type_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(txUUIDStr_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, txUUIDStr_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (type_ != org.apache.accumulo.grpc.compaction.protobuf.PFateInstanceType.UNKNOWN.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(1, type_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(txUUIDStr_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, txUUIDStr_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof org.apache.accumulo.grpc.compaction.protobuf.PFateId)) {
+ return super.equals(obj);
+ }
+ org.apache.accumulo.grpc.compaction.protobuf.PFateId other = (org.apache.accumulo.grpc.compaction.protobuf.PFateId) obj;
+
+ if (type_ != other.type_) return false;
+ if (!getTxUUIDStr()
+ .equals(other.getTxUUIDStr())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + type_;
+ hash = (37 * hash) + TXUUIDSTR_FIELD_NUMBER;
+ hash = (53 * hash) + getTxUUIDStr().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PFateId parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PFateId parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PFateId parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PFateId parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PFateId parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PFateId parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PFateId parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PFateId 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 org.apache.accumulo.grpc.compaction.protobuf.PFateId parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PFateId 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 org.apache.accumulo.grpc.compaction.protobuf.PFateId parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PFateId 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(org.apache.accumulo.grpc.compaction.protobuf.PFateId 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 manager.PFateId}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:manager.PFateId)
+ org.apache.accumulo.grpc.compaction.protobuf.PFateIdOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.ManagerProto.internal_static_manager_PFateId_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.ManagerProto.internal_static_manager_PFateId_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PFateId.class, org.apache.accumulo.grpc.compaction.protobuf.PFateId.Builder.class);
+ }
+
+ // Construct using org.apache.accumulo.grpc.compaction.protobuf.PFateId.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ type_ = 0;
+ txUUIDStr_ = "";
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.ManagerProto.internal_static_manager_PFateId_descriptor;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PFateId getDefaultInstanceForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.PFateId.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PFateId build() {
+ org.apache.accumulo.grpc.compaction.protobuf.PFateId result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PFateId buildPartial() {
+ org.apache.accumulo.grpc.compaction.protobuf.PFateId result = new org.apache.accumulo.grpc.compaction.protobuf.PFateId(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(org.apache.accumulo.grpc.compaction.protobuf.PFateId result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.type_ = type_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.txUUIDStr_ = txUUIDStr_;
+ }
+ }
+
+ @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 org.apache.accumulo.grpc.compaction.protobuf.PFateId) {
+ return mergeFrom((org.apache.accumulo.grpc.compaction.protobuf.PFateId)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.apache.accumulo.grpc.compaction.protobuf.PFateId other) {
+ if (other == org.apache.accumulo.grpc.compaction.protobuf.PFateId.getDefaultInstance()) return this;
+ if (other.type_ != 0) {
+ setTypeValue(other.getTypeValue());
+ }
+ if (!other.getTxUUIDStr().isEmpty()) {
+ txUUIDStr_ = other.txUUIDStr_;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8: {
+ type_ = input.readEnum();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 8
+ case 18: {
+ txUUIDStr_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private int type_ = 0;
+ /**
+ * .manager.PFateInstanceType type = 1;
+ * @return The enum numeric value on the wire for type.
+ */
+ @java.lang.Override public int getTypeValue() {
+ return type_;
+ }
+ /**
+ * .manager.PFateInstanceType type = 1;
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTypeValue(int value) {
+ type_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * .manager.PFateInstanceType type = 1;
+ * @return The type.
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PFateInstanceType getType() {
+ org.apache.accumulo.grpc.compaction.protobuf.PFateInstanceType result = org.apache.accumulo.grpc.compaction.protobuf.PFateInstanceType.forNumber(type_);
+ return result == null ? org.apache.accumulo.grpc.compaction.protobuf.PFateInstanceType.UNRECOGNIZED : result;
+ }
+ /**
+ * .manager.PFateInstanceType type = 1;
+ * @param value The type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setType(org.apache.accumulo.grpc.compaction.protobuf.PFateInstanceType value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ type_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * .manager.PFateInstanceType type = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearType() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ type_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object txUUIDStr_ = "";
+ /**
+ * string txUUIDStr = 2;
+ * @return The txUUIDStr.
+ */
+ public java.lang.String getTxUUIDStr() {
+ java.lang.Object ref = txUUIDStr_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ txUUIDStr_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string txUUIDStr = 2;
+ * @return The bytes for txUUIDStr.
+ */
+ public com.google.protobuf.ByteString
+ getTxUUIDStrBytes() {
+ java.lang.Object ref = txUUIDStr_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ txUUIDStr_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string txUUIDStr = 2;
+ * @param value The txUUIDStr to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTxUUIDStr(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ txUUIDStr_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * string txUUIDStr = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearTxUUIDStr() {
+ txUUIDStr_ = getDefaultInstance().getTxUUIDStr();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ * string txUUIDStr = 2;
+ * @param value The bytes for txUUIDStr to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTxUUIDStrBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ txUUIDStr_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ @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:manager.PFateId)
+ }
+
+ // @@protoc_insertion_point(class_scope:manager.PFateId)
+ private static final org.apache.accumulo.grpc.compaction.protobuf.PFateId DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new org.apache.accumulo.grpc.compaction.protobuf.PFateId();
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PFateId getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public PFateId parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PFateId getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PFateIdOrBuilder.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PFateIdOrBuilder.java
new file mode 100644
index 00000000000..728fd610068
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PFateIdOrBuilder.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: manager.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+public interface PFateIdOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:manager.PFateId)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * .manager.PFateInstanceType type = 1;
+ * @return The enum numeric value on the wire for type.
+ */
+ int getTypeValue();
+ /**
+ * .manager.PFateInstanceType type = 1;
+ * @return The type.
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PFateInstanceType getType();
+
+ /**
+ * string txUUIDStr = 2;
+ * @return The txUUIDStr.
+ */
+ java.lang.String getTxUUIDStr();
+ /**
+ * string txUUIDStr = 2;
+ * @return The bytes for txUUIDStr.
+ */
+ com.google.protobuf.ByteString
+ getTxUUIDStrBytes();
+}
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PFateInstanceType.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PFateInstanceType.java
new file mode 100644
index 00000000000..2b825e42259
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PFateInstanceType.java
@@ -0,0 +1,141 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: manager.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+/**
+ * Protobuf enum {@code manager.PFateInstanceType}
+ */
+public enum PFateInstanceType
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * UNKNOWN = 0;
+ */
+ UNKNOWN(0),
+ /**
+ * META = 1;
+ */
+ META(1),
+ /**
+ * USER = 2;
+ */
+ USER(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ * UNKNOWN = 0;
+ */
+ public static final int UNKNOWN_VALUE = 0;
+ /**
+ * META = 1;
+ */
+ public static final int META_VALUE = 1;
+ /**
+ * USER = 2;
+ */
+ public static final int USER_VALUE = 2;
+
+
+ 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 PFateInstanceType 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 PFateInstanceType forNumber(int value) {
+ switch (value) {
+ case 0: return UNKNOWN;
+ case 1: return META;
+ case 2: return USER;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static final com.google.protobuf.Internal.EnumLiteMap<
+ PFateInstanceType> internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ public PFateInstanceType findValueByNumber(int number) {
+ return PFateInstanceType.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 org.apache.accumulo.grpc.compaction.protobuf.ManagerProto.getDescriptor().getEnumTypes().get(0);
+ }
+
+ private static final PFateInstanceType[] VALUES = values();
+
+ public static PFateInstanceType 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 PFateInstanceType(int value) {
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:manager.PFateInstanceType)
+}
+
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PInputFile.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PInputFile.java
new file mode 100644
index 00000000000..5e432c632bc
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PInputFile.java
@@ -0,0 +1,796 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: tabletserver.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+/**
+ * Protobuf type {@code tabletserver.PInputFile}
+ */
+public final class PInputFile extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:tabletserver.PInputFile)
+ PInputFileOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use PInputFile.newBuilder() to construct.
+ private PInputFile(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private PInputFile() {
+ metadataFileEntry_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new PInputFile();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PInputFile_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PInputFile_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PInputFile.class, org.apache.accumulo.grpc.compaction.protobuf.PInputFile.Builder.class);
+ }
+
+ public static final int METADATAFILEENTRY_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object metadataFileEntry_ = "";
+ /**
+ *
+ * This is nullable in Thrift but I am not marking as optional as
+ * I think it should always be set
+ *
+ *
+ * string metadataFileEntry = 1;
+ * @return The metadataFileEntry.
+ */
+ @java.lang.Override
+ public java.lang.String getMetadataFileEntry() {
+ java.lang.Object ref = metadataFileEntry_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ metadataFileEntry_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * This is nullable in Thrift but I am not marking as optional as
+ * I think it should always be set
+ *
+ *
+ * string metadataFileEntry = 1;
+ * @return The bytes for metadataFileEntry.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getMetadataFileEntryBytes() {
+ java.lang.Object ref = metadataFileEntry_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ metadataFileEntry_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int SIZE_FIELD_NUMBER = 2;
+ private long size_ = 0L;
+ /**
+ * int64 size = 2;
+ * @return The size.
+ */
+ @java.lang.Override
+ public long getSize() {
+ return size_;
+ }
+
+ public static final int ENTRIES_FIELD_NUMBER = 3;
+ private long entries_ = 0L;
+ /**
+ * int64 entries = 3;
+ * @return The entries.
+ */
+ @java.lang.Override
+ public long getEntries() {
+ return entries_;
+ }
+
+ public static final int TIMESTAMP_FIELD_NUMBER = 4;
+ private long timestamp_ = 0L;
+ /**
+ * int64 timestamp = 4;
+ * @return The timestamp.
+ */
+ @java.lang.Override
+ public long getTimestamp() {
+ return timestamp_;
+ }
+
+ 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 {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metadataFileEntry_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metadataFileEntry_);
+ }
+ if (size_ != 0L) {
+ output.writeInt64(2, size_);
+ }
+ if (entries_ != 0L) {
+ output.writeInt64(3, entries_);
+ }
+ if (timestamp_ != 0L) {
+ output.writeInt64(4, timestamp_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metadataFileEntry_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metadataFileEntry_);
+ }
+ if (size_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(2, size_);
+ }
+ if (entries_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(3, entries_);
+ }
+ if (timestamp_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(4, timestamp_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof org.apache.accumulo.grpc.compaction.protobuf.PInputFile)) {
+ return super.equals(obj);
+ }
+ org.apache.accumulo.grpc.compaction.protobuf.PInputFile other = (org.apache.accumulo.grpc.compaction.protobuf.PInputFile) obj;
+
+ if (!getMetadataFileEntry()
+ .equals(other.getMetadataFileEntry())) return false;
+ if (getSize()
+ != other.getSize()) return false;
+ if (getEntries()
+ != other.getEntries()) return false;
+ if (getTimestamp()
+ != other.getTimestamp()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + METADATAFILEENTRY_FIELD_NUMBER;
+ hash = (53 * hash) + getMetadataFileEntry().hashCode();
+ hash = (37 * hash) + SIZE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getSize());
+ hash = (37 * hash) + ENTRIES_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getEntries());
+ hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getTimestamp());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PInputFile parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PInputFile parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PInputFile parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PInputFile parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PInputFile parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PInputFile parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PInputFile parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PInputFile 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 org.apache.accumulo.grpc.compaction.protobuf.PInputFile parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PInputFile 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 org.apache.accumulo.grpc.compaction.protobuf.PInputFile parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PInputFile 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(org.apache.accumulo.grpc.compaction.protobuf.PInputFile 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 tabletserver.PInputFile}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:tabletserver.PInputFile)
+ org.apache.accumulo.grpc.compaction.protobuf.PInputFileOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PInputFile_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PInputFile_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PInputFile.class, org.apache.accumulo.grpc.compaction.protobuf.PInputFile.Builder.class);
+ }
+
+ // Construct using org.apache.accumulo.grpc.compaction.protobuf.PInputFile.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ metadataFileEntry_ = "";
+ size_ = 0L;
+ entries_ = 0L;
+ timestamp_ = 0L;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PInputFile_descriptor;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PInputFile getDefaultInstanceForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.PInputFile.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PInputFile build() {
+ org.apache.accumulo.grpc.compaction.protobuf.PInputFile result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PInputFile buildPartial() {
+ org.apache.accumulo.grpc.compaction.protobuf.PInputFile result = new org.apache.accumulo.grpc.compaction.protobuf.PInputFile(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(org.apache.accumulo.grpc.compaction.protobuf.PInputFile result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.metadataFileEntry_ = metadataFileEntry_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.size_ = size_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.entries_ = entries_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.timestamp_ = timestamp_;
+ }
+ }
+
+ @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 org.apache.accumulo.grpc.compaction.protobuf.PInputFile) {
+ return mergeFrom((org.apache.accumulo.grpc.compaction.protobuf.PInputFile)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.apache.accumulo.grpc.compaction.protobuf.PInputFile other) {
+ if (other == org.apache.accumulo.grpc.compaction.protobuf.PInputFile.getDefaultInstance()) return this;
+ if (!other.getMetadataFileEntry().isEmpty()) {
+ metadataFileEntry_ = other.metadataFileEntry_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ if (other.getSize() != 0L) {
+ setSize(other.getSize());
+ }
+ if (other.getEntries() != 0L) {
+ setEntries(other.getEntries());
+ }
+ if (other.getTimestamp() != 0L) {
+ setTimestamp(other.getTimestamp());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ metadataFileEntry_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 16: {
+ size_ = input.readInt64();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ case 24: {
+ entries_ = input.readInt64();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ case 32: {
+ timestamp_ = input.readInt64();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 32
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private java.lang.Object metadataFileEntry_ = "";
+ /**
+ *
+ * This is nullable in Thrift but I am not marking as optional as
+ * I think it should always be set
+ *
+ *
+ * string metadataFileEntry = 1;
+ * @return The metadataFileEntry.
+ */
+ public java.lang.String getMetadataFileEntry() {
+ java.lang.Object ref = metadataFileEntry_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ metadataFileEntry_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * This is nullable in Thrift but I am not marking as optional as
+ * I think it should always be set
+ *
+ *
+ * string metadataFileEntry = 1;
+ * @return The bytes for metadataFileEntry.
+ */
+ public com.google.protobuf.ByteString
+ getMetadataFileEntryBytes() {
+ java.lang.Object ref = metadataFileEntry_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ metadataFileEntry_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * This is nullable in Thrift but I am not marking as optional as
+ * I think it should always be set
+ *
+ *
+ * string metadataFileEntry = 1;
+ * @param value The metadataFileEntry to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMetadataFileEntry(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ metadataFileEntry_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * This is nullable in Thrift but I am not marking as optional as
+ * I think it should always be set
+ *
+ *
+ * string metadataFileEntry = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearMetadataFileEntry() {
+ metadataFileEntry_ = getDefaultInstance().getMetadataFileEntry();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * This is nullable in Thrift but I am not marking as optional as
+ * I think it should always be set
+ *
+ *
+ * string metadataFileEntry = 1;
+ * @param value The bytes for metadataFileEntry to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMetadataFileEntryBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ metadataFileEntry_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private long size_ ;
+ /**
+ * int64 size = 2;
+ * @return The size.
+ */
+ @java.lang.Override
+ public long getSize() {
+ return size_;
+ }
+ /**
+ * int64 size = 2;
+ * @param value The size to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSize(long value) {
+
+ size_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 size = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearSize() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ size_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long entries_ ;
+ /**
+ * int64 entries = 3;
+ * @return The entries.
+ */
+ @java.lang.Override
+ public long getEntries() {
+ return entries_;
+ }
+ /**
+ * int64 entries = 3;
+ * @param value The entries to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEntries(long value) {
+
+ entries_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 entries = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearEntries() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ entries_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long timestamp_ ;
+ /**
+ * int64 timestamp = 4;
+ * @return The timestamp.
+ */
+ @java.lang.Override
+ public long getTimestamp() {
+ return timestamp_;
+ }
+ /**
+ * int64 timestamp = 4;
+ * @param value The timestamp to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTimestamp(long value) {
+
+ timestamp_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 timestamp = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearTimestamp() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ timestamp_ = 0L;
+ onChanged();
+ return this;
+ }
+ @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:tabletserver.PInputFile)
+ }
+
+ // @@protoc_insertion_point(class_scope:tabletserver.PInputFile)
+ private static final org.apache.accumulo.grpc.compaction.protobuf.PInputFile DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new org.apache.accumulo.grpc.compaction.protobuf.PInputFile();
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PInputFile getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public PInputFile parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PInputFile getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PInputFileOrBuilder.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PInputFileOrBuilder.java
new file mode 100644
index 00000000000..75f9129462d
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PInputFileOrBuilder.java
@@ -0,0 +1,68 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: tabletserver.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+public interface PInputFileOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:tabletserver.PInputFile)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ * This is nullable in Thrift but I am not marking as optional as
+ * I think it should always be set
+ *
+ *
+ * string metadataFileEntry = 1;
+ * @return The metadataFileEntry.
+ */
+ java.lang.String getMetadataFileEntry();
+ /**
+ *
+ * This is nullable in Thrift but I am not marking as optional as
+ * I think it should always be set
+ *
+ *
+ * string metadataFileEntry = 1;
+ * @return The bytes for metadataFileEntry.
+ */
+ com.google.protobuf.ByteString
+ getMetadataFileEntryBytes();
+
+ /**
+ * int64 size = 2;
+ * @return The size.
+ */
+ long getSize();
+
+ /**
+ * int64 entries = 3;
+ * @return The entries.
+ */
+ long getEntries();
+
+ /**
+ * int64 timestamp = 4;
+ * @return The timestamp.
+ */
+ long getTimestamp();
+}
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PIteratorConfig.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PIteratorConfig.java
new file mode 100644
index 00000000000..fa4af3ad349
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PIteratorConfig.java
@@ -0,0 +1,778 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: tabletserver.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+/**
+ * Protobuf type {@code tabletserver.PIteratorConfig}
+ */
+public final class PIteratorConfig extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:tabletserver.PIteratorConfig)
+ PIteratorConfigOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use PIteratorConfig.newBuilder() to construct.
+ private PIteratorConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private PIteratorConfig() {
+ iterators_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new PIteratorConfig();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PIteratorConfig_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PIteratorConfig_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.class, org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.Builder.class);
+ }
+
+ public static final int ITERATORS_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
+ private java.util.List iterators_;
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ @java.lang.Override
+ public java.util.List getIteratorsList() {
+ return iterators_;
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ @java.lang.Override
+ public java.util.List extends org.apache.accumulo.grpc.compaction.protobuf.PIteratorSettingOrBuilder>
+ getIteratorsOrBuilderList() {
+ return iterators_;
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ @java.lang.Override
+ public int getIteratorsCount() {
+ return iterators_.size();
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting getIterators(int index) {
+ return iterators_.get(index);
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorSettingOrBuilder getIteratorsOrBuilder(
+ int index) {
+ return iterators_.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 < iterators_.size(); i++) {
+ output.writeMessage(1, iterators_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < iterators_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, iterators_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig)) {
+ return super.equals(obj);
+ }
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig other = (org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig) obj;
+
+ if (!getIteratorsList()
+ .equals(other.getIteratorsList())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getIteratorsCount() > 0) {
+ hash = (37 * hash) + ITERATORS_FIELD_NUMBER;
+ hash = (53 * hash) + getIteratorsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig 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 org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig 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 org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig 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(org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig 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 tabletserver.PIteratorConfig}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:tabletserver.PIteratorConfig)
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfigOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PIteratorConfig_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PIteratorConfig_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.class, org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.Builder.class);
+ }
+
+ // Construct using org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ if (iteratorsBuilder_ == null) {
+ iterators_ = java.util.Collections.emptyList();
+ } else {
+ iterators_ = null;
+ iteratorsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PIteratorConfig_descriptor;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig getDefaultInstanceForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig build() {
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig buildPartial() {
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig result = new org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig result) {
+ if (iteratorsBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ iterators_ = java.util.Collections.unmodifiableList(iterators_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.iterators_ = iterators_;
+ } else {
+ result.iterators_ = iteratorsBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig result) {
+ int from_bitField0_ = bitField0_;
+ }
+
+ @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 org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig) {
+ return mergeFrom((org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig other) {
+ if (other == org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig.getDefaultInstance()) return this;
+ if (iteratorsBuilder_ == null) {
+ if (!other.iterators_.isEmpty()) {
+ if (iterators_.isEmpty()) {
+ iterators_ = other.iterators_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureIteratorsIsMutable();
+ iterators_.addAll(other.iterators_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.iterators_.isEmpty()) {
+ if (iteratorsBuilder_.isEmpty()) {
+ iteratorsBuilder_.dispose();
+ iteratorsBuilder_ = null;
+ iterators_ = other.iterators_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ iteratorsBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+ getIteratorsFieldBuilder() : null;
+ } else {
+ iteratorsBuilder_.addAllMessages(other.iterators_);
+ }
+ }
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting m =
+ input.readMessage(
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.parser(),
+ extensionRegistry);
+ if (iteratorsBuilder_ == null) {
+ ensureIteratorsIsMutable();
+ iterators_.add(m);
+ } else {
+ iteratorsBuilder_.addMessage(m);
+ }
+ break;
+ } // case 10
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private java.util.List iterators_ =
+ java.util.Collections.emptyList();
+ private void ensureIteratorsIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ iterators_ = new java.util.ArrayList(iterators_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting, org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.Builder, org.apache.accumulo.grpc.compaction.protobuf.PIteratorSettingOrBuilder> iteratorsBuilder_;
+
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public java.util.List getIteratorsList() {
+ if (iteratorsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(iterators_);
+ } else {
+ return iteratorsBuilder_.getMessageList();
+ }
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public int getIteratorsCount() {
+ if (iteratorsBuilder_ == null) {
+ return iterators_.size();
+ } else {
+ return iteratorsBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting getIterators(int index) {
+ if (iteratorsBuilder_ == null) {
+ return iterators_.get(index);
+ } else {
+ return iteratorsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public Builder setIterators(
+ int index, org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting value) {
+ if (iteratorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIteratorsIsMutable();
+ iterators_.set(index, value);
+ onChanged();
+ } else {
+ iteratorsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public Builder setIterators(
+ int index, org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.Builder builderForValue) {
+ if (iteratorsBuilder_ == null) {
+ ensureIteratorsIsMutable();
+ iterators_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ iteratorsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public Builder addIterators(org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting value) {
+ if (iteratorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIteratorsIsMutable();
+ iterators_.add(value);
+ onChanged();
+ } else {
+ iteratorsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public Builder addIterators(
+ int index, org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting value) {
+ if (iteratorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIteratorsIsMutable();
+ iterators_.add(index, value);
+ onChanged();
+ } else {
+ iteratorsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public Builder addIterators(
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.Builder builderForValue) {
+ if (iteratorsBuilder_ == null) {
+ ensureIteratorsIsMutable();
+ iterators_.add(builderForValue.build());
+ onChanged();
+ } else {
+ iteratorsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public Builder addIterators(
+ int index, org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.Builder builderForValue) {
+ if (iteratorsBuilder_ == null) {
+ ensureIteratorsIsMutable();
+ iterators_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ iteratorsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public Builder addAllIterators(
+ java.lang.Iterable extends org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting> values) {
+ if (iteratorsBuilder_ == null) {
+ ensureIteratorsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, iterators_);
+ onChanged();
+ } else {
+ iteratorsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public Builder clearIterators() {
+ if (iteratorsBuilder_ == null) {
+ iterators_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ iteratorsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public Builder removeIterators(int index) {
+ if (iteratorsBuilder_ == null) {
+ ensureIteratorsIsMutable();
+ iterators_.remove(index);
+ onChanged();
+ } else {
+ iteratorsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.Builder getIteratorsBuilder(
+ int index) {
+ return getIteratorsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorSettingOrBuilder getIteratorsOrBuilder(
+ int index) {
+ if (iteratorsBuilder_ == null) {
+ return iterators_.get(index); } else {
+ return iteratorsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public java.util.List extends org.apache.accumulo.grpc.compaction.protobuf.PIteratorSettingOrBuilder>
+ getIteratorsOrBuilderList() {
+ if (iteratorsBuilder_ != null) {
+ return iteratorsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(iterators_);
+ }
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.Builder addIteratorsBuilder() {
+ return getIteratorsFieldBuilder().addBuilder(
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.getDefaultInstance());
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.Builder addIteratorsBuilder(
+ int index) {
+ return getIteratorsFieldBuilder().addBuilder(
+ index, org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.getDefaultInstance());
+ }
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ public java.util.List
+ getIteratorsBuilderList() {
+ return getIteratorsFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting, org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.Builder, org.apache.accumulo.grpc.compaction.protobuf.PIteratorSettingOrBuilder>
+ getIteratorsFieldBuilder() {
+ if (iteratorsBuilder_ == null) {
+ iteratorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting, org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.Builder, org.apache.accumulo.grpc.compaction.protobuf.PIteratorSettingOrBuilder>(
+ iterators_,
+ ((bitField0_ & 0x00000001) != 0),
+ getParentForChildren(),
+ isClean());
+ iterators_ = null;
+ }
+ return iteratorsBuilder_;
+ }
+ @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:tabletserver.PIteratorConfig)
+ }
+
+ // @@protoc_insertion_point(class_scope:tabletserver.PIteratorConfig)
+ private static final org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig();
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public PIteratorConfig parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorConfig getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PIteratorConfigOrBuilder.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PIteratorConfigOrBuilder.java
new file mode 100644
index 00000000000..63654e2b8bc
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PIteratorConfigOrBuilder.java
@@ -0,0 +1,52 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: tabletserver.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+public interface PIteratorConfigOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:tabletserver.PIteratorConfig)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ java.util.List
+ getIteratorsList();
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting getIterators(int index);
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ int getIteratorsCount();
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ java.util.List extends org.apache.accumulo.grpc.compaction.protobuf.PIteratorSettingOrBuilder>
+ getIteratorsOrBuilderList();
+ /**
+ * repeated .tabletserver.PIteratorSetting iterators = 1;
+ */
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorSettingOrBuilder getIteratorsOrBuilder(
+ int index);
+}
diff --git a/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PIteratorSetting.java b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PIteratorSetting.java
new file mode 100644
index 00000000000..d9f6ddbb5d7
--- /dev/null
+++ b/rpc/grpc/src/main/protobuf-gen-java/org/apache/accumulo/grpc/compaction/protobuf/PIteratorSetting.java
@@ -0,0 +1,1041 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: tabletserver.proto
+
+// Protobuf Java Version: 3.25.3
+package org.apache.accumulo.grpc.compaction.protobuf;
+
+/**
+ * Protobuf type {@code tabletserver.PIteratorSetting}
+ */
+public final class PIteratorSetting extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:tabletserver.PIteratorSetting)
+ PIteratorSettingOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use PIteratorSetting.newBuilder() to construct.
+ private PIteratorSetting(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private PIteratorSetting() {
+ name_ = "";
+ iteratorClass_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new PIteratorSetting();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PIteratorSetting_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 4:
+ return internalGetProperties();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PIteratorSetting_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.class, org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.Builder.class);
+ }
+
+ public static final int PRIORITY_FIELD_NUMBER = 1;
+ private int priority_ = 0;
+ /**
+ * int32 priority = 1;
+ * @return The priority.
+ */
+ @java.lang.Override
+ public int getPriority() {
+ return priority_;
+ }
+
+ public static final int NAME_FIELD_NUMBER = 2;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
+ /**
+ * string name = 2;
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ * string name = 2;
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ITERATORCLASS_FIELD_NUMBER = 3;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object iteratorClass_ = "";
+ /**
+ * string iteratorClass = 3;
+ * @return The iteratorClass.
+ */
+ @java.lang.Override
+ public java.lang.String getIteratorClass() {
+ java.lang.Object ref = iteratorClass_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ iteratorClass_ = s;
+ return s;
+ }
+ }
+ /**
+ * string iteratorClass = 3;
+ * @return The bytes for iteratorClass.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getIteratorClassBytes() {
+ java.lang.Object ref = iteratorClass_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ iteratorClass_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int PROPERTIES_FIELD_NUMBER = 4;
+ private static final class PropertiesDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, java.lang.String> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PIteratorSetting_PropertiesEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "");
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.String, java.lang.String> properties_;
+ private com.google.protobuf.MapField
+ internalGetProperties() {
+ if (properties_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ PropertiesDefaultEntryHolder.defaultEntry);
+ }
+ return properties_;
+ }
+ public int getPropertiesCount() {
+ return internalGetProperties().getMap().size();
+ }
+ /**
+ * map<string, string> properties = 4;
+ */
+ @java.lang.Override
+ public boolean containsProperties(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ return internalGetProperties().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getPropertiesMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getProperties() {
+ return getPropertiesMap();
+ }
+ /**
+ * map<string, string> properties = 4;
+ */
+ @java.lang.Override
+ public java.util.Map getPropertiesMap() {
+ return internalGetProperties().getMap();
+ }
+ /**
+ * map<string, string> properties = 4;
+ */
+ @java.lang.Override
+ public /* nullable */
+java.lang.String getPropertiesOrDefault(
+ java.lang.String key,
+ /* nullable */
+java.lang.String defaultValue) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetProperties().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<string, string> properties = 4;
+ */
+ @java.lang.Override
+ public java.lang.String getPropertiesOrThrow(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetProperties().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ 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 {
+ if (priority_ != 0) {
+ output.writeInt32(1, priority_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iteratorClass_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, iteratorClass_);
+ }
+ com.google.protobuf.GeneratedMessageV3
+ .serializeStringMapTo(
+ output,
+ internalGetProperties(),
+ PropertiesDefaultEntryHolder.defaultEntry,
+ 4);
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (priority_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(1, priority_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iteratorClass_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, iteratorClass_);
+ }
+ for (java.util.Map.Entry entry
+ : internalGetProperties().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, properties__);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting)) {
+ return super.equals(obj);
+ }
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting other = (org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting) obj;
+
+ if (getPriority()
+ != other.getPriority()) return false;
+ if (!getName()
+ .equals(other.getName())) return false;
+ if (!getIteratorClass()
+ .equals(other.getIteratorClass())) return false;
+ if (!internalGetProperties().equals(
+ other.internalGetProperties())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + PRIORITY_FIELD_NUMBER;
+ hash = (53 * hash) + getPriority();
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (37 * hash) + ITERATORCLASS_FIELD_NUMBER;
+ hash = (53 * hash) + getIteratorClass().hashCode();
+ if (!internalGetProperties().getMap().isEmpty()) {
+ hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetProperties().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting 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 org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting 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 org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting 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(org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting 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 tabletserver.PIteratorSetting}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:tabletserver.PIteratorSetting)
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorSettingOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PIteratorSetting_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 4:
+ return internalGetProperties();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 4:
+ return internalGetMutableProperties();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PIteratorSetting_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.class, org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.Builder.class);
+ }
+
+ // Construct using org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ priority_ = 0;
+ name_ = "";
+ iteratorClass_ = "";
+ internalGetMutableProperties().clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.TabletServerProto.internal_static_tabletserver_PIteratorSetting_descriptor;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting getDefaultInstanceForType() {
+ return org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting build() {
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting buildPartial() {
+ org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting result = new org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.priority_ = priority_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.iteratorClass_ = iteratorClass_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.properties_ = internalGetProperties();
+ result.properties_.makeImmutable();
+ }
+ }
+
+ @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 org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting) {
+ return mergeFrom((org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting other) {
+ if (other == org.apache.accumulo.grpc.compaction.protobuf.PIteratorSetting.getDefaultInstance()) return this;
+ if (other.getPriority() != 0) {
+ setPriority(other.getPriority());
+ }
+ if (!other.getName().isEmpty()) {
+ name_ = other.name_;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ if (!other.getIteratorClass().isEmpty()) {
+ iteratorClass_ = other.iteratorClass_;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
+ internalGetMutableProperties().mergeFrom(
+ other.internalGetProperties());
+ bitField0_ |= 0x00000008;
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8: {
+ priority_ = input.readInt32();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 8
+ case 18: {
+ name_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 26: {
+ iteratorClass_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 26
+ case 34: {
+ com.google.protobuf.MapEntry
+ properties__ = input.readMessage(
+ PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ internalGetMutableProperties().getMutableMap().put(
+ properties__.getKey(), properties__.getValue());
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 34
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private int priority_ ;
+ /**
+ *