diff --git a/proto-google-cloud-bigtable-v2/clirr-ignored-differences.xml b/proto-google-cloud-bigtable-v2/clirr-ignored-differences.xml index 3aebe65a28..3dc1fb98dc 100644 --- a/proto-google-cloud-bigtable-v2/clirr-ignored-differences.xml +++ b/proto-google-cloud-bigtable-v2/clirr-ignored-differences.xml @@ -16,4 +16,53 @@ com/google/bigtable/v2/*OrBuilder boolean has*(*) + + + + + 7002 + com/google/bigtable/v2/RequestStats* + ** + + + 8001 + com/google/bigtable/v2/AllReadStats* + + + 8001 + com/google/bigtable/v2/ReadEfficiencyStats* + + + 8001 + com/google/bigtable/v2/ReadIteratorStats* + + + 8001 + com/google/bigtable/v2/RequestStats$StatsCase + + + 6001 + com/google/bigtable/v2/ReadRowsRequest$RequestStatsView + REQUEST_STATS_EFFICIENCY + + + 6011 + com/google/bigtable/v2/ReadRowsRequest$RequestStatsView + REQUEST_STATS_EFFICIENCY_VALUE + + + 6011 + com/google/bigtable/v2/RequestStats + ALL_READ_STATS_FIELD_NUMBER + + + 6011 + com/google/bigtable/v2/RequestStats + READ_EFFICIENCY_STATS_FIELD_NUMBER + + + 6003 + com/google/bigtable/v2/ReadRowsRequest$RequestStatsView + REQUEST_STATS_FULL_VALUE + \ No newline at end of file diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/AllReadStats.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/AllReadStats.java deleted file mode 100644 index b496bef86c..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/AllReadStats.java +++ /dev/null @@ -1,1018 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed 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: google/bigtable/v2/request_stats.proto - -package com.google.bigtable.v2; - -/** - * - * - *
- * AllReadStats captures all known information about a read.
- * 
- * - * Protobuf type {@code google.bigtable.v2.AllReadStats} - */ -public final class AllReadStats extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.bigtable.v2.AllReadStats) - AllReadStatsOrBuilder { - private static final long serialVersionUID = 0L; - // Use AllReadStats.newBuilder() to construct. - private AllReadStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private AllReadStats() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AllReadStats(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_AllReadStats_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_AllReadStats_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.AllReadStats.class, - com.google.bigtable.v2.AllReadStats.Builder.class); - } - - public static final int READ_ITERATOR_STATS_FIELD_NUMBER = 1; - private com.google.bigtable.v2.ReadIteratorStats readIteratorStats_; - /** - * - * - *
-   * Iteration stats describe how efficient the read is, e.g. comparing
-   * rows seen vs. rows returned or cells seen vs cells returned can provide an
-   * indication of read efficiency (the higher the ratio of seen to retuned the
-   * better).
-   * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return Whether the readIteratorStats field is set. - */ - @java.lang.Override - public boolean hasReadIteratorStats() { - return readIteratorStats_ != null; - } - /** - * - * - *
-   * Iteration stats describe how efficient the read is, e.g. comparing
-   * rows seen vs. rows returned or cells seen vs cells returned can provide an
-   * indication of read efficiency (the higher the ratio of seen to retuned the
-   * better).
-   * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return The readIteratorStats. - */ - @java.lang.Override - public com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats() { - return readIteratorStats_ == null - ? com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance() - : readIteratorStats_; - } - /** - * - * - *
-   * Iteration stats describe how efficient the read is, e.g. comparing
-   * rows seen vs. rows returned or cells seen vs cells returned can provide an
-   * indication of read efficiency (the higher the ratio of seen to retuned the
-   * better).
-   * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - @java.lang.Override - public com.google.bigtable.v2.ReadIteratorStatsOrBuilder getReadIteratorStatsOrBuilder() { - return getReadIteratorStats(); - } - - public static final int REQUEST_LATENCY_STATS_FIELD_NUMBER = 2; - private com.google.bigtable.v2.RequestLatencyStats requestLatencyStats_; - /** - * - * - *
-   * Request latency stats describe the time taken to complete a request, from
-   * the server side.
-   * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * - * @return Whether the requestLatencyStats field is set. - */ - @java.lang.Override - public boolean hasRequestLatencyStats() { - return requestLatencyStats_ != null; - } - /** - * - * - *
-   * Request latency stats describe the time taken to complete a request, from
-   * the server side.
-   * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * - * @return The requestLatencyStats. - */ - @java.lang.Override - public com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats() { - return requestLatencyStats_ == null - ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() - : requestLatencyStats_; - } - /** - * - * - *
-   * Request latency stats describe the time taken to complete a request, from
-   * the server side.
-   * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - @java.lang.Override - public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStatsOrBuilder() { - return getRequestLatencyStats(); - } - - 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 (readIteratorStats_ != null) { - output.writeMessage(1, getReadIteratorStats()); - } - if (requestLatencyStats_ != null) { - output.writeMessage(2, getRequestLatencyStats()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (readIteratorStats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadIteratorStats()); - } - if (requestLatencyStats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestLatencyStats()); - } - 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 com.google.bigtable.v2.AllReadStats)) { - return super.equals(obj); - } - com.google.bigtable.v2.AllReadStats other = (com.google.bigtable.v2.AllReadStats) obj; - - if (hasReadIteratorStats() != other.hasReadIteratorStats()) return false; - if (hasReadIteratorStats()) { - if (!getReadIteratorStats().equals(other.getReadIteratorStats())) return false; - } - if (hasRequestLatencyStats() != other.hasRequestLatencyStats()) return false; - if (hasRequestLatencyStats()) { - if (!getRequestLatencyStats().equals(other.getRequestLatencyStats())) 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 (hasReadIteratorStats()) { - hash = (37 * hash) + READ_ITERATOR_STATS_FIELD_NUMBER; - hash = (53 * hash) + getReadIteratorStats().hashCode(); - } - if (hasRequestLatencyStats()) { - hash = (37 * hash) + REQUEST_LATENCY_STATS_FIELD_NUMBER; - hash = (53 * hash) + getRequestLatencyStats().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.bigtable.v2.AllReadStats parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.bigtable.v2.AllReadStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.bigtable.v2.AllReadStats parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.bigtable.v2.AllReadStats parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.bigtable.v2.AllReadStats parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.bigtable.v2.AllReadStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.bigtable.v2.AllReadStats parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.bigtable.v2.AllReadStats 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 com.google.bigtable.v2.AllReadStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.bigtable.v2.AllReadStats 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 com.google.bigtable.v2.AllReadStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.bigtable.v2.AllReadStats 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(com.google.bigtable.v2.AllReadStats 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; - } - /** - * - * - *
-   * AllReadStats captures all known information about a read.
-   * 
- * - * Protobuf type {@code google.bigtable.v2.AllReadStats} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.bigtable.v2.AllReadStats) - com.google.bigtable.v2.AllReadStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_AllReadStats_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_AllReadStats_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.AllReadStats.class, - com.google.bigtable.v2.AllReadStats.Builder.class); - } - - // Construct using com.google.bigtable.v2.AllReadStats.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (readIteratorStatsBuilder_ == null) { - readIteratorStats_ = null; - } else { - readIteratorStats_ = null; - readIteratorStatsBuilder_ = null; - } - if (requestLatencyStatsBuilder_ == null) { - requestLatencyStats_ = null; - } else { - requestLatencyStats_ = null; - requestLatencyStatsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_AllReadStats_descriptor; - } - - @java.lang.Override - public com.google.bigtable.v2.AllReadStats getDefaultInstanceForType() { - return com.google.bigtable.v2.AllReadStats.getDefaultInstance(); - } - - @java.lang.Override - public com.google.bigtable.v2.AllReadStats build() { - com.google.bigtable.v2.AllReadStats result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.bigtable.v2.AllReadStats buildPartial() { - com.google.bigtable.v2.AllReadStats result = new com.google.bigtable.v2.AllReadStats(this); - if (readIteratorStatsBuilder_ == null) { - result.readIteratorStats_ = readIteratorStats_; - } else { - result.readIteratorStats_ = readIteratorStatsBuilder_.build(); - } - if (requestLatencyStatsBuilder_ == null) { - result.requestLatencyStats_ = requestLatencyStats_; - } else { - result.requestLatencyStats_ = requestLatencyStatsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.bigtable.v2.AllReadStats) { - return mergeFrom((com.google.bigtable.v2.AllReadStats) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.bigtable.v2.AllReadStats other) { - if (other == com.google.bigtable.v2.AllReadStats.getDefaultInstance()) return this; - if (other.hasReadIteratorStats()) { - mergeReadIteratorStats(other.getReadIteratorStats()); - } - if (other.hasRequestLatencyStats()) { - mergeRequestLatencyStats(other.getRequestLatencyStats()); - } - 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: - { - input.readMessage( - getReadIteratorStatsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage( - getRequestLatencyStatsFieldBuilder().getBuilder(), extensionRegistry); - - 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 com.google.bigtable.v2.ReadIteratorStats readIteratorStats_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIteratorStats, - com.google.bigtable.v2.ReadIteratorStats.Builder, - com.google.bigtable.v2.ReadIteratorStatsOrBuilder> - readIteratorStatsBuilder_; - /** - * - * - *
-     * Iteration stats describe how efficient the read is, e.g. comparing
-     * rows seen vs. rows returned or cells seen vs cells returned can provide an
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return Whether the readIteratorStats field is set. - */ - public boolean hasReadIteratorStats() { - return readIteratorStatsBuilder_ != null || readIteratorStats_ != null; - } - /** - * - * - *
-     * Iteration stats describe how efficient the read is, e.g. comparing
-     * rows seen vs. rows returned or cells seen vs cells returned can provide an
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return The readIteratorStats. - */ - public com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats() { - if (readIteratorStatsBuilder_ == null) { - return readIteratorStats_ == null - ? com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance() - : readIteratorStats_; - } else { - return readIteratorStatsBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Iteration stats describe how efficient the read is, e.g. comparing
-     * rows seen vs. rows returned or cells seen vs cells returned can provide an
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - public Builder setReadIteratorStats(com.google.bigtable.v2.ReadIteratorStats value) { - if (readIteratorStatsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - readIteratorStats_ = value; - onChanged(); - } else { - readIteratorStatsBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Iteration stats describe how efficient the read is, e.g. comparing
-     * rows seen vs. rows returned or cells seen vs cells returned can provide an
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - public Builder setReadIteratorStats( - com.google.bigtable.v2.ReadIteratorStats.Builder builderForValue) { - if (readIteratorStatsBuilder_ == null) { - readIteratorStats_ = builderForValue.build(); - onChanged(); - } else { - readIteratorStatsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Iteration stats describe how efficient the read is, e.g. comparing
-     * rows seen vs. rows returned or cells seen vs cells returned can provide an
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - public Builder mergeReadIteratorStats(com.google.bigtable.v2.ReadIteratorStats value) { - if (readIteratorStatsBuilder_ == null) { - if (readIteratorStats_ != null) { - readIteratorStats_ = - com.google.bigtable.v2.ReadIteratorStats.newBuilder(readIteratorStats_) - .mergeFrom(value) - .buildPartial(); - } else { - readIteratorStats_ = value; - } - onChanged(); - } else { - readIteratorStatsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Iteration stats describe how efficient the read is, e.g. comparing
-     * rows seen vs. rows returned or cells seen vs cells returned can provide an
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - public Builder clearReadIteratorStats() { - if (readIteratorStatsBuilder_ == null) { - readIteratorStats_ = null; - onChanged(); - } else { - readIteratorStats_ = null; - readIteratorStatsBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Iteration stats describe how efficient the read is, e.g. comparing
-     * rows seen vs. rows returned or cells seen vs cells returned can provide an
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - public com.google.bigtable.v2.ReadIteratorStats.Builder getReadIteratorStatsBuilder() { - - onChanged(); - return getReadIteratorStatsFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Iteration stats describe how efficient the read is, e.g. comparing
-     * rows seen vs. rows returned or cells seen vs cells returned can provide an
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - public com.google.bigtable.v2.ReadIteratorStatsOrBuilder getReadIteratorStatsOrBuilder() { - if (readIteratorStatsBuilder_ != null) { - return readIteratorStatsBuilder_.getMessageOrBuilder(); - } else { - return readIteratorStats_ == null - ? com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance() - : readIteratorStats_; - } - } - /** - * - * - *
-     * Iteration stats describe how efficient the read is, e.g. comparing
-     * rows seen vs. rows returned or cells seen vs cells returned can provide an
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIteratorStats, - com.google.bigtable.v2.ReadIteratorStats.Builder, - com.google.bigtable.v2.ReadIteratorStatsOrBuilder> - getReadIteratorStatsFieldBuilder() { - if (readIteratorStatsBuilder_ == null) { - readIteratorStatsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIteratorStats, - com.google.bigtable.v2.ReadIteratorStats.Builder, - com.google.bigtable.v2.ReadIteratorStatsOrBuilder>( - getReadIteratorStats(), getParentForChildren(), isClean()); - readIteratorStats_ = null; - } - return readIteratorStatsBuilder_; - } - - private com.google.bigtable.v2.RequestLatencyStats requestLatencyStats_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RequestLatencyStats, - com.google.bigtable.v2.RequestLatencyStats.Builder, - com.google.bigtable.v2.RequestLatencyStatsOrBuilder> - requestLatencyStatsBuilder_; - /** - * - * - *
-     * Request latency stats describe the time taken to complete a request, from
-     * the server side.
-     * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * - * @return Whether the requestLatencyStats field is set. - */ - public boolean hasRequestLatencyStats() { - return requestLatencyStatsBuilder_ != null || requestLatencyStats_ != null; - } - /** - * - * - *
-     * Request latency stats describe the time taken to complete a request, from
-     * the server side.
-     * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * - * @return The requestLatencyStats. - */ - public com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats() { - if (requestLatencyStatsBuilder_ == null) { - return requestLatencyStats_ == null - ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() - : requestLatencyStats_; - } else { - return requestLatencyStatsBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Request latency stats describe the time taken to complete a request, from
-     * the server side.
-     * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - public Builder setRequestLatencyStats(com.google.bigtable.v2.RequestLatencyStats value) { - if (requestLatencyStatsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - requestLatencyStats_ = value; - onChanged(); - } else { - requestLatencyStatsBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Request latency stats describe the time taken to complete a request, from
-     * the server side.
-     * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - public Builder setRequestLatencyStats( - com.google.bigtable.v2.RequestLatencyStats.Builder builderForValue) { - if (requestLatencyStatsBuilder_ == null) { - requestLatencyStats_ = builderForValue.build(); - onChanged(); - } else { - requestLatencyStatsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Request latency stats describe the time taken to complete a request, from
-     * the server side.
-     * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - public Builder mergeRequestLatencyStats(com.google.bigtable.v2.RequestLatencyStats value) { - if (requestLatencyStatsBuilder_ == null) { - if (requestLatencyStats_ != null) { - requestLatencyStats_ = - com.google.bigtable.v2.RequestLatencyStats.newBuilder(requestLatencyStats_) - .mergeFrom(value) - .buildPartial(); - } else { - requestLatencyStats_ = value; - } - onChanged(); - } else { - requestLatencyStatsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Request latency stats describe the time taken to complete a request, from
-     * the server side.
-     * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - public Builder clearRequestLatencyStats() { - if (requestLatencyStatsBuilder_ == null) { - requestLatencyStats_ = null; - onChanged(); - } else { - requestLatencyStats_ = null; - requestLatencyStatsBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Request latency stats describe the time taken to complete a request, from
-     * the server side.
-     * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - public com.google.bigtable.v2.RequestLatencyStats.Builder getRequestLatencyStatsBuilder() { - - onChanged(); - return getRequestLatencyStatsFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Request latency stats describe the time taken to complete a request, from
-     * the server side.
-     * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStatsOrBuilder() { - if (requestLatencyStatsBuilder_ != null) { - return requestLatencyStatsBuilder_.getMessageOrBuilder(); - } else { - return requestLatencyStats_ == null - ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() - : requestLatencyStats_; - } - } - /** - * - * - *
-     * Request latency stats describe the time taken to complete a request, from
-     * the server side.
-     * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RequestLatencyStats, - com.google.bigtable.v2.RequestLatencyStats.Builder, - com.google.bigtable.v2.RequestLatencyStatsOrBuilder> - getRequestLatencyStatsFieldBuilder() { - if (requestLatencyStatsBuilder_ == null) { - requestLatencyStatsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RequestLatencyStats, - com.google.bigtable.v2.RequestLatencyStats.Builder, - com.google.bigtable.v2.RequestLatencyStatsOrBuilder>( - getRequestLatencyStats(), getParentForChildren(), isClean()); - requestLatencyStats_ = null; - } - return requestLatencyStatsBuilder_; - } - - @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:google.bigtable.v2.AllReadStats) - } - - // @@protoc_insertion_point(class_scope:google.bigtable.v2.AllReadStats) - private static final com.google.bigtable.v2.AllReadStats DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.bigtable.v2.AllReadStats(); - } - - public static com.google.bigtable.v2.AllReadStats getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AllReadStats 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 com.google.bigtable.v2.AllReadStats getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java index eb6c1d8b08..9aba198485 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java @@ -112,142 +112,141 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ogle/bigtable/v2/data.proto\032&google/bigt" + "able/v2/request_stats.proto\032\036google/prot" + "obuf/wrappers.proto\032\027google/rpc/status.p" - + "roto\"\257\003\n\017ReadRowsRequest\022>\n\ntable_name\030\001" + + "roto\"\220\003\n\017ReadRowsRequest\022>\n\ntable_name\030\001" + " \001(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.c" + "om/Table\022\026\n\016app_profile_id\030\005 \001(\t\022(\n\004rows" + "\030\002 \001(\0132\032.google.bigtable.v2.RowSet\022-\n\006fi" + "lter\030\003 \001(\0132\035.google.bigtable.v2.RowFilte" + "r\022\022\n\nrows_limit\030\004 \001(\003\022P\n\022request_stats_v" + "iew\030\006 \001(\01624.google.bigtable.v2.ReadRowsR" - + "equest.RequestStatsView\"\204\001\n\020RequestStats" - + "View\022\"\n\036REQUEST_STATS_VIEW_UNSPECIFIED\020\000" - + "\022\026\n\022REQUEST_STATS_NONE\020\001\022\034\n\030REQUEST_STAT" - + "S_EFFICIENCY\020\002\022\026\n\022REQUEST_STATS_FULL\020\003\"\261" - + "\003\n\020ReadRowsResponse\022>\n\006chunks\030\001 \003(\0132..go" - + "ogle.bigtable.v2.ReadRowsResponse.CellCh" - + "unk\022\034\n\024last_scanned_row_key\030\002 \001(\014\0227\n\rreq" - + "uest_stats\030\003 \001(\0132 .google.bigtable.v2.Re" - + "questStats\032\205\002\n\tCellChunk\022\017\n\007row_key\030\001 \001(" - + "\014\0221\n\013family_name\030\002 \001(\0132\034.google.protobuf" - + ".StringValue\022.\n\tqualifier\030\003 \001(\0132\033.google" - + ".protobuf.BytesValue\022\030\n\020timestamp_micros" - + "\030\004 \001(\003\022\016\n\006labels\030\005 \003(\t\022\r\n\005value\030\006 \001(\014\022\022\n" - + "\nvalue_size\030\007 \001(\005\022\023\n\treset_row\030\010 \001(\010H\000\022\024" - + "\n\ncommit_row\030\t \001(\010H\000B\014\n\nrow_status\"n\n\024Sa" - + "mpleRowKeysRequest\022>\n\ntable_name\030\001 \001(\tB*" - + "\340A\002\372A$\n\"bigtableadmin.googleapis.com/Tab" - + "le\022\026\n\016app_profile_id\030\002 \001(\t\">\n\025SampleRowK" - + "eysResponse\022\017\n\007row_key\030\001 \001(\014\022\024\n\014offset_b" - + "ytes\030\002 \001(\003\"\266\001\n\020MutateRowRequest\022>\n\ntable" - + "_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.googl" - + "eapis.com/Table\022\026\n\016app_profile_id\030\004 \001(\t\022" - + "\024\n\007row_key\030\002 \001(\014B\003\340A\002\0224\n\tmutations\030\003 \003(\013" - + "2\034.google.bigtable.v2.MutationB\003\340A\002\"\023\n\021M" - + "utateRowResponse\"\376\001\n\021MutateRowsRequest\022>" - + "\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmi" - + "n.googleapis.com/Table\022\026\n\016app_profile_id" - + "\030\003 \001(\t\022A\n\007entries\030\002 \003(\0132+.google.bigtabl" - + "e.v2.MutateRowsRequest.EntryB\003\340A\002\032N\n\005Ent" - + "ry\022\017\n\007row_key\030\001 \001(\014\0224\n\tmutations\030\002 \003(\0132\034" - + ".google.bigtable.v2.MutationB\003\340A\002\"\217\001\n\022Mu" - + "tateRowsResponse\022=\n\007entries\030\001 \003(\0132,.goog" - + "le.bigtable.v2.MutateRowsResponse.Entry\032" - + ":\n\005Entry\022\r\n\005index\030\001 \001(\003\022\"\n\006status\030\002 \001(\0132" - + "\022.google.rpc.Status\"\256\002\n\030CheckAndMutateRo" - + "wRequest\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"bi" - + "gtableadmin.googleapis.com/Table\022\026\n\016app_" - + "profile_id\030\007 \001(\t\022\024\n\007row_key\030\002 \001(\014B\003\340A\002\0227" - + "\n\020predicate_filter\030\006 \001(\0132\035.google.bigtab" - + "le.v2.RowFilter\0224\n\016true_mutations\030\004 \003(\0132" - + "\034.google.bigtable.v2.Mutation\0225\n\017false_m" - + "utations\030\005 \003(\0132\034.google.bigtable.v2.Muta" - + "tion\"6\n\031CheckAndMutateRowResponse\022\031\n\021pre" - + "dicate_matched\030\001 \001(\010\"i\n\022PingAndWarmReque" - + "st\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." - + "googleapis.com/Instance\022\026\n\016app_profile_i" - + "d\030\002 \001(\t\"\025\n\023PingAndWarmResponse\"\306\001\n\031ReadM" - + "odifyWriteRowRequest\022>\n\ntable_name\030\001 \001(\t" - + "B*\340A\002\372A$\n\"bigtableadmin.googleapis.com/T" - + "able\022\026\n\016app_profile_id\030\004 \001(\t\022\024\n\007row_key\030" - + "\002 \001(\014B\003\340A\002\022;\n\005rules\030\003 \003(\0132\'.google.bigta" - + "ble.v2.ReadModifyWriteRuleB\003\340A\002\"B\n\032ReadM" - + "odifyWriteRowResponse\022$\n\003row\030\001 \001(\0132\027.goo" - + "gle.bigtable.v2.Row2\260\024\n\010Bigtable\022\233\002\n\010Rea" - + "dRows\022#.google.bigtable.v2.ReadRowsReque" - + "st\032$.google.bigtable.v2.ReadRowsResponse" - + "\"\301\001\202\323\344\223\002>\"9/v2/{table_name=projects/*/in" - + "stances/*/tables/*}:readRows:\001*\212\323\344\223\002N\022:\n" - + "\ntable_name\022,{table_name=projects/*/inst" - + "ances/*/tables/*}\022\020\n\016app_profile_id\332A\nta" - + "ble_name\332A\031table_name,app_profile_id0\001\022\254" - + "\002\n\rSampleRowKeys\022(.google.bigtable.v2.Sa" - + "mpleRowKeysRequest\032).google.bigtable.v2." - + "SampleRowKeysResponse\"\303\001\202\323\344\223\002@\022>/v2/{tab" - + "le_name=projects/*/instances/*/tables/*}" - + ":sampleRowKeys\212\323\344\223\002N\022:\n\ntable_name\022,{tab" - + "le_name=projects/*/instances/*/tables/*}" - + "\022\020\n\016app_profile_id\332A\ntable_name\332A\031table_" - + "name,app_profile_id0\001\022\301\002\n\tMutateRow\022$.go" - + "ogle.bigtable.v2.MutateRowRequest\032%.goog" - + "le.bigtable.v2.MutateRowResponse\"\346\001\202\323\344\223\002" - + "?\":/v2/{table_name=projects/*/instances/" - + "*/tables/*}:mutateRow:\001*\212\323\344\223\002N\022:\n\ntable_" - + "name\022,{table_name=projects/*/instances/*" - + "/tables/*}\022\020\n\016app_profile_id\332A\034table_nam" - + "e,row_key,mutations\332A+table_name,row_key" - + ",mutations,app_profile_id\022\263\002\n\nMutateRows" - + "\022%.google.bigtable.v2.MutateRowsRequest\032" - + "&.google.bigtable.v2.MutateRowsResponse\"" - + "\323\001\202\323\344\223\002@\";/v2/{table_name=projects/*/ins" - + "tances/*/tables/*}:mutateRows:\001*\212\323\344\223\002N\022:" - + "\n\ntable_name\022,{table_name=projects/*/ins" - + "tances/*/tables/*}\022\020\n\016app_profile_id\332A\022t" - + "able_name,entries\332A!table_name,entries,a" - + "pp_profile_id0\001\022\255\003\n\021CheckAndMutateRow\022,." - + "google.bigtable.v2.CheckAndMutateRowRequ" - + "est\032-.google.bigtable.v2.CheckAndMutateR" - + "owResponse\"\272\002\202\323\344\223\002G\"B/v2/{table_name=pro" - + "jects/*/instances/*/tables/*}:checkAndMu" - + "tateRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table_n" - + "ame=projects/*/instances/*/tables/*}\022\020\n\016" - + "app_profile_id\332ABtable_name,row_key,pred" - + "icate_filter,true_mutations,false_mutati" - + "ons\332AQtable_name,row_key,predicate_filte" - + "r,true_mutations,false_mutations,app_pro" - + "file_id\022\356\001\n\013PingAndWarm\022&.google.bigtabl" - + "e.v2.PingAndWarmRequest\032\'.google.bigtabl" - + "e.v2.PingAndWarmResponse\"\215\001\202\323\344\223\002+\"&/v2/{" - + "name=projects/*/instances/*}:ping:\001*\212\323\344\223" - + "\0029\022%\n\004name\022\035{name=projects/*/instances/*" - + "}\022\020\n\016app_profile_id\332A\004name\332A\023name,app_pr" - + "ofile_id\022\335\002\n\022ReadModifyWriteRow\022-.google" - + ".bigtable.v2.ReadModifyWriteRowRequest\032." - + ".google.bigtable.v2.ReadModifyWriteRowRe" - + "sponse\"\347\001\202\323\344\223\002H\"C/v2/{table_name=project" - + "s/*/instances/*/tables/*}:readModifyWrit" - + "eRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name" - + "=projects/*/instances/*/tables/*}\022\020\n\016app" - + "_profile_id\332A\030table_name,row_key,rules\332A" - + "\'table_name,row_key,rules,app_profile_id" - + "\032\333\002\312A\027bigtable.googleapis.com\322A\275\002https:/" - + "/www.googleapis.com/auth/bigtable.data,h" - + "ttps://www.googleapis.com/auth/bigtable." - + "data.readonly,https://www.googleapis.com" - + "/auth/cloud-bigtable.data,https://www.go" - + "ogleapis.com/auth/cloud-bigtable.data.re" - + "adonly,https://www.googleapis.com/auth/c" - + "loud-platform,https://www.googleapis.com" - + "/auth/cloud-platform.read-onlyB\353\002\n\026com.g" - + "oogle.bigtable.v2B\rBigtableProtoP\001Z:goog" - + "le.golang.org/genproto/googleapis/bigtab" - + "le/v2;bigtable\252\002\030Google.Cloud.Bigtable.V" - + "2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002\033Google::C" - + "loud::Bigtable::V2\352AP\n%bigtableadmin.goo" - + "gleapis.com/Instance\022\'projects/{project}" - + "/instances/{instance}\352A\\\n\"bigtableadmin." - + "googleapis.com/Table\0226projects/{project}" - + "/instances/{instance}/tables/{table}b\006pr" - + "oto3" + + "equest.RequestStatsView\"f\n\020RequestStatsV" + + "iew\022\"\n\036REQUEST_STATS_VIEW_UNSPECIFIED\020\000\022" + + "\026\n\022REQUEST_STATS_NONE\020\001\022\026\n\022REQUEST_STATS" + + "_FULL\020\002\"\261\003\n\020ReadRowsResponse\022>\n\006chunks\030\001" + + " \003(\0132..google.bigtable.v2.ReadRowsRespon" + + "se.CellChunk\022\034\n\024last_scanned_row_key\030\002 \001" + + "(\014\0227\n\rrequest_stats\030\003 \001(\0132 .google.bigta" + + "ble.v2.RequestStats\032\205\002\n\tCellChunk\022\017\n\007row" + + "_key\030\001 \001(\014\0221\n\013family_name\030\002 \001(\0132\034.google" + + ".protobuf.StringValue\022.\n\tqualifier\030\003 \001(\013" + + "2\033.google.protobuf.BytesValue\022\030\n\020timesta" + + "mp_micros\030\004 \001(\003\022\016\n\006labels\030\005 \003(\t\022\r\n\005value" + + "\030\006 \001(\014\022\022\n\nvalue_size\030\007 \001(\005\022\023\n\treset_row\030" + + "\010 \001(\010H\000\022\024\n\ncommit_row\030\t \001(\010H\000B\014\n\nrow_sta" + + "tus\"n\n\024SampleRowKeysRequest\022>\n\ntable_nam" + + "e\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.googleapi" + + "s.com/Table\022\026\n\016app_profile_id\030\002 \001(\t\">\n\025S" + + "ampleRowKeysResponse\022\017\n\007row_key\030\001 \001(\014\022\024\n" + + "\014offset_bytes\030\002 \001(\003\"\266\001\n\020MutateRowRequest" + + "\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtablead" + + "min.googleapis.com/Table\022\026\n\016app_profile_" + + "id\030\004 \001(\t\022\024\n\007row_key\030\002 \001(\014B\003\340A\002\0224\n\tmutati" + + "ons\030\003 \003(\0132\034.google.bigtable.v2.MutationB" + + "\003\340A\002\"\023\n\021MutateRowResponse\"\376\001\n\021MutateRows" + + "Request\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"big" + + "tableadmin.googleapis.com/Table\022\026\n\016app_p" + + "rofile_id\030\003 \001(\t\022A\n\007entries\030\002 \003(\0132+.googl" + + "e.bigtable.v2.MutateRowsRequest.EntryB\003\340" + + "A\002\032N\n\005Entry\022\017\n\007row_key\030\001 \001(\014\0224\n\tmutation" + + "s\030\002 \003(\0132\034.google.bigtable.v2.MutationB\003\340" + + "A\002\"\217\001\n\022MutateRowsResponse\022=\n\007entries\030\001 \003" + + "(\0132,.google.bigtable.v2.MutateRowsRespon" + + "se.Entry\032:\n\005Entry\022\r\n\005index\030\001 \001(\003\022\"\n\006stat" + + "us\030\002 \001(\0132\022.google.rpc.Status\"\256\002\n\030CheckAn" + + "dMutateRowRequest\022>\n\ntable_name\030\001 \001(\tB*\340" + + "A\002\372A$\n\"bigtableadmin.googleapis.com/Tabl" + + "e\022\026\n\016app_profile_id\030\007 \001(\t\022\024\n\007row_key\030\002 \001" + + "(\014B\003\340A\002\0227\n\020predicate_filter\030\006 \001(\0132\035.goog" + + "le.bigtable.v2.RowFilter\0224\n\016true_mutatio" + + "ns\030\004 \003(\0132\034.google.bigtable.v2.Mutation\0225" + + "\n\017false_mutations\030\005 \003(\0132\034.google.bigtabl" + + "e.v2.Mutation\"6\n\031CheckAndMutateRowRespon" + + "se\022\031\n\021predicate_matched\030\001 \001(\010\"i\n\022PingAnd" + + "WarmRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigta" + + "bleadmin.googleapis.com/Instance\022\026\n\016app_" + + "profile_id\030\002 \001(\t\"\025\n\023PingAndWarmResponse\"" + + "\306\001\n\031ReadModifyWriteRowRequest\022>\n\ntable_n" + + "ame\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.googlea" + + "pis.com/Table\022\026\n\016app_profile_id\030\004 \001(\t\022\024\n" + + "\007row_key\030\002 \001(\014B\003\340A\002\022;\n\005rules\030\003 \003(\0132\'.goo" + + "gle.bigtable.v2.ReadModifyWriteRuleB\003\340A\002" + + "\"B\n\032ReadModifyWriteRowResponse\022$\n\003row\030\001 " + + "\001(\0132\027.google.bigtable.v2.Row2\260\024\n\010Bigtabl" + + "e\022\233\002\n\010ReadRows\022#.google.bigtable.v2.Read" + + "RowsRequest\032$.google.bigtable.v2.ReadRow" + + "sResponse\"\301\001\202\323\344\223\002>\"9/v2/{table_name=proj" + + "ects/*/instances/*/tables/*}:readRows:\001*" + + "\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=projec" + + "ts/*/instances/*/tables/*}\022\020\n\016app_profil" + + "e_id\332A\ntable_name\332A\031table_name,app_profi" + + "le_id0\001\022\254\002\n\rSampleRowKeys\022(.google.bigta" + + "ble.v2.SampleRowKeysRequest\032).google.big" + + "table.v2.SampleRowKeysResponse\"\303\001\202\323\344\223\002@\022" + + ">/v2/{table_name=projects/*/instances/*/" + + "tables/*}:sampleRowKeys\212\323\344\223\002N\022:\n\ntable_n" + + "ame\022,{table_name=projects/*/instances/*/" + + "tables/*}\022\020\n\016app_profile_id\332A\ntable_name" + + "\332A\031table_name,app_profile_id0\001\022\301\002\n\tMutat" + + "eRow\022$.google.bigtable.v2.MutateRowReque" + + "st\032%.google.bigtable.v2.MutateRowRespons" + + "e\"\346\001\202\323\344\223\002?\":/v2/{table_name=projects/*/i" + + "nstances/*/tables/*}:mutateRow:\001*\212\323\344\223\002N\022" + + ":\n\ntable_name\022,{table_name=projects/*/in" + + "stances/*/tables/*}\022\020\n\016app_profile_id\332A\034" + + "table_name,row_key,mutations\332A+table_nam" + + "e,row_key,mutations,app_profile_id\022\263\002\n\nM" + + "utateRows\022%.google.bigtable.v2.MutateRow" + + "sRequest\032&.google.bigtable.v2.MutateRows" + + "Response\"\323\001\202\323\344\223\002@\";/v2/{table_name=proje" + + "cts/*/instances/*/tables/*}:mutateRows:\001" + + "*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=proje" + + "cts/*/instances/*/tables/*}\022\020\n\016app_profi" + + "le_id\332A\022table_name,entries\332A!table_name," + + "entries,app_profile_id0\001\022\255\003\n\021CheckAndMut" + + "ateRow\022,.google.bigtable.v2.CheckAndMuta" + + "teRowRequest\032-.google.bigtable.v2.CheckA" + + "ndMutateRowResponse\"\272\002\202\323\344\223\002G\"B/v2/{table" + + "_name=projects/*/instances/*/tables/*}:c" + + "heckAndMutateRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022" + + ",{table_name=projects/*/instances/*/tabl" + + "es/*}\022\020\n\016app_profile_id\332ABtable_name,row" + + "_key,predicate_filter,true_mutations,fal" + + "se_mutations\332AQtable_name,row_key,predic" + + "ate_filter,true_mutations,false_mutation" + + "s,app_profile_id\022\356\001\n\013PingAndWarm\022&.googl" + + "e.bigtable.v2.PingAndWarmRequest\032\'.googl" + + "e.bigtable.v2.PingAndWarmResponse\"\215\001\202\323\344\223" + + "\002+\"&/v2/{name=projects/*/instances/*}:pi" + + "ng:\001*\212\323\344\223\0029\022%\n\004name\022\035{name=projects/*/in" + + "stances/*}\022\020\n\016app_profile_id\332A\004name\332A\023na" + + "me,app_profile_id\022\335\002\n\022ReadModifyWriteRow" + + "\022-.google.bigtable.v2.ReadModifyWriteRow" + + "Request\032..google.bigtable.v2.ReadModifyW" + + "riteRowResponse\"\347\001\202\323\344\223\002H\"C/v2/{table_nam" + + "e=projects/*/instances/*/tables/*}:readM" + + "odifyWriteRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{t" + + "able_name=projects/*/instances/*/tables/" + + "*}\022\020\n\016app_profile_id\332A\030table_name,row_ke" + + "y,rules\332A\'table_name,row_key,rules,app_p" + + "rofile_id\032\333\002\312A\027bigtable.googleapis.com\322A" + + "\275\002https://www.googleapis.com/auth/bigtab" + + "le.data,https://www.googleapis.com/auth/" + + "bigtable.data.readonly,https://www.googl" + + "eapis.com/auth/cloud-bigtable.data,https" + + "://www.googleapis.com/auth/cloud-bigtabl" + + "e.data.readonly,https://www.googleapis.c" + + "om/auth/cloud-platform,https://www.googl" + + "eapis.com/auth/cloud-platform.read-onlyB" + + "\353\002\n\026com.google.bigtable.v2B\rBigtableProt" + + "oP\001Z:google.golang.org/genproto/googleap" + + "is/bigtable/v2;bigtable\252\002\030Google.Cloud.B" + + "igtable.V2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002\033" + + "Google::Cloud::Bigtable::V2\352AP\n%bigtable" + + "admin.googleapis.com/Instance\022\'projects/" + + "{project}/instances/{instance}\352A\\\n\"bigta" + + "bleadmin.googleapis.com/Table\0226projects/" + + "{project}/instances/{instance}/tables/{t" + + "able}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java index 59a0913d9c..a45a41ba9b 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java @@ -77,8 +77,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The unique name of the table to which the conditional mutation
-   * should be applied. Values are of the form
+   * Required. The unique name of the table to which the conditional mutation should be
+   * applied.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* @@ -104,8 +105,9 @@ public java.lang.String getTableName() { * * *
-   * Required. The unique name of the table to which the conditional mutation
-   * should be applied. Values are of the form
+   * Required. The unique name of the table to which the conditional mutation should be
+   * applied.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* @@ -185,8 +187,7 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { * * *
-   * Required. The key of the row to which the conditional mutation should be
-   * applied.
+   * Required. The key of the row to which the conditional mutation should be applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -980,8 +981,9 @@ public Builder mergeFrom( * * *
-     * Required. The unique name of the table to which the conditional mutation
-     * should be applied. Values are of the form
+     * Required. The unique name of the table to which the conditional mutation should be
+     * applied.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* @@ -1006,8 +1008,9 @@ public java.lang.String getTableName() { * * *
-     * Required. The unique name of the table to which the conditional mutation
-     * should be applied. Values are of the form
+     * Required. The unique name of the table to which the conditional mutation should be
+     * applied.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* @@ -1032,8 +1035,9 @@ public com.google.protobuf.ByteString getTableNameBytes() { * * *
-     * Required. The unique name of the table to which the conditional mutation
-     * should be applied. Values are of the form
+     * Required. The unique name of the table to which the conditional mutation should be
+     * applied.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* @@ -1057,8 +1061,9 @@ public Builder setTableName(java.lang.String value) { * * *
-     * Required. The unique name of the table to which the conditional mutation
-     * should be applied. Values are of the form
+     * Required. The unique name of the table to which the conditional mutation should be
+     * applied.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* @@ -1078,8 +1083,9 @@ public Builder clearTableName() { * * *
-     * Required. The unique name of the table to which the conditional mutation
-     * should be applied. Values are of the form
+     * Required. The unique name of the table to which the conditional mutation should be
+     * applied.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* @@ -1217,8 +1223,7 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The key of the row to which the conditional mutation should be
-     * applied.
+     * Required. The key of the row to which the conditional mutation should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1233,8 +1238,7 @@ public com.google.protobuf.ByteString getRowKey() { * * *
-     * Required. The key of the row to which the conditional mutation should be
-     * applied.
+     * Required. The key of the row to which the conditional mutation should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1255,8 +1259,7 @@ public Builder setRowKey(com.google.protobuf.ByteString value) { * * *
-     * Required. The key of the row to which the conditional mutation should be
-     * applied.
+     * Required. The key of the row to which the conditional mutation should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java index c39724cfff..e044d70cd1 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java @@ -27,8 +27,9 @@ public interface CheckAndMutateRowRequestOrBuilder * * *
-   * Required. The unique name of the table to which the conditional mutation
-   * should be applied. Values are of the form
+   * Required. The unique name of the table to which the conditional mutation should be
+   * applied.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* @@ -43,8 +44,9 @@ public interface CheckAndMutateRowRequestOrBuilder * * *
-   * Required. The unique name of the table to which the conditional mutation
-   * should be applied. Values are of the form
+   * Required. The unique name of the table to which the conditional mutation should be
+   * applied.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* @@ -87,8 +89,7 @@ public interface CheckAndMutateRowRequestOrBuilder * * *
-   * Required. The key of the row to which the conditional mutation should be
-   * applied.
+   * Required. The key of the row to which the conditional mutation should be applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadEfficiencyStats.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java similarity index 71% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadEfficiencyStats.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java index 1c00958102..f0e0c2b726 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadEfficiencyStats.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java @@ -22,27 +22,27 @@ * * *
- * ReadEfficiencyStats captures information about the efficiency of a read.
+ * FullReadStatsView captures all known information about a read.
  * 
* - * Protobuf type {@code google.bigtable.v2.ReadEfficiencyStats} + * Protobuf type {@code google.bigtable.v2.FullReadStatsView} */ -public final class ReadEfficiencyStats extends com.google.protobuf.GeneratedMessageV3 +public final class FullReadStatsView extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadEfficiencyStats) - ReadEfficiencyStatsOrBuilder { + // @@protoc_insertion_point(message_implements:google.bigtable.v2.FullReadStatsView) + FullReadStatsViewOrBuilder { private static final long serialVersionUID = 0L; - // Use ReadEfficiencyStats.newBuilder() to construct. - private ReadEfficiencyStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use FullReadStatsView.newBuilder() to construct. + private FullReadStatsView(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadEfficiencyStats() {} + private FullReadStatsView() {} @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ReadEfficiencyStats(); + return new FullReadStatsView(); } @java.lang.Override @@ -52,21 +52,21 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadEfficiencyStats_descriptor; + .internal_static_google_bigtable_v2_FullReadStatsView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadEfficiencyStats_fieldAccessorTable + .internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadEfficiencyStats.class, - com.google.bigtable.v2.ReadEfficiencyStats.Builder.class); + com.google.bigtable.v2.FullReadStatsView.class, + com.google.bigtable.v2.FullReadStatsView.Builder.class); } - public static final int READ_ITERATOR_STATS_FIELD_NUMBER = 1; - private com.google.bigtable.v2.ReadIteratorStats readIteratorStats_; + public static final int READ_ITERATION_STATS_FIELD_NUMBER = 1; + private com.google.bigtable.v2.ReadIterationStats readIterationStats_; /** * * @@ -77,13 +77,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * better). * * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; * - * @return Whether the readIteratorStats field is set. + * @return Whether the readIterationStats field is set. */ @java.lang.Override - public boolean hasReadIteratorStats() { - return readIteratorStats_ != null; + public boolean hasReadIterationStats() { + return readIterationStats_ != null; } /** * @@ -95,15 +95,15 @@ public boolean hasReadIteratorStats() { * better). * * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; * - * @return The readIteratorStats. + * @return The readIterationStats. */ @java.lang.Override - public com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats() { - return readIteratorStats_ == null - ? com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance() - : readIteratorStats_; + public com.google.bigtable.v2.ReadIterationStats getReadIterationStats() { + return readIterationStats_ == null + ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() + : readIterationStats_; } /** * @@ -115,11 +115,11 @@ public com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats() { * better). * * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadIteratorStatsOrBuilder getReadIteratorStatsOrBuilder() { - return getReadIteratorStats(); + public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsOrBuilder() { + return getReadIterationStats(); } public static final int REQUEST_LATENCY_STATS_FIELD_NUMBER = 2; @@ -187,8 +187,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (readIteratorStats_ != null) { - output.writeMessage(1, getReadIteratorStats()); + if (readIterationStats_ != null) { + output.writeMessage(1, getReadIterationStats()); } if (requestLatencyStats_ != null) { output.writeMessage(2, getRequestLatencyStats()); @@ -202,8 +202,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (readIteratorStats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadIteratorStats()); + if (readIterationStats_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadIterationStats()); } if (requestLatencyStats_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestLatencyStats()); @@ -218,15 +218,14 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.bigtable.v2.ReadEfficiencyStats)) { + if (!(obj instanceof com.google.bigtable.v2.FullReadStatsView)) { return super.equals(obj); } - com.google.bigtable.v2.ReadEfficiencyStats other = - (com.google.bigtable.v2.ReadEfficiencyStats) obj; + com.google.bigtable.v2.FullReadStatsView other = (com.google.bigtable.v2.FullReadStatsView) obj; - if (hasReadIteratorStats() != other.hasReadIteratorStats()) return false; - if (hasReadIteratorStats()) { - if (!getReadIteratorStats().equals(other.getReadIteratorStats())) return false; + if (hasReadIterationStats() != other.hasReadIterationStats()) return false; + if (hasReadIterationStats()) { + if (!getReadIterationStats().equals(other.getReadIterationStats())) return false; } if (hasRequestLatencyStats() != other.hasRequestLatencyStats()) return false; if (hasRequestLatencyStats()) { @@ -243,9 +242,9 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasReadIteratorStats()) { - hash = (37 * hash) + READ_ITERATOR_STATS_FIELD_NUMBER; - hash = (53 * hash) + getReadIteratorStats().hashCode(); + if (hasReadIterationStats()) { + hash = (37 * hash) + READ_ITERATION_STATS_FIELD_NUMBER; + hash = (53 * hash) + getReadIterationStats().hashCode(); } if (hasRequestLatencyStats()) { hash = (37 * hash) + REQUEST_LATENCY_STATS_FIELD_NUMBER; @@ -256,71 +255,71 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ReadEfficiencyStats parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.FullReadStatsView parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadEfficiencyStats parseFrom( + public static com.google.bigtable.v2.FullReadStatsView parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadEfficiencyStats parseFrom( + public static com.google.bigtable.v2.FullReadStatsView parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadEfficiencyStats parseFrom( + public static com.google.bigtable.v2.FullReadStatsView parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadEfficiencyStats parseFrom(byte[] data) + public static com.google.bigtable.v2.FullReadStatsView parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadEfficiencyStats parseFrom( + public static com.google.bigtable.v2.FullReadStatsView parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadEfficiencyStats parseFrom(java.io.InputStream input) + public static com.google.bigtable.v2.FullReadStatsView parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadEfficiencyStats parseFrom( + public static com.google.bigtable.v2.FullReadStatsView 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 com.google.bigtable.v2.ReadEfficiencyStats parseDelimitedFrom( + public static com.google.bigtable.v2.FullReadStatsView parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadEfficiencyStats parseDelimitedFrom( + public static com.google.bigtable.v2.FullReadStatsView 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 com.google.bigtable.v2.ReadEfficiencyStats parseFrom( + public static com.google.bigtable.v2.FullReadStatsView parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadEfficiencyStats parseFrom( + public static com.google.bigtable.v2.FullReadStatsView parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -337,7 +336,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadEfficiencyStats prototype) { + public static Builder newBuilder(com.google.bigtable.v2.FullReadStatsView prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -355,31 +354,31 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * ReadEfficiencyStats captures information about the efficiency of a read.
+   * FullReadStatsView captures all known information about a read.
    * 
* - * Protobuf type {@code google.bigtable.v2.ReadEfficiencyStats} + * Protobuf type {@code google.bigtable.v2.FullReadStatsView} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadEfficiencyStats) - com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder { + // @@protoc_insertion_point(builder_implements:google.bigtable.v2.FullReadStatsView) + com.google.bigtable.v2.FullReadStatsViewOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadEfficiencyStats_descriptor; + .internal_static_google_bigtable_v2_FullReadStatsView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadEfficiencyStats_fieldAccessorTable + .internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadEfficiencyStats.class, - com.google.bigtable.v2.ReadEfficiencyStats.Builder.class); + com.google.bigtable.v2.FullReadStatsView.class, + com.google.bigtable.v2.FullReadStatsView.Builder.class); } - // Construct using com.google.bigtable.v2.ReadEfficiencyStats.newBuilder() + // Construct using com.google.bigtable.v2.FullReadStatsView.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -389,11 +388,11 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @java.lang.Override public Builder clear() { super.clear(); - if (readIteratorStatsBuilder_ == null) { - readIteratorStats_ = null; + if (readIterationStatsBuilder_ == null) { + readIterationStats_ = null; } else { - readIteratorStats_ = null; - readIteratorStatsBuilder_ = null; + readIterationStats_ = null; + readIterationStatsBuilder_ = null; } if (requestLatencyStatsBuilder_ == null) { requestLatencyStats_ = null; @@ -407,17 +406,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadEfficiencyStats_descriptor; + .internal_static_google_bigtable_v2_FullReadStatsView_descriptor; } @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStats getDefaultInstanceForType() { - return com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance(); + public com.google.bigtable.v2.FullReadStatsView getDefaultInstanceForType() { + return com.google.bigtable.v2.FullReadStatsView.getDefaultInstance(); } @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStats build() { - com.google.bigtable.v2.ReadEfficiencyStats result = buildPartial(); + public com.google.bigtable.v2.FullReadStatsView build() { + com.google.bigtable.v2.FullReadStatsView result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -425,13 +424,13 @@ public com.google.bigtable.v2.ReadEfficiencyStats build() { } @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStats buildPartial() { - com.google.bigtable.v2.ReadEfficiencyStats result = - new com.google.bigtable.v2.ReadEfficiencyStats(this); - if (readIteratorStatsBuilder_ == null) { - result.readIteratorStats_ = readIteratorStats_; + public com.google.bigtable.v2.FullReadStatsView buildPartial() { + com.google.bigtable.v2.FullReadStatsView result = + new com.google.bigtable.v2.FullReadStatsView(this); + if (readIterationStatsBuilder_ == null) { + result.readIterationStats_ = readIterationStats_; } else { - result.readIteratorStats_ = readIteratorStatsBuilder_.build(); + result.readIterationStats_ = readIterationStatsBuilder_.build(); } if (requestLatencyStatsBuilder_ == null) { result.requestLatencyStats_ = requestLatencyStats_; @@ -477,18 +476,18 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.bigtable.v2.ReadEfficiencyStats) { - return mergeFrom((com.google.bigtable.v2.ReadEfficiencyStats) other); + if (other instanceof com.google.bigtable.v2.FullReadStatsView) { + return mergeFrom((com.google.bigtable.v2.FullReadStatsView) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.bigtable.v2.ReadEfficiencyStats other) { - if (other == com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance()) return this; - if (other.hasReadIteratorStats()) { - mergeReadIteratorStats(other.getReadIteratorStats()); + public Builder mergeFrom(com.google.bigtable.v2.FullReadStatsView other) { + if (other == com.google.bigtable.v2.FullReadStatsView.getDefaultInstance()) return this; + if (other.hasReadIterationStats()) { + mergeReadIterationStats(other.getReadIterationStats()); } if (other.hasRequestLatencyStats()) { mergeRequestLatencyStats(other.getRequestLatencyStats()); @@ -522,7 +521,7 @@ public Builder mergeFrom( case 10: { input.readMessage( - getReadIteratorStatsFieldBuilder().getBuilder(), extensionRegistry); + getReadIterationStatsFieldBuilder().getBuilder(), extensionRegistry); break; } // case 10 @@ -550,12 +549,12 @@ public Builder mergeFrom( return this; } - private com.google.bigtable.v2.ReadIteratorStats readIteratorStats_; + private com.google.bigtable.v2.ReadIterationStats readIterationStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIteratorStats, - com.google.bigtable.v2.ReadIteratorStats.Builder, - com.google.bigtable.v2.ReadIteratorStatsOrBuilder> - readIteratorStatsBuilder_; + com.google.bigtable.v2.ReadIterationStats, + com.google.bigtable.v2.ReadIterationStats.Builder, + com.google.bigtable.v2.ReadIterationStatsOrBuilder> + readIterationStatsBuilder_; /** * * @@ -566,12 +565,12 @@ public Builder mergeFrom( * better). * * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; * - * @return Whether the readIteratorStats field is set. + * @return Whether the readIterationStats field is set. */ - public boolean hasReadIteratorStats() { - return readIteratorStatsBuilder_ != null || readIteratorStats_ != null; + public boolean hasReadIterationStats() { + return readIterationStatsBuilder_ != null || readIterationStats_ != null; } /** * @@ -583,17 +582,17 @@ public boolean hasReadIteratorStats() { * better). * * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; * - * @return The readIteratorStats. + * @return The readIterationStats. */ - public com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats() { - if (readIteratorStatsBuilder_ == null) { - return readIteratorStats_ == null - ? com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance() - : readIteratorStats_; + public com.google.bigtable.v2.ReadIterationStats getReadIterationStats() { + if (readIterationStatsBuilder_ == null) { + return readIterationStats_ == null + ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() + : readIterationStats_; } else { - return readIteratorStatsBuilder_.getMessage(); + return readIterationStatsBuilder_.getMessage(); } } /** @@ -606,17 +605,17 @@ public com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats() { * better). * * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ - public Builder setReadIteratorStats(com.google.bigtable.v2.ReadIteratorStats value) { - if (readIteratorStatsBuilder_ == null) { + public Builder setReadIterationStats(com.google.bigtable.v2.ReadIterationStats value) { + if (readIterationStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - readIteratorStats_ = value; + readIterationStats_ = value; onChanged(); } else { - readIteratorStatsBuilder_.setMessage(value); + readIterationStatsBuilder_.setMessage(value); } return this; @@ -631,15 +630,15 @@ public Builder setReadIteratorStats(com.google.bigtable.v2.ReadIteratorStats val * better). * * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ - public Builder setReadIteratorStats( - com.google.bigtable.v2.ReadIteratorStats.Builder builderForValue) { - if (readIteratorStatsBuilder_ == null) { - readIteratorStats_ = builderForValue.build(); + public Builder setReadIterationStats( + com.google.bigtable.v2.ReadIterationStats.Builder builderForValue) { + if (readIterationStatsBuilder_ == null) { + readIterationStats_ = builderForValue.build(); onChanged(); } else { - readIteratorStatsBuilder_.setMessage(builderForValue.build()); + readIterationStatsBuilder_.setMessage(builderForValue.build()); } return this; @@ -654,21 +653,21 @@ public Builder setReadIteratorStats( * better). * * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ - public Builder mergeReadIteratorStats(com.google.bigtable.v2.ReadIteratorStats value) { - if (readIteratorStatsBuilder_ == null) { - if (readIteratorStats_ != null) { - readIteratorStats_ = - com.google.bigtable.v2.ReadIteratorStats.newBuilder(readIteratorStats_) + public Builder mergeReadIterationStats(com.google.bigtable.v2.ReadIterationStats value) { + if (readIterationStatsBuilder_ == null) { + if (readIterationStats_ != null) { + readIterationStats_ = + com.google.bigtable.v2.ReadIterationStats.newBuilder(readIterationStats_) .mergeFrom(value) .buildPartial(); } else { - readIteratorStats_ = value; + readIterationStats_ = value; } onChanged(); } else { - readIteratorStatsBuilder_.mergeFrom(value); + readIterationStatsBuilder_.mergeFrom(value); } return this; @@ -683,15 +682,15 @@ public Builder mergeReadIteratorStats(com.google.bigtable.v2.ReadIteratorStats v * better). * * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ - public Builder clearReadIteratorStats() { - if (readIteratorStatsBuilder_ == null) { - readIteratorStats_ = null; + public Builder clearReadIterationStats() { + if (readIterationStatsBuilder_ == null) { + readIterationStats_ = null; onChanged(); } else { - readIteratorStats_ = null; - readIteratorStatsBuilder_ = null; + readIterationStats_ = null; + readIterationStatsBuilder_ = null; } return this; @@ -706,12 +705,12 @@ public Builder clearReadIteratorStats() { * better). * * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ - public com.google.bigtable.v2.ReadIteratorStats.Builder getReadIteratorStatsBuilder() { + public com.google.bigtable.v2.ReadIterationStats.Builder getReadIterationStatsBuilder() { onChanged(); - return getReadIteratorStatsFieldBuilder().getBuilder(); + return getReadIterationStatsFieldBuilder().getBuilder(); } /** * @@ -723,15 +722,15 @@ public com.google.bigtable.v2.ReadIteratorStats.Builder getReadIteratorStatsBuil * better). * * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ - public com.google.bigtable.v2.ReadIteratorStatsOrBuilder getReadIteratorStatsOrBuilder() { - if (readIteratorStatsBuilder_ != null) { - return readIteratorStatsBuilder_.getMessageOrBuilder(); + public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsOrBuilder() { + if (readIterationStatsBuilder_ != null) { + return readIterationStatsBuilder_.getMessageOrBuilder(); } else { - return readIteratorStats_ == null - ? com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance() - : readIteratorStats_; + return readIterationStats_ == null + ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() + : readIterationStats_; } } /** @@ -744,23 +743,23 @@ public com.google.bigtable.v2.ReadIteratorStatsOrBuilder getReadIteratorStatsOrB * better). * * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIteratorStats, - com.google.bigtable.v2.ReadIteratorStats.Builder, - com.google.bigtable.v2.ReadIteratorStatsOrBuilder> - getReadIteratorStatsFieldBuilder() { - if (readIteratorStatsBuilder_ == null) { - readIteratorStatsBuilder_ = + com.google.bigtable.v2.ReadIterationStats, + com.google.bigtable.v2.ReadIterationStats.Builder, + com.google.bigtable.v2.ReadIterationStatsOrBuilder> + getReadIterationStatsFieldBuilder() { + if (readIterationStatsBuilder_ == null) { + readIterationStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIteratorStats, - com.google.bigtable.v2.ReadIteratorStats.Builder, - com.google.bigtable.v2.ReadIteratorStatsOrBuilder>( - getReadIteratorStats(), getParentForChildren(), isClean()); - readIteratorStats_ = null; + com.google.bigtable.v2.ReadIterationStats, + com.google.bigtable.v2.ReadIterationStats.Builder, + com.google.bigtable.v2.ReadIterationStatsOrBuilder>( + getReadIterationStats(), getParentForChildren(), isClean()); + readIterationStats_ = null; } - return readIteratorStatsBuilder_; + return readIterationStatsBuilder_; } private com.google.bigtable.v2.RequestLatencyStats requestLatencyStats_; @@ -969,24 +968,24 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadEfficiencyStats) + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.FullReadStatsView) } - // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadEfficiencyStats) - private static final com.google.bigtable.v2.ReadEfficiencyStats DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:google.bigtable.v2.FullReadStatsView) + private static final com.google.bigtable.v2.FullReadStatsView DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadEfficiencyStats(); + DEFAULT_INSTANCE = new com.google.bigtable.v2.FullReadStatsView(); } - public static com.google.bigtable.v2.ReadEfficiencyStats getDefaultInstance() { + public static com.google.bigtable.v2.FullReadStatsView getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { @java.lang.Override - public ReadEfficiencyStats parsePartialFrom( + public FullReadStatsView parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1005,17 +1004,17 @@ public ReadEfficiencyStats parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStats getDefaultInstanceForType() { + public com.google.bigtable.v2.FullReadStatsView getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/AllReadStatsOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java similarity index 82% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/AllReadStatsOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java index 7cd111af6d..e98b57f732 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/AllReadStatsOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java @@ -18,9 +18,9 @@ package com.google.bigtable.v2; -public interface AllReadStatsOrBuilder +public interface FullReadStatsViewOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.bigtable.v2.AllReadStats) + // @@protoc_insertion_point(interface_extends:google.bigtable.v2.FullReadStatsView) com.google.protobuf.MessageOrBuilder { /** @@ -33,11 +33,11 @@ public interface AllReadStatsOrBuilder * better). * * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; * - * @return Whether the readIteratorStats field is set. + * @return Whether the readIterationStats field is set. */ - boolean hasReadIteratorStats(); + boolean hasReadIterationStats(); /** * * @@ -48,11 +48,11 @@ public interface AllReadStatsOrBuilder * better). * * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; * - * @return The readIteratorStats. + * @return The readIterationStats. */ - com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats(); + com.google.bigtable.v2.ReadIterationStats getReadIterationStats(); /** * * @@ -63,9 +63,9 @@ public interface AllReadStatsOrBuilder * better). * * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ - com.google.bigtable.v2.ReadIteratorStatsOrBuilder getReadIteratorStatsOrBuilder(); + com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsOrBuilder(); /** * diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java index 099d502744..00c657bb3a 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java @@ -76,8 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The unique name of the table to which the mutation should be
-   * applied. Values are of the form
+   * Required. The unique name of the table to which the mutation should be applied.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* @@ -103,8 +103,8 @@ public java.lang.String getTableName() { * * *
-   * Required. The unique name of the table to which the mutation should be
-   * applied. Values are of the form
+   * Required. The unique name of the table to which the mutation should be applied.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* @@ -202,9 +202,9 @@ public com.google.protobuf.ByteString getRowKey() { * * *
-   * Required. Changes to be atomically applied to the specified row. Entries
-   * are applied in order, meaning that earlier mutations can be masked by later
-   * ones. Must contain at least one entry and at most 100000.
+   * Required. Changes to be atomically applied to the specified row. Entries are applied
+   * in order, meaning that earlier mutations can be masked by later ones.
+   * Must contain at least one entry and at most 100000.
    * 
* * @@ -219,9 +219,9 @@ public java.util.List getMutationsList() { * * *
-   * Required. Changes to be atomically applied to the specified row. Entries
-   * are applied in order, meaning that earlier mutations can be masked by later
-   * ones. Must contain at least one entry and at most 100000.
+   * Required. Changes to be atomically applied to the specified row. Entries are applied
+   * in order, meaning that earlier mutations can be masked by later ones.
+   * Must contain at least one entry and at most 100000.
    * 
* * @@ -237,9 +237,9 @@ public java.util.List getMutationsList() { * * *
-   * Required. Changes to be atomically applied to the specified row. Entries
-   * are applied in order, meaning that earlier mutations can be masked by later
-   * ones. Must contain at least one entry and at most 100000.
+   * Required. Changes to be atomically applied to the specified row. Entries are applied
+   * in order, meaning that earlier mutations can be masked by later ones.
+   * Must contain at least one entry and at most 100000.
    * 
* * @@ -254,9 +254,9 @@ public int getMutationsCount() { * * *
-   * Required. Changes to be atomically applied to the specified row. Entries
-   * are applied in order, meaning that earlier mutations can be masked by later
-   * ones. Must contain at least one entry and at most 100000.
+   * Required. Changes to be atomically applied to the specified row. Entries are applied
+   * in order, meaning that earlier mutations can be masked by later ones.
+   * Must contain at least one entry and at most 100000.
    * 
* * @@ -271,9 +271,9 @@ public com.google.bigtable.v2.Mutation getMutations(int index) { * * *
-   * Required. Changes to be atomically applied to the specified row. Entries
-   * are applied in order, meaning that earlier mutations can be masked by later
-   * ones. Must contain at least one entry and at most 100000.
+   * Required. Changes to be atomically applied to the specified row. Entries are applied
+   * in order, meaning that earlier mutations can be masked by later ones.
+   * Must contain at least one entry and at most 100000.
    * 
* * @@ -730,8 +730,8 @@ public Builder mergeFrom( * * *
-     * Required. The unique name of the table to which the mutation should be
-     * applied. Values are of the form
+     * Required. The unique name of the table to which the mutation should be applied.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* @@ -756,8 +756,8 @@ public java.lang.String getTableName() { * * *
-     * Required. The unique name of the table to which the mutation should be
-     * applied. Values are of the form
+     * Required. The unique name of the table to which the mutation should be applied.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* @@ -782,8 +782,8 @@ public com.google.protobuf.ByteString getTableNameBytes() { * * *
-     * Required. The unique name of the table to which the mutation should be
-     * applied. Values are of the form
+     * Required. The unique name of the table to which the mutation should be applied.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* @@ -807,8 +807,8 @@ public Builder setTableName(java.lang.String value) { * * *
-     * Required. The unique name of the table to which the mutation should be
-     * applied. Values are of the form
+     * Required. The unique name of the table to which the mutation should be applied.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* @@ -828,8 +828,8 @@ public Builder clearTableName() { * * *
-     * Required. The unique name of the table to which the mutation should be
-     * applied. Values are of the form
+     * Required. The unique name of the table to which the mutation should be applied.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* @@ -1037,9 +1037,9 @@ private void ensureMutationsIsMutable() { * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1057,9 +1057,9 @@ public java.util.List getMutationsList() { * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1077,9 +1077,9 @@ public int getMutationsCount() { * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1097,9 +1097,9 @@ public com.google.bigtable.v2.Mutation getMutations(int index) { * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1123,9 +1123,9 @@ public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1147,9 +1147,9 @@ public Builder setMutations( * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1173,9 +1173,9 @@ public Builder addMutations(com.google.bigtable.v2.Mutation value) { * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1199,9 +1199,9 @@ public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1222,9 +1222,9 @@ public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForVa * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1246,9 +1246,9 @@ public Builder addMutations( * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1270,9 +1270,9 @@ public Builder addAllMutations( * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1293,9 +1293,9 @@ public Builder clearMutations() { * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1316,9 +1316,9 @@ public Builder removeMutations(int index) { * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1332,9 +1332,9 @@ public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder(int index) { * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1352,9 +1352,9 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1373,9 +1373,9 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1390,9 +1390,9 @@ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder() { * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * @@ -1407,9 +1407,9 @@ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder(int index) { * * *
-     * Required. Changes to be atomically applied to the specified row. Entries
-     * are applied in order, meaning that earlier mutations can be masked by later
-     * ones. Must contain at least one entry and at most 100000.
+     * Required. Changes to be atomically applied to the specified row. Entries are applied
+     * in order, meaning that earlier mutations can be masked by later ones.
+     * Must contain at least one entry and at most 100000.
      * 
* * diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java index 3bb86b6295..cd0791f7d3 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface MutateRowRequestOrBuilder * * *
-   * Required. The unique name of the table to which the mutation should be
-   * applied. Values are of the form
+   * Required. The unique name of the table to which the mutation should be applied.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* @@ -43,8 +43,8 @@ public interface MutateRowRequestOrBuilder * * *
-   * Required. The unique name of the table to which the mutation should be
-   * applied. Values are of the form
+   * Required. The unique name of the table to which the mutation should be applied.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* @@ -100,9 +100,9 @@ public interface MutateRowRequestOrBuilder * * *
-   * Required. Changes to be atomically applied to the specified row. Entries
-   * are applied in order, meaning that earlier mutations can be masked by later
-   * ones. Must contain at least one entry and at most 100000.
+   * Required. Changes to be atomically applied to the specified row. Entries are applied
+   * in order, meaning that earlier mutations can be masked by later ones.
+   * Must contain at least one entry and at most 100000.
    * 
* * @@ -114,9 +114,9 @@ public interface MutateRowRequestOrBuilder * * *
-   * Required. Changes to be atomically applied to the specified row. Entries
-   * are applied in order, meaning that earlier mutations can be masked by later
-   * ones. Must contain at least one entry and at most 100000.
+   * Required. Changes to be atomically applied to the specified row. Entries are applied
+   * in order, meaning that earlier mutations can be masked by later ones.
+   * Must contain at least one entry and at most 100000.
    * 
* * @@ -128,9 +128,9 @@ public interface MutateRowRequestOrBuilder * * *
-   * Required. Changes to be atomically applied to the specified row. Entries
-   * are applied in order, meaning that earlier mutations can be masked by later
-   * ones. Must contain at least one entry and at most 100000.
+   * Required. Changes to be atomically applied to the specified row. Entries are applied
+   * in order, meaning that earlier mutations can be masked by later ones.
+   * Must contain at least one entry and at most 100000.
    * 
* * @@ -142,9 +142,9 @@ public interface MutateRowRequestOrBuilder * * *
-   * Required. Changes to be atomically applied to the specified row. Entries
-   * are applied in order, meaning that earlier mutations can be masked by later
-   * ones. Must contain at least one entry and at most 100000.
+   * Required. Changes to be atomically applied to the specified row. Entries are applied
+   * in order, meaning that earlier mutations can be masked by later ones.
+   * Must contain at least one entry and at most 100000.
    * 
* * @@ -156,9 +156,9 @@ public interface MutateRowRequestOrBuilder * * *
-   * Required. Changes to be atomically applied to the specified row. Entries
-   * are applied in order, meaning that earlier mutations can be masked by later
-   * ones. Must contain at least one entry and at most 100000.
+   * Required. Changes to be atomically applied to the specified row. Entries are applied
+   * in order, meaning that earlier mutations can be masked by later ones.
+   * Must contain at least one entry and at most 100000.
    * 
* * diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java index 591aad76fd..72a373f79d 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java @@ -91,9 +91,10 @@ public interface EntryOrBuilder * * *
-     * Required. Changes to be atomically applied to the specified row.
-     * Mutations are applied in order, meaning that earlier mutations can be
-     * masked by later ones. You must specify at least one mutation.
+     * Required. Changes to be atomically applied to the specified row. Mutations are
+     * applied in order, meaning that earlier mutations can be masked by
+     * later ones.
+     * You must specify at least one mutation.
      * 
* * @@ -105,9 +106,10 @@ public interface EntryOrBuilder * * *
-     * Required. Changes to be atomically applied to the specified row.
-     * Mutations are applied in order, meaning that earlier mutations can be
-     * masked by later ones. You must specify at least one mutation.
+     * Required. Changes to be atomically applied to the specified row. Mutations are
+     * applied in order, meaning that earlier mutations can be masked by
+     * later ones.
+     * You must specify at least one mutation.
      * 
* * @@ -119,9 +121,10 @@ public interface EntryOrBuilder * * *
-     * Required. Changes to be atomically applied to the specified row.
-     * Mutations are applied in order, meaning that earlier mutations can be
-     * masked by later ones. You must specify at least one mutation.
+     * Required. Changes to be atomically applied to the specified row. Mutations are
+     * applied in order, meaning that earlier mutations can be masked by
+     * later ones.
+     * You must specify at least one mutation.
      * 
* * @@ -133,9 +136,10 @@ public interface EntryOrBuilder * * *
-     * Required. Changes to be atomically applied to the specified row.
-     * Mutations are applied in order, meaning that earlier mutations can be
-     * masked by later ones. You must specify at least one mutation.
+     * Required. Changes to be atomically applied to the specified row. Mutations are
+     * applied in order, meaning that earlier mutations can be masked by
+     * later ones.
+     * You must specify at least one mutation.
      * 
* * @@ -147,9 +151,10 @@ public interface EntryOrBuilder * * *
-     * Required. Changes to be atomically applied to the specified row.
-     * Mutations are applied in order, meaning that earlier mutations can be
-     * masked by later ones. You must specify at least one mutation.
+     * Required. Changes to be atomically applied to the specified row. Mutations are
+     * applied in order, meaning that earlier mutations can be masked by
+     * later ones.
+     * You must specify at least one mutation.
      * 
* * @@ -232,9 +237,10 @@ public com.google.protobuf.ByteString getRowKey() { * * *
-     * Required. Changes to be atomically applied to the specified row.
-     * Mutations are applied in order, meaning that earlier mutations can be
-     * masked by later ones. You must specify at least one mutation.
+     * Required. Changes to be atomically applied to the specified row. Mutations are
+     * applied in order, meaning that earlier mutations can be masked by
+     * later ones.
+     * You must specify at least one mutation.
      * 
* * @@ -249,9 +255,10 @@ public java.util.List getMutationsList() { * * *
-     * Required. Changes to be atomically applied to the specified row.
-     * Mutations are applied in order, meaning that earlier mutations can be
-     * masked by later ones. You must specify at least one mutation.
+     * Required. Changes to be atomically applied to the specified row. Mutations are
+     * applied in order, meaning that earlier mutations can be masked by
+     * later ones.
+     * You must specify at least one mutation.
      * 
* * @@ -267,9 +274,10 @@ public java.util.List getMutationsList() { * * *
-     * Required. Changes to be atomically applied to the specified row.
-     * Mutations are applied in order, meaning that earlier mutations can be
-     * masked by later ones. You must specify at least one mutation.
+     * Required. Changes to be atomically applied to the specified row. Mutations are
+     * applied in order, meaning that earlier mutations can be masked by
+     * later ones.
+     * You must specify at least one mutation.
      * 
* * @@ -284,9 +292,10 @@ public int getMutationsCount() { * * *
-     * Required. Changes to be atomically applied to the specified row.
-     * Mutations are applied in order, meaning that earlier mutations can be
-     * masked by later ones. You must specify at least one mutation.
+     * Required. Changes to be atomically applied to the specified row. Mutations are
+     * applied in order, meaning that earlier mutations can be masked by
+     * later ones.
+     * You must specify at least one mutation.
      * 
* * @@ -301,9 +310,10 @@ public com.google.bigtable.v2.Mutation getMutations(int index) { * * *
-     * Required. Changes to be atomically applied to the specified row.
-     * Mutations are applied in order, meaning that earlier mutations can be
-     * masked by later ones. You must specify at least one mutation.
+     * Required. Changes to be atomically applied to the specified row. Mutations are
+     * applied in order, meaning that earlier mutations can be masked by
+     * later ones.
+     * You must specify at least one mutation.
      * 
* * @@ -793,9 +803,10 @@ private void ensureMutationsIsMutable() { * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -813,9 +824,10 @@ public java.util.List getMutationsList() { * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -833,9 +845,10 @@ public int getMutationsCount() { * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -853,9 +866,10 @@ public com.google.bigtable.v2.Mutation getMutations(int index) { * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -879,9 +893,10 @@ public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -903,9 +918,10 @@ public Builder setMutations( * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -929,9 +945,10 @@ public Builder addMutations(com.google.bigtable.v2.Mutation value) { * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -955,9 +972,10 @@ public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -978,9 +996,10 @@ public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForVa * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -1002,9 +1021,10 @@ public Builder addMutations( * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -1026,9 +1046,10 @@ public Builder addAllMutations( * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -1049,9 +1070,10 @@ public Builder clearMutations() { * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -1072,9 +1094,10 @@ public Builder removeMutations(int index) { * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -1088,9 +1111,10 @@ public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder(int index) { * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -1108,9 +1132,10 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -1129,9 +1154,10 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -1146,9 +1172,10 @@ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder() { * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -1163,9 +1190,10 @@ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder(int index) { * * *
-       * Required. Changes to be atomically applied to the specified row.
-       * Mutations are applied in order, meaning that earlier mutations can be
-       * masked by later ones. You must specify at least one mutation.
+       * Required. Changes to be atomically applied to the specified row. Mutations are
+       * applied in order, meaning that earlier mutations can be masked by
+       * later ones.
+       * You must specify at least one mutation.
        * 
* * @@ -1263,8 +1291,7 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry getDefaultInstanceForType( * * *
-   * Required. The unique name of the table to which the mutations should be
-   * applied.
+   * Required. The unique name of the table to which the mutations should be applied.
    * 
* * @@ -1289,8 +1316,7 @@ public java.lang.String getTableName() { * * *
-   * Required. The unique name of the table to which the mutations should be
-   * applied.
+   * Required. The unique name of the table to which the mutations should be applied.
    * 
* * @@ -1887,8 +1913,7 @@ public Builder mergeFrom( * * *
-     * Required. The unique name of the table to which the mutations should be
-     * applied.
+     * Required. The unique name of the table to which the mutations should be applied.
      * 
* * @@ -1912,8 +1937,7 @@ public java.lang.String getTableName() { * * *
-     * Required. The unique name of the table to which the mutations should be
-     * applied.
+     * Required. The unique name of the table to which the mutations should be applied.
      * 
* * @@ -1937,8 +1961,7 @@ public com.google.protobuf.ByteString getTableNameBytes() { * * *
-     * Required. The unique name of the table to which the mutations should be
-     * applied.
+     * Required. The unique name of the table to which the mutations should be applied.
      * 
* * @@ -1961,8 +1984,7 @@ public Builder setTableName(java.lang.String value) { * * *
-     * Required. The unique name of the table to which the mutations should be
-     * applied.
+     * Required. The unique name of the table to which the mutations should be applied.
      * 
* * @@ -1981,8 +2003,7 @@ public Builder clearTableName() { * * *
-     * Required. The unique name of the table to which the mutations should be
-     * applied.
+     * Required. The unique name of the table to which the mutations should be applied.
      * 
* * diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java index 483d0f714f..7c877bd876 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java @@ -27,8 +27,7 @@ public interface MutateRowsRequestOrBuilder * * *
-   * Required. The unique name of the table to which the mutations should be
-   * applied.
+   * Required. The unique name of the table to which the mutations should be applied.
    * 
* * @@ -42,8 +41,7 @@ public interface MutateRowsRequestOrBuilder * * *
-   * Required. The unique name of the table to which the mutations should be
-   * applied.
+   * Required. The unique name of the table to which the mutations should be applied.
    * 
* * diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java index cbff08ec02..03d0839d7c 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java @@ -74,9 +74,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The unique name of the instance to check permissions for as well
-   * as respond. Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance to check permissions for as well as
+   * respond. Values are of the form `projects/<project>/instances/<instance>`.
    * 
* * @@ -101,9 +100,8 @@ public java.lang.String getName() { * * *
-   * Required. The unique name of the instance to check permissions for as well
-   * as respond. Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance to check permissions for as well as
+   * respond. Values are of the form `projects/<project>/instances/<instance>`.
    * 
* * @@ -532,9 +530,8 @@ public Builder mergeFrom( * * *
-     * Required. The unique name of the instance to check permissions for as well
-     * as respond. Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance to check permissions for as well as
+     * respond. Values are of the form `projects/<project>/instances/<instance>`.
      * 
* * @@ -558,9 +555,8 @@ public java.lang.String getName() { * * *
-     * Required. The unique name of the instance to check permissions for as well
-     * as respond. Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance to check permissions for as well as
+     * respond. Values are of the form `projects/<project>/instances/<instance>`.
      * 
* * @@ -584,9 +580,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The unique name of the instance to check permissions for as well
-     * as respond. Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance to check permissions for as well as
+     * respond. Values are of the form `projects/<project>/instances/<instance>`.
      * 
* * @@ -609,9 +604,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The unique name of the instance to check permissions for as well
-     * as respond. Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance to check permissions for as well as
+     * respond. Values are of the form `projects/<project>/instances/<instance>`.
      * 
* * @@ -630,9 +624,8 @@ public Builder clearName() { * * *
-     * Required. The unique name of the instance to check permissions for as well
-     * as respond. Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance to check permissions for as well as
+     * respond. Values are of the form `projects/<project>/instances/<instance>`.
      * 
* * diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java index 4f15fb0040..026de7db51 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java @@ -27,9 +27,8 @@ public interface PingAndWarmRequestOrBuilder * * *
-   * Required. The unique name of the instance to check permissions for as well
-   * as respond. Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance to check permissions for as well as
+   * respond. Values are of the form `projects/<project>/instances/<instance>`.
    * 
* * @@ -43,9 +42,8 @@ public interface PingAndWarmRequestOrBuilder * * *
-   * Required. The unique name of the instance to check permissions for as well
-   * as respond. Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance to check permissions for as well as
+   * respond. Values are of the form `projects/<project>/instances/<instance>`.
    * 
* * diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadEfficiencyStatsOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadEfficiencyStatsOrBuilder.java deleted file mode 100644 index 77898c1698..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadEfficiencyStatsOrBuilder.java +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed 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: google/bigtable/v2/request_stats.proto - -package com.google.bigtable.v2; - -public interface ReadEfficiencyStatsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadEfficiencyStats) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Iteration stats describe how efficient the read is, e.g. comparing
-   * rows seen vs. rows returned or cells seen vs cells returned can provide an
-   * indication of read efficiency (the higher the ratio of seen to retuned the
-   * better).
-   * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return Whether the readIteratorStats field is set. - */ - boolean hasReadIteratorStats(); - /** - * - * - *
-   * Iteration stats describe how efficient the read is, e.g. comparing
-   * rows seen vs. rows returned or cells seen vs cells returned can provide an
-   * indication of read efficiency (the higher the ratio of seen to retuned the
-   * better).
-   * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return The readIteratorStats. - */ - com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats(); - /** - * - * - *
-   * Iteration stats describe how efficient the read is, e.g. comparing
-   * rows seen vs. rows returned or cells seen vs cells returned can provide an
-   * indication of read efficiency (the higher the ratio of seen to retuned the
-   * better).
-   * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - com.google.bigtable.v2.ReadIteratorStatsOrBuilder getReadIteratorStatsOrBuilder(); - - /** - * - * - *
-   * Request latency stats describe the time taken to complete a request, from
-   * the server side.
-   * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * - * @return Whether the requestLatencyStats field is set. - */ - boolean hasRequestLatencyStats(); - /** - * - * - *
-   * Request latency stats describe the time taken to complete a request, from
-   * the server side.
-   * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * - * @return The requestLatencyStats. - */ - com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats(); - /** - * - * - *
-   * Request latency stats describe the time taken to complete a request, from
-   * the server side.
-   * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStatsOrBuilder(); -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIteratorStats.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java similarity index 76% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIteratorStats.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java index 392aee12be..26955faba7 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIteratorStats.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java @@ -22,29 +22,29 @@ * * *
- * ReadIteratorStats captures information about the iteration of rows or cells
+ * ReadIterationStats captures information about the iteration of rows or cells
  * over the course of a read, e.g. how many results were scanned in a read
  * operation versus the results returned.
  * 
* - * Protobuf type {@code google.bigtable.v2.ReadIteratorStats} + * Protobuf type {@code google.bigtable.v2.ReadIterationStats} */ -public final class ReadIteratorStats extends com.google.protobuf.GeneratedMessageV3 +public final class ReadIterationStats extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadIteratorStats) - ReadIteratorStatsOrBuilder { + // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadIterationStats) + ReadIterationStatsOrBuilder { private static final long serialVersionUID = 0L; - // Use ReadIteratorStats.newBuilder() to construct. - private ReadIteratorStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ReadIterationStats.newBuilder() to construct. + private ReadIterationStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadIteratorStats() {} + private ReadIterationStats() {} @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ReadIteratorStats(); + return new ReadIterationStats(); } @java.lang.Override @@ -54,17 +54,17 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadIteratorStats_descriptor; + .internal_static_google_bigtable_v2_ReadIterationStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadIteratorStats_fieldAccessorTable + .internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadIteratorStats.class, - com.google.bigtable.v2.ReadIteratorStats.Builder.class); + com.google.bigtable.v2.ReadIterationStats.class, + com.google.bigtable.v2.ReadIterationStats.Builder.class); } public static final int ROWS_SEEN_COUNT_FIELD_NUMBER = 1; @@ -141,24 +141,6 @@ public long getCellsReturnedCount() { return cellsReturnedCount_; } - public static final int DELETES_SEEN_COUNT_FIELD_NUMBER = 5; - private long deletesSeenCount_; - /** - * - * - *
-   * The deletes seen as part of the request.
-   * 
- * - * int64 deletes_seen_count = 5; - * - * @return The deletesSeenCount. - */ - @java.lang.Override - public long getDeletesSeenCount() { - return deletesSeenCount_; - } - private byte memoizedIsInitialized = -1; @java.lang.Override @@ -185,9 +167,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (cellsReturnedCount_ != 0L) { output.writeInt64(4, cellsReturnedCount_); } - if (deletesSeenCount_ != 0L) { - output.writeInt64(5, deletesSeenCount_); - } getUnknownFields().writeTo(output); } @@ -209,9 +188,6 @@ public int getSerializedSize() { if (cellsReturnedCount_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, cellsReturnedCount_); } - if (deletesSeenCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, deletesSeenCount_); - } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -222,16 +198,16 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.bigtable.v2.ReadIteratorStats)) { + if (!(obj instanceof com.google.bigtable.v2.ReadIterationStats)) { return super.equals(obj); } - com.google.bigtable.v2.ReadIteratorStats other = (com.google.bigtable.v2.ReadIteratorStats) obj; + com.google.bigtable.v2.ReadIterationStats other = + (com.google.bigtable.v2.ReadIterationStats) obj; if (getRowsSeenCount() != other.getRowsSeenCount()) return false; if (getRowsReturnedCount() != other.getRowsReturnedCount()) return false; if (getCellsSeenCount() != other.getCellsSeenCount()) return false; if (getCellsReturnedCount() != other.getCellsReturnedCount()) return false; - if (getDeletesSeenCount() != other.getDeletesSeenCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -251,78 +227,76 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCellsSeenCount()); hash = (37 * hash) + CELLS_RETURNED_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCellsReturnedCount()); - hash = (37 * hash) + DELETES_SEEN_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDeletesSeenCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.ReadIteratorStats parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadIterationStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadIteratorStats parseFrom( + public static com.google.bigtable.v2.ReadIterationStats parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadIteratorStats parseFrom( + public static com.google.bigtable.v2.ReadIterationStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadIteratorStats parseFrom( + public static com.google.bigtable.v2.ReadIterationStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadIteratorStats parseFrom(byte[] data) + public static com.google.bigtable.v2.ReadIterationStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadIteratorStats parseFrom( + public static com.google.bigtable.v2.ReadIterationStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadIteratorStats parseFrom(java.io.InputStream input) + public static com.google.bigtable.v2.ReadIterationStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadIteratorStats parseFrom( + public static com.google.bigtable.v2.ReadIterationStats 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 com.google.bigtable.v2.ReadIteratorStats parseDelimitedFrom( + public static com.google.bigtable.v2.ReadIterationStats parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadIteratorStats parseDelimitedFrom( + public static com.google.bigtable.v2.ReadIterationStats 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 com.google.bigtable.v2.ReadIteratorStats parseFrom( + public static com.google.bigtable.v2.ReadIterationStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadIteratorStats parseFrom( + public static com.google.bigtable.v2.ReadIterationStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -339,7 +313,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadIteratorStats prototype) { + public static Builder newBuilder(com.google.bigtable.v2.ReadIterationStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -357,33 +331,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * ReadIteratorStats captures information about the iteration of rows or cells
+   * ReadIterationStats captures information about the iteration of rows or cells
    * over the course of a read, e.g. how many results were scanned in a read
    * operation versus the results returned.
    * 
* - * Protobuf type {@code google.bigtable.v2.ReadIteratorStats} + * Protobuf type {@code google.bigtable.v2.ReadIterationStats} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadIteratorStats) - com.google.bigtable.v2.ReadIteratorStatsOrBuilder { + // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadIterationStats) + com.google.bigtable.v2.ReadIterationStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadIteratorStats_descriptor; + .internal_static_google_bigtable_v2_ReadIterationStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadIteratorStats_fieldAccessorTable + .internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadIteratorStats.class, - com.google.bigtable.v2.ReadIteratorStats.Builder.class); + com.google.bigtable.v2.ReadIterationStats.class, + com.google.bigtable.v2.ReadIterationStats.Builder.class); } - // Construct using com.google.bigtable.v2.ReadIteratorStats.newBuilder() + // Construct using com.google.bigtable.v2.ReadIterationStats.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -401,25 +375,23 @@ public Builder clear() { cellsReturnedCount_ = 0L; - deletesSeenCount_ = 0L; - return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadIteratorStats_descriptor; + .internal_static_google_bigtable_v2_ReadIterationStats_descriptor; } @java.lang.Override - public com.google.bigtable.v2.ReadIteratorStats getDefaultInstanceForType() { - return com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance(); + public com.google.bigtable.v2.ReadIterationStats getDefaultInstanceForType() { + return com.google.bigtable.v2.ReadIterationStats.getDefaultInstance(); } @java.lang.Override - public com.google.bigtable.v2.ReadIteratorStats build() { - com.google.bigtable.v2.ReadIteratorStats result = buildPartial(); + public com.google.bigtable.v2.ReadIterationStats build() { + com.google.bigtable.v2.ReadIterationStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -427,14 +399,13 @@ public com.google.bigtable.v2.ReadIteratorStats build() { } @java.lang.Override - public com.google.bigtable.v2.ReadIteratorStats buildPartial() { - com.google.bigtable.v2.ReadIteratorStats result = - new com.google.bigtable.v2.ReadIteratorStats(this); + public com.google.bigtable.v2.ReadIterationStats buildPartial() { + com.google.bigtable.v2.ReadIterationStats result = + new com.google.bigtable.v2.ReadIterationStats(this); result.rowsSeenCount_ = rowsSeenCount_; result.rowsReturnedCount_ = rowsReturnedCount_; result.cellsSeenCount_ = cellsSeenCount_; result.cellsReturnedCount_ = cellsReturnedCount_; - result.deletesSeenCount_ = deletesSeenCount_; onBuilt(); return result; } @@ -474,16 +445,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.bigtable.v2.ReadIteratorStats) { - return mergeFrom((com.google.bigtable.v2.ReadIteratorStats) other); + if (other instanceof com.google.bigtable.v2.ReadIterationStats) { + return mergeFrom((com.google.bigtable.v2.ReadIterationStats) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.bigtable.v2.ReadIteratorStats other) { - if (other == com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.bigtable.v2.ReadIterationStats other) { + if (other == com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()) return this; if (other.getRowsSeenCount() != 0L) { setRowsSeenCount(other.getRowsSeenCount()); } @@ -496,9 +467,6 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadIteratorStats other) { if (other.getCellsReturnedCount() != 0L) { setCellsReturnedCount(other.getCellsReturnedCount()); } - if (other.getDeletesSeenCount() != 0L) { - setDeletesSeenCount(other.getDeletesSeenCount()); - } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -549,12 +517,6 @@ public Builder mergeFrom( break; } // case 32 - case 40: - { - deletesSeenCount_ = input.readInt64(); - - break; - } // case 40 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -786,58 +748,6 @@ public Builder clearCellsReturnedCount() { return this; } - private long deletesSeenCount_; - /** - * - * - *
-     * The deletes seen as part of the request.
-     * 
- * - * int64 deletes_seen_count = 5; - * - * @return The deletesSeenCount. - */ - @java.lang.Override - public long getDeletesSeenCount() { - return deletesSeenCount_; - } - /** - * - * - *
-     * The deletes seen as part of the request.
-     * 
- * - * int64 deletes_seen_count = 5; - * - * @param value The deletesSeenCount to set. - * @return This builder for chaining. - */ - public Builder setDeletesSeenCount(long value) { - - deletesSeenCount_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The deletes seen as part of the request.
-     * 
- * - * int64 deletes_seen_count = 5; - * - * @return This builder for chaining. - */ - public Builder clearDeletesSeenCount() { - - deletesSeenCount_ = 0L; - onChanged(); - return this; - } - @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); @@ -849,24 +759,24 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadIteratorStats) + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadIterationStats) } - // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadIteratorStats) - private static final com.google.bigtable.v2.ReadIteratorStats DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadIterationStats) + private static final com.google.bigtable.v2.ReadIterationStats DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadIteratorStats(); + DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadIterationStats(); } - public static com.google.bigtable.v2.ReadIteratorStats getDefaultInstance() { + public static com.google.bigtable.v2.ReadIterationStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { @java.lang.Override - public ReadIteratorStats parsePartialFrom( + public ReadIterationStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -885,17 +795,17 @@ public ReadIteratorStats parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.bigtable.v2.ReadIteratorStats getDefaultInstanceForType() { + public com.google.bigtable.v2.ReadIterationStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIteratorStatsOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java similarity index 86% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIteratorStatsOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java index 3c3a9eb550..c9f7c6e842 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIteratorStatsOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java @@ -18,9 +18,9 @@ package com.google.bigtable.v2; -public interface ReadIteratorStatsOrBuilder +public interface ReadIterationStatsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadIteratorStats) + // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadIterationStats) com.google.protobuf.MessageOrBuilder { /** @@ -76,17 +76,4 @@ public interface ReadIteratorStatsOrBuilder * @return The cellsReturnedCount. */ long getCellsReturnedCount(); - - /** - * - * - *
-   * The deletes seen as part of the request.
-   * 
- * - * int64 deletes_seen_count = 5; - * - * @return The deletesSeenCount. - */ - long getDeletesSeenCount(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java index 1c947a6082..9bd7eef837 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java @@ -76,8 +76,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The unique name of the table to which the read/modify/write rules
-   * should be applied. Values are of the form
+   * Required. The unique name of the table to which the read/modify/write rules should be
+   * applied.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* @@ -103,8 +104,9 @@ public java.lang.String getTableName() { * * *
-   * Required. The unique name of the table to which the read/modify/write rules
-   * should be applied. Values are of the form
+   * Required. The unique name of the table to which the read/modify/write rules should be
+   * applied.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* @@ -184,8 +186,7 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { * * *
-   * Required. The key of the row to which the read/modify/write rules should be
-   * applied.
+   * Required. The key of the row to which the read/modify/write rules should be applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -203,9 +204,9 @@ public com.google.protobuf.ByteString getRowKey() { * * *
-   * Required. Rules specifying how the specified row's contents are to be
-   * transformed into writes. Entries are applied in order, meaning that earlier
-   * rules will affect the results of later ones.
+   * Required. Rules specifying how the specified row's contents are to be transformed
+   * into writes. Entries are applied in order, meaning that earlier rules will
+   * affect the results of later ones.
    * 
* * @@ -220,9 +221,9 @@ public java.util.List getRulesList() * * *
-   * Required. Rules specifying how the specified row's contents are to be
-   * transformed into writes. Entries are applied in order, meaning that earlier
-   * rules will affect the results of later ones.
+   * Required. Rules specifying how the specified row's contents are to be transformed
+   * into writes. Entries are applied in order, meaning that earlier rules will
+   * affect the results of later ones.
    * 
* * @@ -238,9 +239,9 @@ public java.util.List getRulesList() * * *
-   * Required. Rules specifying how the specified row's contents are to be
-   * transformed into writes. Entries are applied in order, meaning that earlier
-   * rules will affect the results of later ones.
+   * Required. Rules specifying how the specified row's contents are to be transformed
+   * into writes. Entries are applied in order, meaning that earlier rules will
+   * affect the results of later ones.
    * 
* * @@ -255,9 +256,9 @@ public int getRulesCount() { * * *
-   * Required. Rules specifying how the specified row's contents are to be
-   * transformed into writes. Entries are applied in order, meaning that earlier
-   * rules will affect the results of later ones.
+   * Required. Rules specifying how the specified row's contents are to be transformed
+   * into writes. Entries are applied in order, meaning that earlier rules will
+   * affect the results of later ones.
    * 
* * @@ -272,9 +273,9 @@ public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) { * * *
-   * Required. Rules specifying how the specified row's contents are to be
-   * transformed into writes. Entries are applied in order, meaning that earlier
-   * rules will affect the results of later ones.
+   * Required. Rules specifying how the specified row's contents are to be transformed
+   * into writes. Entries are applied in order, meaning that earlier rules will
+   * affect the results of later ones.
    * 
* * @@ -734,8 +735,9 @@ public Builder mergeFrom( * * *
-     * Required. The unique name of the table to which the read/modify/write rules
-     * should be applied. Values are of the form
+     * Required. The unique name of the table to which the read/modify/write rules should be
+     * applied.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* @@ -760,8 +762,9 @@ public java.lang.String getTableName() { * * *
-     * Required. The unique name of the table to which the read/modify/write rules
-     * should be applied. Values are of the form
+     * Required. The unique name of the table to which the read/modify/write rules should be
+     * applied.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* @@ -786,8 +789,9 @@ public com.google.protobuf.ByteString getTableNameBytes() { * * *
-     * Required. The unique name of the table to which the read/modify/write rules
-     * should be applied. Values are of the form
+     * Required. The unique name of the table to which the read/modify/write rules should be
+     * applied.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* @@ -811,8 +815,9 @@ public Builder setTableName(java.lang.String value) { * * *
-     * Required. The unique name of the table to which the read/modify/write rules
-     * should be applied. Values are of the form
+     * Required. The unique name of the table to which the read/modify/write rules should be
+     * applied.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* @@ -832,8 +837,9 @@ public Builder clearTableName() { * * *
-     * Required. The unique name of the table to which the read/modify/write rules
-     * should be applied. Values are of the form
+     * Required. The unique name of the table to which the read/modify/write rules should be
+     * applied.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* @@ -971,8 +977,7 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The key of the row to which the read/modify/write rules should be
-     * applied.
+     * Required. The key of the row to which the read/modify/write rules should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -987,8 +992,7 @@ public com.google.protobuf.ByteString getRowKey() { * * *
-     * Required. The key of the row to which the read/modify/write rules should be
-     * applied.
+     * Required. The key of the row to which the read/modify/write rules should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1009,8 +1013,7 @@ public Builder setRowKey(com.google.protobuf.ByteString value) { * * *
-     * Required. The key of the row to which the read/modify/write rules should be
-     * applied.
+     * Required. The key of the row to which the read/modify/write rules should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1044,9 +1047,9 @@ private void ensureRulesIsMutable() { * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1064,9 +1067,9 @@ public java.util.List getRulesList() * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1084,9 +1087,9 @@ public int getRulesCount() { * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1104,9 +1107,9 @@ public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) { * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1130,9 +1133,9 @@ public Builder setRules(int index, com.google.bigtable.v2.ReadModifyWriteRule va * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1154,9 +1157,9 @@ public Builder setRules( * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1180,9 +1183,9 @@ public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule value) { * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1206,9 +1209,9 @@ public Builder addRules(int index, com.google.bigtable.v2.ReadModifyWriteRule va * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1229,9 +1232,9 @@ public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule.Builder build * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1253,9 +1256,9 @@ public Builder addRules( * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1277,9 +1280,9 @@ public Builder addAllRules( * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1300,9 +1303,9 @@ public Builder clearRules() { * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1323,9 +1326,9 @@ public Builder removeRules(int index) { * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1339,9 +1342,9 @@ public com.google.bigtable.v2.ReadModifyWriteRule.Builder getRulesBuilder(int in * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1359,9 +1362,9 @@ public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1380,9 +1383,9 @@ public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1397,9 +1400,9 @@ public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder() { * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * @@ -1414,9 +1417,9 @@ public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder(int in * * *
-     * Required. Rules specifying how the specified row's contents are to be
-     * transformed into writes. Entries are applied in order, meaning that earlier
-     * rules will affect the results of later ones.
+     * Required. Rules specifying how the specified row's contents are to be transformed
+     * into writes. Entries are applied in order, meaning that earlier rules will
+     * affect the results of later ones.
      * 
* * diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java index 8ac9d12675..e8a39483e1 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java @@ -27,8 +27,9 @@ public interface ReadModifyWriteRowRequestOrBuilder * * *
-   * Required. The unique name of the table to which the read/modify/write rules
-   * should be applied. Values are of the form
+   * Required. The unique name of the table to which the read/modify/write rules should be
+   * applied.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* @@ -43,8 +44,9 @@ public interface ReadModifyWriteRowRequestOrBuilder * * *
-   * Required. The unique name of the table to which the read/modify/write rules
-   * should be applied. Values are of the form
+   * Required. The unique name of the table to which the read/modify/write rules should be
+   * applied.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* @@ -87,8 +89,7 @@ public interface ReadModifyWriteRowRequestOrBuilder * * *
-   * Required. The key of the row to which the read/modify/write rules should be
-   * applied.
+   * Required. The key of the row to which the read/modify/write rules should be applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -101,9 +102,9 @@ public interface ReadModifyWriteRowRequestOrBuilder * * *
-   * Required. Rules specifying how the specified row's contents are to be
-   * transformed into writes. Entries are applied in order, meaning that earlier
-   * rules will affect the results of later ones.
+   * Required. Rules specifying how the specified row's contents are to be transformed
+   * into writes. Entries are applied in order, meaning that earlier rules will
+   * affect the results of later ones.
    * 
* * @@ -115,9 +116,9 @@ public interface ReadModifyWriteRowRequestOrBuilder * * *
-   * Required. Rules specifying how the specified row's contents are to be
-   * transformed into writes. Entries are applied in order, meaning that earlier
-   * rules will affect the results of later ones.
+   * Required. Rules specifying how the specified row's contents are to be transformed
+   * into writes. Entries are applied in order, meaning that earlier rules will
+   * affect the results of later ones.
    * 
* * @@ -129,9 +130,9 @@ public interface ReadModifyWriteRowRequestOrBuilder * * *
-   * Required. Rules specifying how the specified row's contents are to be
-   * transformed into writes. Entries are applied in order, meaning that earlier
-   * rules will affect the results of later ones.
+   * Required. Rules specifying how the specified row's contents are to be transformed
+   * into writes. Entries are applied in order, meaning that earlier rules will
+   * affect the results of later ones.
    * 
* * @@ -143,9 +144,9 @@ public interface ReadModifyWriteRowRequestOrBuilder * * *
-   * Required. Rules specifying how the specified row's contents are to be
-   * transformed into writes. Entries are applied in order, meaning that earlier
-   * rules will affect the results of later ones.
+   * Required. Rules specifying how the specified row's contents are to be transformed
+   * into writes. Entries are applied in order, meaning that earlier rules will
+   * affect the results of later ones.
    * 
* * @@ -158,9 +159,9 @@ public interface ReadModifyWriteRowRequestOrBuilder * * *
-   * Required. Rules specifying how the specified row's contents are to be
-   * transformed into writes. Entries are applied in order, meaning that earlier
-   * rules will affect the results of later ones.
+   * Required. Rules specifying how the specified row's contents are to be transformed
+   * into writes. Entries are applied in order, meaning that earlier rules will
+   * affect the results of later ones.
    * 
* * diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java index 13a20f7c61..bb9349047c 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java @@ -101,16 +101,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum * REQUEST_STATS_NONE = 1; */ REQUEST_STATS_NONE(1), - /** - * - * - *
-     * Include stats related to the efficiency of the read.
-     * 
- * - * REQUEST_STATS_EFFICIENCY = 2; - */ - REQUEST_STATS_EFFICIENCY(2), /** * * @@ -119,9 +109,9 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum * applicable to this read. * * - * REQUEST_STATS_FULL = 3; + * REQUEST_STATS_FULL = 2; */ - REQUEST_STATS_FULL(3), + REQUEST_STATS_FULL(2), UNRECOGNIZED(-1), ; @@ -146,16 +136,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum * REQUEST_STATS_NONE = 1; */ public static final int REQUEST_STATS_NONE_VALUE = 1; - /** - * - * - *
-     * Include stats related to the efficiency of the read.
-     * 
- * - * REQUEST_STATS_EFFICIENCY = 2; - */ - public static final int REQUEST_STATS_EFFICIENCY_VALUE = 2; /** * * @@ -164,9 +144,9 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum * applicable to this read. * * - * REQUEST_STATS_FULL = 3; + * REQUEST_STATS_FULL = 2; */ - public static final int REQUEST_STATS_FULL_VALUE = 3; + public static final int REQUEST_STATS_FULL_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -197,8 +177,6 @@ public static RequestStatsView forNumber(int value) { case 1: return REQUEST_STATS_NONE; case 2: - return REQUEST_STATS_EFFICIENCY; - case 3: return REQUEST_STATS_FULL; default: return null; diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java index 9ef01837e5..b8f0d518de 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java @@ -82,6 +82,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value * needs to be sent in the response before the latency measurement including * that transmission is finalized. + * Note: This value includes the end-to-end latency of contacting nodes in + * the targeted cluster, e.g. measuring from when the first byte arrives at + * the frontend server, to when this value is sent back as the last value in + * the response, including any latency incurred by contacting nodes, waiting + * for results from nodes, and finally sending results from nodes back to the + * caller. * * * .google.protobuf.Duration frontend_server_latency = 1; @@ -105,6 +111,12 @@ public boolean hasFrontendServerLatency() { * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value * needs to be sent in the response before the latency measurement including * that transmission is finalized. + * Note: This value includes the end-to-end latency of contacting nodes in + * the targeted cluster, e.g. measuring from when the first byte arrives at + * the frontend server, to when this value is sent back as the last value in + * the response, including any latency incurred by contacting nodes, waiting + * for results from nodes, and finally sending results from nodes back to the + * caller. * * * .google.protobuf.Duration frontend_server_latency = 1; @@ -130,6 +142,12 @@ public com.google.protobuf.Duration getFrontendServerLatency() { * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value * needs to be sent in the response before the latency measurement including * that transmission is finalized. + * Note: This value includes the end-to-end latency of contacting nodes in + * the targeted cluster, e.g. measuring from when the first byte arrives at + * the frontend server, to when this value is sent back as the last value in + * the response, including any latency incurred by contacting nodes, waiting + * for results from nodes, and finally sending results from nodes back to the + * caller. * * * .google.protobuf.Duration frontend_server_latency = 1; @@ -503,6 +521,12 @@ public Builder mergeFrom( * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value * needs to be sent in the response before the latency measurement including * that transmission is finalized. + * Note: This value includes the end-to-end latency of contacting nodes in + * the targeted cluster, e.g. measuring from when the first byte arrives at + * the frontend server, to when this value is sent back as the last value in + * the response, including any latency incurred by contacting nodes, waiting + * for results from nodes, and finally sending results from nodes back to the + * caller. * * * .google.protobuf.Duration frontend_server_latency = 1; @@ -525,6 +549,12 @@ public boolean hasFrontendServerLatency() { * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value * needs to be sent in the response before the latency measurement including * that transmission is finalized. + * Note: This value includes the end-to-end latency of contacting nodes in + * the targeted cluster, e.g. measuring from when the first byte arrives at + * the frontend server, to when this value is sent back as the last value in + * the response, including any latency incurred by contacting nodes, waiting + * for results from nodes, and finally sending results from nodes back to the + * caller. * * * .google.protobuf.Duration frontend_server_latency = 1; @@ -553,6 +583,12 @@ public com.google.protobuf.Duration getFrontendServerLatency() { * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value * needs to be sent in the response before the latency measurement including * that transmission is finalized. + * Note: This value includes the end-to-end latency of contacting nodes in + * the targeted cluster, e.g. measuring from when the first byte arrives at + * the frontend server, to when this value is sent back as the last value in + * the response, including any latency incurred by contacting nodes, waiting + * for results from nodes, and finally sending results from nodes back to the + * caller. * * * .google.protobuf.Duration frontend_server_latency = 1; @@ -583,6 +619,12 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration value) { * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value * needs to be sent in the response before the latency measurement including * that transmission is finalized. + * Note: This value includes the end-to-end latency of contacting nodes in + * the targeted cluster, e.g. measuring from when the first byte arrives at + * the frontend server, to when this value is sent back as the last value in + * the response, including any latency incurred by contacting nodes, waiting + * for results from nodes, and finally sending results from nodes back to the + * caller. * * * .google.protobuf.Duration frontend_server_latency = 1; @@ -610,6 +652,12 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration.Builder bui * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value * needs to be sent in the response before the latency measurement including * that transmission is finalized. + * Note: This value includes the end-to-end latency of contacting nodes in + * the targeted cluster, e.g. measuring from when the first byte arrives at + * the frontend server, to when this value is sent back as the last value in + * the response, including any latency incurred by contacting nodes, waiting + * for results from nodes, and finally sending results from nodes back to the + * caller. * * * .google.protobuf.Duration frontend_server_latency = 1; @@ -644,6 +692,12 @@ public Builder mergeFrontendServerLatency(com.google.protobuf.Duration value) { * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value * needs to be sent in the response before the latency measurement including * that transmission is finalized. + * Note: This value includes the end-to-end latency of contacting nodes in + * the targeted cluster, e.g. measuring from when the first byte arrives at + * the frontend server, to when this value is sent back as the last value in + * the response, including any latency incurred by contacting nodes, waiting + * for results from nodes, and finally sending results from nodes back to the + * caller. * * * .google.protobuf.Duration frontend_server_latency = 1; @@ -672,6 +726,12 @@ public Builder clearFrontendServerLatency() { * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value * needs to be sent in the response before the latency measurement including * that transmission is finalized. + * Note: This value includes the end-to-end latency of contacting nodes in + * the targeted cluster, e.g. measuring from when the first byte arrives at + * the frontend server, to when this value is sent back as the last value in + * the response, including any latency incurred by contacting nodes, waiting + * for results from nodes, and finally sending results from nodes back to the + * caller. * * * .google.protobuf.Duration frontend_server_latency = 1; @@ -694,6 +754,12 @@ public com.google.protobuf.Duration.Builder getFrontendServerLatencyBuilder() { * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value * needs to be sent in the response before the latency measurement including * that transmission is finalized. + * Note: This value includes the end-to-end latency of contacting nodes in + * the targeted cluster, e.g. measuring from when the first byte arrives at + * the frontend server, to when this value is sent back as the last value in + * the response, including any latency incurred by contacting nodes, waiting + * for results from nodes, and finally sending results from nodes back to the + * caller. * * * .google.protobuf.Duration frontend_server_latency = 1; @@ -720,6 +786,12 @@ public com.google.protobuf.DurationOrBuilder getFrontendServerLatencyOrBuilder() * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value * needs to be sent in the response before the latency measurement including * that transmission is finalized. + * Note: This value includes the end-to-end latency of contacting nodes in + * the targeted cluster, e.g. measuring from when the first byte arrives at + * the frontend server, to when this value is sent back as the last value in + * the response, including any latency incurred by contacting nodes, waiting + * for results from nodes, and finally sending results from nodes back to the + * caller. * * * .google.protobuf.Duration frontend_server_latency = 1; diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java index aa71fa6b5d..956f3a7af7 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java @@ -36,6 +36,12 @@ public interface RequestLatencyStatsOrBuilder * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value * needs to be sent in the response before the latency measurement including * that transmission is finalized. + * Note: This value includes the end-to-end latency of contacting nodes in + * the targeted cluster, e.g. measuring from when the first byte arrives at + * the frontend server, to when this value is sent back as the last value in + * the response, including any latency incurred by contacting nodes, waiting + * for results from nodes, and finally sending results from nodes back to the + * caller. * * * .google.protobuf.Duration frontend_server_latency = 1; @@ -56,6 +62,12 @@ public interface RequestLatencyStatsOrBuilder * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value * needs to be sent in the response before the latency measurement including * that transmission is finalized. + * Note: This value includes the end-to-end latency of contacting nodes in + * the targeted cluster, e.g. measuring from when the first byte arrives at + * the frontend server, to when this value is sent back as the last value in + * the response, including any latency incurred by contacting nodes, waiting + * for results from nodes, and finally sending results from nodes back to the + * caller. * * * .google.protobuf.Duration frontend_server_latency = 1; @@ -76,6 +88,12 @@ public interface RequestLatencyStatsOrBuilder * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value * needs to be sent in the response before the latency measurement including * that transmission is finalized. + * Note: This value includes the end-to-end latency of contacting nodes in + * the targeted cluster, e.g. measuring from when the first byte arrives at + * the frontend server, to when this value is sent back as the last value in + * the response, including any latency incurred by contacting nodes, waiting + * for results from nodes, and finally sending results from nodes back to the + * caller. * * * .google.protobuf.Duration frontend_server_latency = 1; diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java index 87f38e32be..9f648b3022 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java @@ -68,19 +68,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.bigtable.v2.RequestStats.Builder.class); } - private int statsCase_ = 0; - private java.lang.Object stats_; + private int statsViewCase_ = 0; + private java.lang.Object statsView_; - public enum StatsCase + public enum StatsViewCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { - READ_EFFICIENCY_STATS(1), - ALL_READ_STATS(2), - STATS_NOT_SET(0); + FULL_READ_STATS_VIEW(1), + STATSVIEW_NOT_SET(0); private final int value; - private StatsCase(int value) { + private StatsViewCase(int value) { this.value = value; } /** @@ -89,18 +88,16 @@ private StatsCase(int value) { * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated - public static StatsCase valueOf(int value) { + public static StatsViewCase valueOf(int value) { return forNumber(value); } - public static StatsCase forNumber(int value) { + public static StatsViewCase forNumber(int value) { switch (value) { case 1: - return READ_EFFICIENCY_STATS; - case 2: - return ALL_READ_STATS; + return FULL_READ_STATS_VIEW; case 0: - return STATS_NOT_SET; + return STATSVIEW_NOT_SET; default: return null; } @@ -111,68 +108,11 @@ public int getNumber() { } }; - public StatsCase getStatsCase() { - return StatsCase.forNumber(statsCase_); + public StatsViewCase getStatsViewCase() { + return StatsViewCase.forNumber(statsViewCase_); } - public static final int READ_EFFICIENCY_STATS_FIELD_NUMBER = 1; - /** - * - * - *
-   * Available with the
-   * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-   * package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - * - * @return Whether the readEfficiencyStats field is set. - */ - @java.lang.Override - public boolean hasReadEfficiencyStats() { - return statsCase_ == 1; - } - /** - * - * - *
-   * Available with the
-   * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-   * package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - * - * @return The readEfficiencyStats. - */ - @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStats getReadEfficiencyStats() { - if (statsCase_ == 1) { - return (com.google.bigtable.v2.ReadEfficiencyStats) stats_; - } - return com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance(); - } - /** - * - * - *
-   * Available with the
-   * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-   * package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder getReadEfficiencyStatsOrBuilder() { - if (statsCase_ == 1) { - return (com.google.bigtable.v2.ReadEfficiencyStats) stats_; - } - return com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance(); - } - - public static final int ALL_READ_STATS_FIELD_NUMBER = 2; + public static final int FULL_READ_STATS_VIEW_FIELD_NUMBER = 1; /** * * @@ -181,13 +121,13 @@ public com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder getReadEfficiencyStat * view, see package google.bigtable.v2. * * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; * - * @return Whether the allReadStats field is set. + * @return Whether the fullReadStatsView field is set. */ @java.lang.Override - public boolean hasAllReadStats() { - return statsCase_ == 2; + public boolean hasFullReadStatsView() { + return statsViewCase_ == 1; } /** * @@ -197,16 +137,16 @@ public boolean hasAllReadStats() { * view, see package google.bigtable.v2. * * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; * - * @return The allReadStats. + * @return The fullReadStatsView. */ @java.lang.Override - public com.google.bigtable.v2.AllReadStats getAllReadStats() { - if (statsCase_ == 2) { - return (com.google.bigtable.v2.AllReadStats) stats_; + public com.google.bigtable.v2.FullReadStatsView getFullReadStatsView() { + if (statsViewCase_ == 1) { + return (com.google.bigtable.v2.FullReadStatsView) statsView_; } - return com.google.bigtable.v2.AllReadStats.getDefaultInstance(); + return com.google.bigtable.v2.FullReadStatsView.getDefaultInstance(); } /** * @@ -216,14 +156,14 @@ public com.google.bigtable.v2.AllReadStats getAllReadStats() { * view, see package google.bigtable.v2. * * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; */ @java.lang.Override - public com.google.bigtable.v2.AllReadStatsOrBuilder getAllReadStatsOrBuilder() { - if (statsCase_ == 2) { - return (com.google.bigtable.v2.AllReadStats) stats_; + public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrBuilder() { + if (statsViewCase_ == 1) { + return (com.google.bigtable.v2.FullReadStatsView) statsView_; } - return com.google.bigtable.v2.AllReadStats.getDefaultInstance(); + return com.google.bigtable.v2.FullReadStatsView.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @@ -240,11 +180,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (statsCase_ == 1) { - output.writeMessage(1, (com.google.bigtable.v2.ReadEfficiencyStats) stats_); - } - if (statsCase_ == 2) { - output.writeMessage(2, (com.google.bigtable.v2.AllReadStats) stats_); + if (statsViewCase_ == 1) { + output.writeMessage(1, (com.google.bigtable.v2.FullReadStatsView) statsView_); } getUnknownFields().writeTo(output); } @@ -255,15 +192,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (statsCase_ == 1) { + if (statsViewCase_ == 1) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.bigtable.v2.ReadEfficiencyStats) stats_); - } - if (statsCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.bigtable.v2.AllReadStats) stats_); + 1, (com.google.bigtable.v2.FullReadStatsView) statsView_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -280,13 +212,10 @@ public boolean equals(final java.lang.Object obj) { } com.google.bigtable.v2.RequestStats other = (com.google.bigtable.v2.RequestStats) obj; - if (!getStatsCase().equals(other.getStatsCase())) return false; - switch (statsCase_) { + if (!getStatsViewCase().equals(other.getStatsViewCase())) return false; + switch (statsViewCase_) { case 1: - if (!getReadEfficiencyStats().equals(other.getReadEfficiencyStats())) return false; - break; - case 2: - if (!getAllReadStats().equals(other.getAllReadStats())) return false; + if (!getFullReadStatsView().equals(other.getFullReadStatsView())) return false; break; case 0: default: @@ -302,14 +231,10 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - switch (statsCase_) { + switch (statsViewCase_) { case 1: - hash = (37 * hash) + READ_EFFICIENCY_STATS_FIELD_NUMBER; - hash = (53 * hash) + getReadEfficiencyStats().hashCode(); - break; - case 2: - hash = (37 * hash) + ALL_READ_STATS_FIELD_NUMBER; - hash = (53 * hash) + getAllReadStats().hashCode(); + hash = (37 * hash) + FULL_READ_STATS_VIEW_FIELD_NUMBER; + hash = (53 * hash) + getFullReadStatsView().hashCode(); break; case 0: default: @@ -454,14 +379,11 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @java.lang.Override public Builder clear() { super.clear(); - if (readEfficiencyStatsBuilder_ != null) { - readEfficiencyStatsBuilder_.clear(); + if (fullReadStatsViewBuilder_ != null) { + fullReadStatsViewBuilder_.clear(); } - if (allReadStatsBuilder_ != null) { - allReadStatsBuilder_.clear(); - } - statsCase_ = 0; - stats_ = null; + statsViewCase_ = 0; + statsView_ = null; return this; } @@ -488,21 +410,14 @@ public com.google.bigtable.v2.RequestStats build() { @java.lang.Override public com.google.bigtable.v2.RequestStats buildPartial() { com.google.bigtable.v2.RequestStats result = new com.google.bigtable.v2.RequestStats(this); - if (statsCase_ == 1) { - if (readEfficiencyStatsBuilder_ == null) { - result.stats_ = stats_; + if (statsViewCase_ == 1) { + if (fullReadStatsViewBuilder_ == null) { + result.statsView_ = statsView_; } else { - result.stats_ = readEfficiencyStatsBuilder_.build(); + result.statsView_ = fullReadStatsViewBuilder_.build(); } } - if (statsCase_ == 2) { - if (allReadStatsBuilder_ == null) { - result.stats_ = stats_; - } else { - result.stats_ = allReadStatsBuilder_.build(); - } - } - result.statsCase_ = statsCase_; + result.statsViewCase_ = statsViewCase_; onBuilt(); return result; } @@ -552,18 +467,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.bigtable.v2.RequestStats other) { if (other == com.google.bigtable.v2.RequestStats.getDefaultInstance()) return this; - switch (other.getStatsCase()) { - case READ_EFFICIENCY_STATS: + switch (other.getStatsViewCase()) { + case FULL_READ_STATS_VIEW: { - mergeReadEfficiencyStats(other.getReadEfficiencyStats()); + mergeFullReadStatsView(other.getFullReadStatsView()); break; } - case ALL_READ_STATS: - { - mergeAllReadStats(other.getAllReadStats()); - break; - } - case STATS_NOT_SET: + case STATSVIEW_NOT_SET: { break; } @@ -597,16 +507,10 @@ public Builder mergeFrom( case 10: { input.readMessage( - getReadEfficiencyStatsFieldBuilder().getBuilder(), extensionRegistry); - statsCase_ = 1; + getFullReadStatsViewFieldBuilder().getBuilder(), extensionRegistry); + statsViewCase_ = 1; break; } // case 10 - case 18: - { - input.readMessage(getAllReadStatsFieldBuilder().getBuilder(), extensionRegistry); - statsCase_ = 2; - break; - } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -624,253 +528,25 @@ public Builder mergeFrom( return this; } - private int statsCase_ = 0; - private java.lang.Object stats_; + private int statsViewCase_ = 0; + private java.lang.Object statsView_; - public StatsCase getStatsCase() { - return StatsCase.forNumber(statsCase_); + public StatsViewCase getStatsViewCase() { + return StatsViewCase.forNumber(statsViewCase_); } - public Builder clearStats() { - statsCase_ = 0; - stats_ = null; + public Builder clearStatsView() { + statsViewCase_ = 0; + statsView_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadEfficiencyStats, - com.google.bigtable.v2.ReadEfficiencyStats.Builder, - com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder> - readEfficiencyStatsBuilder_; - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - * - * @return Whether the readEfficiencyStats field is set. - */ - @java.lang.Override - public boolean hasReadEfficiencyStats() { - return statsCase_ == 1; - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - * - * @return The readEfficiencyStats. - */ - @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStats getReadEfficiencyStats() { - if (readEfficiencyStatsBuilder_ == null) { - if (statsCase_ == 1) { - return (com.google.bigtable.v2.ReadEfficiencyStats) stats_; - } - return com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance(); - } else { - if (statsCase_ == 1) { - return readEfficiencyStatsBuilder_.getMessage(); - } - return com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance(); - } - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - public Builder setReadEfficiencyStats(com.google.bigtable.v2.ReadEfficiencyStats value) { - if (readEfficiencyStatsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - stats_ = value; - onChanged(); - } else { - readEfficiencyStatsBuilder_.setMessage(value); - } - statsCase_ = 1; - return this; - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - public Builder setReadEfficiencyStats( - com.google.bigtable.v2.ReadEfficiencyStats.Builder builderForValue) { - if (readEfficiencyStatsBuilder_ == null) { - stats_ = builderForValue.build(); - onChanged(); - } else { - readEfficiencyStatsBuilder_.setMessage(builderForValue.build()); - } - statsCase_ = 1; - return this; - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - public Builder mergeReadEfficiencyStats(com.google.bigtable.v2.ReadEfficiencyStats value) { - if (readEfficiencyStatsBuilder_ == null) { - if (statsCase_ == 1 - && stats_ != com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance()) { - stats_ = - com.google.bigtable.v2.ReadEfficiencyStats.newBuilder( - (com.google.bigtable.v2.ReadEfficiencyStats) stats_) - .mergeFrom(value) - .buildPartial(); - } else { - stats_ = value; - } - onChanged(); - } else { - if (statsCase_ == 1) { - readEfficiencyStatsBuilder_.mergeFrom(value); - } else { - readEfficiencyStatsBuilder_.setMessage(value); - } - } - statsCase_ = 1; - return this; - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - public Builder clearReadEfficiencyStats() { - if (readEfficiencyStatsBuilder_ == null) { - if (statsCase_ == 1) { - statsCase_ = 0; - stats_ = null; - onChanged(); - } - } else { - if (statsCase_ == 1) { - statsCase_ = 0; - stats_ = null; - } - readEfficiencyStatsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - public com.google.bigtable.v2.ReadEfficiencyStats.Builder getReadEfficiencyStatsBuilder() { - return getReadEfficiencyStatsFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder getReadEfficiencyStatsOrBuilder() { - if ((statsCase_ == 1) && (readEfficiencyStatsBuilder_ != null)) { - return readEfficiencyStatsBuilder_.getMessageOrBuilder(); - } else { - if (statsCase_ == 1) { - return (com.google.bigtable.v2.ReadEfficiencyStats) stats_; - } - return com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance(); - } - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadEfficiencyStats, - com.google.bigtable.v2.ReadEfficiencyStats.Builder, - com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder> - getReadEfficiencyStatsFieldBuilder() { - if (readEfficiencyStatsBuilder_ == null) { - if (!(statsCase_ == 1)) { - stats_ = com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance(); - } - readEfficiencyStatsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadEfficiencyStats, - com.google.bigtable.v2.ReadEfficiencyStats.Builder, - com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder>( - (com.google.bigtable.v2.ReadEfficiencyStats) stats_, - getParentForChildren(), - isClean()); - stats_ = null; - } - statsCase_ = 1; - onChanged(); - ; - return readEfficiencyStatsBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.AllReadStats, - com.google.bigtable.v2.AllReadStats.Builder, - com.google.bigtable.v2.AllReadStatsOrBuilder> - allReadStatsBuilder_; + com.google.bigtable.v2.FullReadStatsView, + com.google.bigtable.v2.FullReadStatsView.Builder, + com.google.bigtable.v2.FullReadStatsViewOrBuilder> + fullReadStatsViewBuilder_; /** * * @@ -879,13 +555,13 @@ public com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder getReadEfficiencyStat * view, see package google.bigtable.v2. * * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; * - * @return Whether the allReadStats field is set. + * @return Whether the fullReadStatsView field is set. */ @java.lang.Override - public boolean hasAllReadStats() { - return statsCase_ == 2; + public boolean hasFullReadStatsView() { + return statsViewCase_ == 1; } /** * @@ -895,22 +571,22 @@ public boolean hasAllReadStats() { * view, see package google.bigtable.v2. * * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; * - * @return The allReadStats. + * @return The fullReadStatsView. */ @java.lang.Override - public com.google.bigtable.v2.AllReadStats getAllReadStats() { - if (allReadStatsBuilder_ == null) { - if (statsCase_ == 2) { - return (com.google.bigtable.v2.AllReadStats) stats_; + public com.google.bigtable.v2.FullReadStatsView getFullReadStatsView() { + if (fullReadStatsViewBuilder_ == null) { + if (statsViewCase_ == 1) { + return (com.google.bigtable.v2.FullReadStatsView) statsView_; } - return com.google.bigtable.v2.AllReadStats.getDefaultInstance(); + return com.google.bigtable.v2.FullReadStatsView.getDefaultInstance(); } else { - if (statsCase_ == 2) { - return allReadStatsBuilder_.getMessage(); + if (statsViewCase_ == 1) { + return fullReadStatsViewBuilder_.getMessage(); } - return com.google.bigtable.v2.AllReadStats.getDefaultInstance(); + return com.google.bigtable.v2.FullReadStatsView.getDefaultInstance(); } } /** @@ -921,19 +597,19 @@ public com.google.bigtable.v2.AllReadStats getAllReadStats() { * view, see package google.bigtable.v2. * * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; */ - public Builder setAllReadStats(com.google.bigtable.v2.AllReadStats value) { - if (allReadStatsBuilder_ == null) { + public Builder setFullReadStatsView(com.google.bigtable.v2.FullReadStatsView value) { + if (fullReadStatsViewBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - stats_ = value; + statsView_ = value; onChanged(); } else { - allReadStatsBuilder_.setMessage(value); + fullReadStatsViewBuilder_.setMessage(value); } - statsCase_ = 2; + statsViewCase_ = 1; return this; } /** @@ -944,16 +620,17 @@ public Builder setAllReadStats(com.google.bigtable.v2.AllReadStats value) { * view, see package google.bigtable.v2. * * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; */ - public Builder setAllReadStats(com.google.bigtable.v2.AllReadStats.Builder builderForValue) { - if (allReadStatsBuilder_ == null) { - stats_ = builderForValue.build(); + public Builder setFullReadStatsView( + com.google.bigtable.v2.FullReadStatsView.Builder builderForValue) { + if (fullReadStatsViewBuilder_ == null) { + statsView_ = builderForValue.build(); onChanged(); } else { - allReadStatsBuilder_.setMessage(builderForValue.build()); + fullReadStatsViewBuilder_.setMessage(builderForValue.build()); } - statsCase_ = 2; + statsViewCase_ = 1; return this; } /** @@ -964,28 +641,29 @@ public Builder setAllReadStats(com.google.bigtable.v2.AllReadStats.Builder build * view, see package google.bigtable.v2. * * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; */ - public Builder mergeAllReadStats(com.google.bigtable.v2.AllReadStats value) { - if (allReadStatsBuilder_ == null) { - if (statsCase_ == 2 && stats_ != com.google.bigtable.v2.AllReadStats.getDefaultInstance()) { - stats_ = - com.google.bigtable.v2.AllReadStats.newBuilder( - (com.google.bigtable.v2.AllReadStats) stats_) + public Builder mergeFullReadStatsView(com.google.bigtable.v2.FullReadStatsView value) { + if (fullReadStatsViewBuilder_ == null) { + if (statsViewCase_ == 1 + && statsView_ != com.google.bigtable.v2.FullReadStatsView.getDefaultInstance()) { + statsView_ = + com.google.bigtable.v2.FullReadStatsView.newBuilder( + (com.google.bigtable.v2.FullReadStatsView) statsView_) .mergeFrom(value) .buildPartial(); } else { - stats_ = value; + statsView_ = value; } onChanged(); } else { - if (statsCase_ == 2) { - allReadStatsBuilder_.mergeFrom(value); + if (statsViewCase_ == 1) { + fullReadStatsViewBuilder_.mergeFrom(value); } else { - allReadStatsBuilder_.setMessage(value); + fullReadStatsViewBuilder_.setMessage(value); } } - statsCase_ = 2; + statsViewCase_ = 1; return this; } /** @@ -996,21 +674,21 @@ public Builder mergeAllReadStats(com.google.bigtable.v2.AllReadStats value) { * view, see package google.bigtable.v2. * * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; */ - public Builder clearAllReadStats() { - if (allReadStatsBuilder_ == null) { - if (statsCase_ == 2) { - statsCase_ = 0; - stats_ = null; + public Builder clearFullReadStatsView() { + if (fullReadStatsViewBuilder_ == null) { + if (statsViewCase_ == 1) { + statsViewCase_ = 0; + statsView_ = null; onChanged(); } } else { - if (statsCase_ == 2) { - statsCase_ = 0; - stats_ = null; + if (statsViewCase_ == 1) { + statsViewCase_ = 0; + statsView_ = null; } - allReadStatsBuilder_.clear(); + fullReadStatsViewBuilder_.clear(); } return this; } @@ -1022,10 +700,10 @@ public Builder clearAllReadStats() { * view, see package google.bigtable.v2. * * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; */ - public com.google.bigtable.v2.AllReadStats.Builder getAllReadStatsBuilder() { - return getAllReadStatsFieldBuilder().getBuilder(); + public com.google.bigtable.v2.FullReadStatsView.Builder getFullReadStatsViewBuilder() { + return getFullReadStatsViewFieldBuilder().getBuilder(); } /** * @@ -1035,17 +713,17 @@ public com.google.bigtable.v2.AllReadStats.Builder getAllReadStatsBuilder() { * view, see package google.bigtable.v2. * * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; */ @java.lang.Override - public com.google.bigtable.v2.AllReadStatsOrBuilder getAllReadStatsOrBuilder() { - if ((statsCase_ == 2) && (allReadStatsBuilder_ != null)) { - return allReadStatsBuilder_.getMessageOrBuilder(); + public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrBuilder() { + if ((statsViewCase_ == 1) && (fullReadStatsViewBuilder_ != null)) { + return fullReadStatsViewBuilder_.getMessageOrBuilder(); } else { - if (statsCase_ == 2) { - return (com.google.bigtable.v2.AllReadStats) stats_; + if (statsViewCase_ == 1) { + return (com.google.bigtable.v2.FullReadStatsView) statsView_; } - return com.google.bigtable.v2.AllReadStats.getDefaultInstance(); + return com.google.bigtable.v2.FullReadStatsView.getDefaultInstance(); } } /** @@ -1056,29 +734,31 @@ public com.google.bigtable.v2.AllReadStatsOrBuilder getAllReadStatsOrBuilder() { * view, see package google.bigtable.v2. * * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.AllReadStats, - com.google.bigtable.v2.AllReadStats.Builder, - com.google.bigtable.v2.AllReadStatsOrBuilder> - getAllReadStatsFieldBuilder() { - if (allReadStatsBuilder_ == null) { - if (!(statsCase_ == 2)) { - stats_ = com.google.bigtable.v2.AllReadStats.getDefaultInstance(); + com.google.bigtable.v2.FullReadStatsView, + com.google.bigtable.v2.FullReadStatsView.Builder, + com.google.bigtable.v2.FullReadStatsViewOrBuilder> + getFullReadStatsViewFieldBuilder() { + if (fullReadStatsViewBuilder_ == null) { + if (!(statsViewCase_ == 1)) { + statsView_ = com.google.bigtable.v2.FullReadStatsView.getDefaultInstance(); } - allReadStatsBuilder_ = + fullReadStatsViewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.AllReadStats, - com.google.bigtable.v2.AllReadStats.Builder, - com.google.bigtable.v2.AllReadStatsOrBuilder>( - (com.google.bigtable.v2.AllReadStats) stats_, getParentForChildren(), isClean()); - stats_ = null; + com.google.bigtable.v2.FullReadStatsView, + com.google.bigtable.v2.FullReadStatsView.Builder, + com.google.bigtable.v2.FullReadStatsViewOrBuilder>( + (com.google.bigtable.v2.FullReadStatsView) statsView_, + getParentForChildren(), + isClean()); + statsView_ = null; } - statsCase_ = 2; + statsViewCase_ = 1; onChanged(); ; - return allReadStatsBuilder_; + return fullReadStatsViewBuilder_; } @java.lang.Override diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java index 163c6d8123..00b8f2cad4 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java @@ -23,47 +23,6 @@ public interface RequestStatsOrBuilder // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RequestStats) com.google.protobuf.MessageOrBuilder { - /** - * - * - *
-   * Available with the
-   * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-   * package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - * - * @return Whether the readEfficiencyStats field is set. - */ - boolean hasReadEfficiencyStats(); - /** - * - * - *
-   * Available with the
-   * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-   * package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - * - * @return The readEfficiencyStats. - */ - com.google.bigtable.v2.ReadEfficiencyStats getReadEfficiencyStats(); - /** - * - * - *
-   * Available with the
-   * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-   * package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder getReadEfficiencyStatsOrBuilder(); - /** * * @@ -72,11 +31,11 @@ public interface RequestStatsOrBuilder * view, see package google.bigtable.v2. * * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; * - * @return Whether the allReadStats field is set. + * @return Whether the fullReadStatsView field is set. */ - boolean hasAllReadStats(); + boolean hasFullReadStatsView(); /** * * @@ -85,11 +44,11 @@ public interface RequestStatsOrBuilder * view, see package google.bigtable.v2. * * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; * - * @return The allReadStats. + * @return The fullReadStatsView. */ - com.google.bigtable.v2.AllReadStats getAllReadStats(); + com.google.bigtable.v2.FullReadStatsView getFullReadStatsView(); /** * * @@ -98,9 +57,9 @@ public interface RequestStatsOrBuilder * view, see package google.bigtable.v2. * * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; */ - com.google.bigtable.v2.AllReadStatsOrBuilder getAllReadStatsOrBuilder(); + com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrBuilder(); - public com.google.bigtable.v2.RequestStats.StatsCase getStatsCase(); + public com.google.bigtable.v2.RequestStats.StatsViewCase getStatsViewCase(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java index 6e1cf9c583..512d606b8b 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java @@ -28,21 +28,17 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r } static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadIteratorStats_descriptor; + internal_static_google_bigtable_v2_ReadIterationStats_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadIteratorStats_fieldAccessorTable; + internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_v2_RequestLatencyStats_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadEfficiencyStats_descriptor; + internal_static_google_bigtable_v2_FullReadStatsView_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadEfficiencyStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_AllReadStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_AllReadStats_fieldAccessorTable; + internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_v2_RequestStats_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -58,30 +54,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n&google/bigtable/v2/request_stats.proto" + "\022\022google.bigtable.v2\032\036google/protobuf/du" - + "ration.proto\"\235\001\n\021ReadIteratorStats\022\027\n\017ro" - + "ws_seen_count\030\001 \001(\003\022\033\n\023rows_returned_cou" - + "nt\030\002 \001(\003\022\030\n\020cells_seen_count\030\003 \001(\003\022\034\n\024ce" - + "lls_returned_count\030\004 \001(\003\022\032\n\022deletes_seen" - + "_count\030\005 \001(\003\"Q\n\023RequestLatencyStats\022:\n\027f" - + "rontend_server_latency\030\001 \001(\0132\031.google.pr" - + "otobuf.Duration\"\241\001\n\023ReadEfficiencyStats\022" - + "B\n\023read_iterator_stats\030\001 \001(\0132%.google.bi" - + "gtable.v2.ReadIteratorStats\022F\n\025request_l" - + "atency_stats\030\002 \001(\0132\'.google.bigtable.v2." - + "RequestLatencyStats\"\232\001\n\014AllReadStats\022B\n\023" - + "read_iterator_stats\030\001 \001(\0132%.google.bigta" - + "ble.v2.ReadIteratorStats\022F\n\025request_late" - + "ncy_stats\030\002 \001(\0132\'.google.bigtable.v2.Req" - + "uestLatencyStats\"\235\001\n\014RequestStats\022H\n\025rea" - + "d_efficiency_stats\030\001 \001(\0132\'.google.bigtab" - + "le.v2.ReadEfficiencyStatsH\000\022:\n\016all_read_" - + "stats\030\002 \001(\0132 .google.bigtable.v2.AllRead" - + "StatsH\000B\007\n\005statsB\275\001\n\026com.google.bigtable" - + ".v2B\021RequestStatsProtoP\001Z:google.golang." - + "org/genproto/googleapis/bigtable/v2;bigt" - + "able\252\002\030Google.Cloud.Bigtable.V2\312\002\030Google" - + "\\Cloud\\Bigtable\\V2\352\002\033Google::Cloud::Bigt" - + "able::V2b\006proto3" + + "ration.proto\"\202\001\n\022ReadIterationStats\022\027\n\017r" + + "ows_seen_count\030\001 \001(\003\022\033\n\023rows_returned_co" + + "unt\030\002 \001(\003\022\030\n\020cells_seen_count\030\003 \001(\003\022\034\n\024c" + + "ells_returned_count\030\004 \001(\003\"Q\n\023RequestLate" + + "ncyStats\022:\n\027frontend_server_latency\030\001 \001(" + + "\0132\031.google.protobuf.Duration\"\241\001\n\021FullRea" + + "dStatsView\022D\n\024read_iteration_stats\030\001 \001(\013" + + "2&.google.bigtable.v2.ReadIterationStats" + + "\022F\n\025request_latency_stats\030\002 \001(\0132\'.google" + + ".bigtable.v2.RequestLatencyStats\"c\n\014Requ" + + "estStats\022E\n\024full_read_stats_view\030\001 \001(\0132%" + + ".google.bigtable.v2.FullReadStatsViewH\000B" + + "\014\n\nstats_viewB\275\001\n\026com.google.bigtable.v2" + + "B\021RequestStatsProtoP\001Z:google.golang.org" + + "/genproto/googleapis/bigtable/v2;bigtabl" + + "e\252\002\030Google.Cloud.Bigtable.V2\312\002\030Google\\Cl" + + "oud\\Bigtable\\V2\352\002\033Google::Cloud::Bigtabl" + + "e::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -89,17 +79,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.DurationProto.getDescriptor(), }); - internal_static_google_bigtable_v2_ReadIteratorStats_descriptor = + internal_static_google_bigtable_v2_ReadIterationStats_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_ReadIteratorStats_fieldAccessorTable = + internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadIteratorStats_descriptor, + internal_static_google_bigtable_v2_ReadIterationStats_descriptor, new java.lang.String[] { - "RowsSeenCount", - "RowsReturnedCount", - "CellsSeenCount", - "CellsReturnedCount", - "DeletesSeenCount", + "RowsSeenCount", "RowsReturnedCount", "CellsSeenCount", "CellsReturnedCount", }); internal_static_google_bigtable_v2_RequestLatencyStats_descriptor = getDescriptor().getMessageTypes().get(1); @@ -109,29 +95,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "FrontendServerLatency", }); - internal_static_google_bigtable_v2_ReadEfficiencyStats_descriptor = + internal_static_google_bigtable_v2_FullReadStatsView_descriptor = getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_v2_ReadEfficiencyStats_fieldAccessorTable = + internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadEfficiencyStats_descriptor, + internal_static_google_bigtable_v2_FullReadStatsView_descriptor, new java.lang.String[] { - "ReadIteratorStats", "RequestLatencyStats", - }); - internal_static_google_bigtable_v2_AllReadStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_v2_AllReadStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_AllReadStats_descriptor, - new java.lang.String[] { - "ReadIteratorStats", "RequestLatencyStats", + "ReadIterationStats", "RequestLatencyStats", }); internal_static_google_bigtable_v2_RequestStats_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageTypes().get(3); internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_bigtable_v2_RequestStats_descriptor, new java.lang.String[] { - "ReadEfficiencyStats", "AllReadStats", "Stats", + "FullReadStatsView", "StatsView", }); com.google.protobuf.DurationProto.getDescriptor(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto index 090c60eb71..955a05611e 100644 --- a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto +++ b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto @@ -68,7 +68,9 @@ service Bigtable { field: "table_name" path_template: "{table_name=projects/*/instances/*/tables/*}" } - routing_parameters { field: "app_profile_id" } + routing_parameters { + field: "app_profile_id" + } }; option (google.api.method_signature) = "table_name"; option (google.api.method_signature) = "table_name,app_profile_id"; @@ -78,8 +80,7 @@ service Bigtable { // delimit contiguous sections of the table of approximately equal size, // which can be used to break up the data for distributed tasks like // mapreduces. - rpc SampleRowKeys(SampleRowKeysRequest) - returns (stream SampleRowKeysResponse) { + rpc SampleRowKeys(SampleRowKeysRequest) returns (stream SampleRowKeysResponse) { option (google.api.http) = { get: "/v2/{table_name=projects/*/instances/*/tables/*}:sampleRowKeys" }; @@ -88,7 +89,9 @@ service Bigtable { field: "table_name" path_template: "{table_name=projects/*/instances/*/tables/*}" } - routing_parameters { field: "app_profile_id" } + routing_parameters { + field: "app_profile_id" + } }; option (google.api.method_signature) = "table_name"; option (google.api.method_signature) = "table_name,app_profile_id"; @@ -106,11 +109,12 @@ service Bigtable { field: "table_name" path_template: "{table_name=projects/*/instances/*/tables/*}" } - routing_parameters { field: "app_profile_id" } + routing_parameters { + field: "app_profile_id" + } }; option (google.api.method_signature) = "table_name,row_key,mutations"; - option (google.api.method_signature) = - "table_name,row_key,mutations,app_profile_id"; + option (google.api.method_signature) = "table_name,row_key,mutations,app_profile_id"; } // Mutates multiple rows in a batch. Each individual row is mutated @@ -126,15 +130,16 @@ service Bigtable { field: "table_name" path_template: "{table_name=projects/*/instances/*/tables/*}" } - routing_parameters { field: "app_profile_id" } + routing_parameters { + field: "app_profile_id" + } }; option (google.api.method_signature) = "table_name,entries"; option (google.api.method_signature) = "table_name,entries,app_profile_id"; } // Mutates a row atomically based on the output of a predicate Reader filter. - rpc CheckAndMutateRow(CheckAndMutateRowRequest) - returns (CheckAndMutateRowResponse) { + rpc CheckAndMutateRow(CheckAndMutateRowRequest) returns (CheckAndMutateRowResponse) { option (google.api.http) = { post: "/v2/{table_name=projects/*/instances/*/tables/*}:checkAndMutateRow" body: "*" @@ -144,12 +149,12 @@ service Bigtable { field: "table_name" path_template: "{table_name=projects/*/instances/*/tables/*}" } - routing_parameters { field: "app_profile_id" } + routing_parameters { + field: "app_profile_id" + } }; - option (google.api.method_signature) = - "table_name,row_key,predicate_filter,true_mutations,false_mutations"; - option (google.api.method_signature) = - "table_name,row_key,predicate_filter,true_mutations,false_mutations,app_profile_id"; + option (google.api.method_signature) = "table_name,row_key,predicate_filter,true_mutations,false_mutations"; + option (google.api.method_signature) = "table_name,row_key,predicate_filter,true_mutations,false_mutations,app_profile_id"; } // Warm up associated instance metadata for this connection. @@ -164,7 +169,9 @@ service Bigtable { field: "name" path_template: "{name=projects/*/instances/*}" } - routing_parameters { field: "app_profile_id" } + routing_parameters { + field: "app_profile_id" + } }; option (google.api.method_signature) = "name"; option (google.api.method_signature) = "name,app_profile_id"; @@ -175,8 +182,7 @@ service Bigtable { // entry based on pre-defined read/modify/write rules. The new value for the // timestamp is the greater of the existing timestamp or the current server // time. The method returns the new contents of all modified cells. - rpc ReadModifyWriteRow(ReadModifyWriteRowRequest) - returns (ReadModifyWriteRowResponse) { + rpc ReadModifyWriteRow(ReadModifyWriteRowRequest) returns (ReadModifyWriteRowResponse) { option (google.api.http) = { post: "/v2/{table_name=projects/*/instances/*/tables/*}:readModifyWriteRow" body: "*" @@ -186,11 +192,12 @@ service Bigtable { field: "table_name" path_template: "{table_name=projects/*/instances/*/tables/*}" } - routing_parameters { field: "app_profile_id" } + routing_parameters { + field: "app_profile_id" + } }; option (google.api.method_signature) = "table_name,row_key,rules"; - option (google.api.method_signature) = - "table_name,row_key,rules,app_profile_id"; + option (google.api.method_signature) = "table_name,row_key,rules,app_profile_id"; } } @@ -208,12 +215,9 @@ message ReadRowsRequest { // RequestStats embedded message unset in the response. REQUEST_STATS_NONE = 1; - // Include stats related to the efficiency of the read. - REQUEST_STATS_EFFICIENCY = 2; - // Include the full set of available RequestStats in the response, // applicable to this read. - REQUEST_STATS_FULL = 3; + REQUEST_STATS_FULL = 2; } // Required. The unique name of the table from which to read. @@ -384,8 +388,8 @@ message SampleRowKeysResponse { // Request message for Bigtable.MutateRow. message MutateRowRequest { - // Required. The unique name of the table to which the mutation should be - // applied. Values are of the form + // Required. The unique name of the table to which the mutation should be applied. + // Values are of the form // `projects//instances//tables/`. string table_name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -401,14 +405,16 @@ message MutateRowRequest { // Required. The key of the row to which the mutation should be applied. bytes row_key = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. Changes to be atomically applied to the specified row. Entries - // are applied in order, meaning that earlier mutations can be masked by later - // ones. Must contain at least one entry and at most 100000. + // Required. Changes to be atomically applied to the specified row. Entries are applied + // in order, meaning that earlier mutations can be masked by later ones. + // Must contain at least one entry and at most 100000. repeated Mutation mutations = 3 [(google.api.field_behavior) = REQUIRED]; } // Response message for Bigtable.MutateRow. -message MutateRowResponse {} +message MutateRowResponse { + +} // Request message for BigtableService.MutateRows. message MutateRowsRequest { @@ -417,14 +423,14 @@ message MutateRowsRequest { // The key of the row to which the `mutations` should be applied. bytes row_key = 1; - // Required. Changes to be atomically applied to the specified row. - // Mutations are applied in order, meaning that earlier mutations can be - // masked by later ones. You must specify at least one mutation. + // Required. Changes to be atomically applied to the specified row. Mutations are + // applied in order, meaning that earlier mutations can be masked by + // later ones. + // You must specify at least one mutation. repeated Mutation mutations = 2 [(google.api.field_behavior) = REQUIRED]; } - // Required. The unique name of the table to which the mutations should be - // applied. + // Required. The unique name of the table to which the mutations should be applied. string table_name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -465,8 +471,9 @@ message MutateRowsResponse { // Request message for Bigtable.CheckAndMutateRow. message CheckAndMutateRowRequest { - // Required. The unique name of the table to which the conditional mutation - // should be applied. Values are of the form + // Required. The unique name of the table to which the conditional mutation should be + // applied. + // Values are of the form // `projects//instances//tables/
`. string table_name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -479,8 +486,7 @@ message CheckAndMutateRowRequest { // "default" application profile will be used. string app_profile_id = 7; - // Required. The key of the row to which the conditional mutation should be - // applied. + // Required. The key of the row to which the conditional mutation should be applied. bytes row_key = 2 [(google.api.field_behavior) = REQUIRED]; // The filter to be applied to the contents of the specified row. Depending @@ -513,9 +519,8 @@ message CheckAndMutateRowResponse { // Request message for client connection keep-alive and warming. message PingAndWarmRequest { - // Required. The unique name of the instance to check permissions for as well - // as respond. Values are of the form - // `projects//instances/`. + // Required. The unique name of the instance to check permissions for as well as + // respond. Values are of the form `projects//instances/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -533,8 +538,9 @@ message PingAndWarmResponse {} // Request message for Bigtable.ReadModifyWriteRow. message ReadModifyWriteRowRequest { - // Required. The unique name of the table to which the read/modify/write rules - // should be applied. Values are of the form + // Required. The unique name of the table to which the read/modify/write rules should be + // applied. + // Values are of the form // `projects//instances//tables/
`. string table_name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -547,15 +553,13 @@ message ReadModifyWriteRowRequest { // "default" application profile will be used. string app_profile_id = 4; - // Required. The key of the row to which the read/modify/write rules should be - // applied. + // Required. The key of the row to which the read/modify/write rules should be applied. bytes row_key = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. Rules specifying how the specified row's contents are to be - // transformed into writes. Entries are applied in order, meaning that earlier - // rules will affect the results of later ones. - repeated ReadModifyWriteRule rules = 3 - [(google.api.field_behavior) = REQUIRED]; + // Required. Rules specifying how the specified row's contents are to be transformed + // into writes. Entries are applied in order, meaning that earlier rules will + // affect the results of later ones. + repeated ReadModifyWriteRule rules = 3 [(google.api.field_behavior) = REQUIRED]; } // Response message for Bigtable.ReadModifyWriteRow. diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto index 101603504d..f650abe09c 100644 --- a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto +++ b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto @@ -27,13 +27,23 @@ option php_namespace = "Google\\Cloud\\Bigtable\\V2"; option ruby_package = "Google::Cloud::Bigtable::V2"; // -// Messages related to RequestStats, part of the Slow Queries feature, that can +// Messages related to RequestStats, part of the Query Stats feature, that can // help understand the performance of requests. - -// ReadIteratorStats captures information about the iteration of rows or cells +// +// The layout of requests below is as follows: +// * RequestStats serves as the top-level container for statistics and +// measures related to Bigtable requests. This common object is returned as +// part of methods in the Data API. +// * RequestStats contains multiple *views* of related data, chosen by an +// option in the source Data API method. The view that is returned is +// designed to have all submessages (and their submessages, and so on) +// filled-in, to provide a comprehensive selection of statistics and +// measures related to the requested view. + +// ReadIterationStats captures information about the iteration of rows or cells // over the course of a read, e.g. how many results were scanned in a read // operation versus the results returned. -message ReadIteratorStats { +message ReadIterationStats { // The rows seen (scanned) as part of the request. This includes the count of // rows returned, as captured below. int64 rows_seen_count = 1; @@ -47,9 +57,6 @@ message ReadIteratorStats { // The cells returned as part of the request. int64 cells_returned_count = 4; - - // The deletes seen as part of the request. - int64 deletes_seen_count = 5; } // RequestLatencyStats provides a measurement of the latency of the request as @@ -66,29 +73,23 @@ message RequestLatencyStats { // (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value // needs to be sent in the response before the latency measurement including // that transmission is finalized. + // + // Note: This value includes the end-to-end latency of contacting nodes in + // the targeted cluster, e.g. measuring from when the first byte arrives at + // the frontend server, to when this value is sent back as the last value in + // the response, including any latency incurred by contacting nodes, waiting + // for results from nodes, and finally sending results from nodes back to the + // caller. google.protobuf.Duration frontend_server_latency = 1; } -// ReadEfficiencyStats captures information about the efficiency of a read. -message ReadEfficiencyStats { +// FullReadStatsView captures all known information about a read. +message FullReadStatsView { // Iteration stats describe how efficient the read is, e.g. comparing // rows seen vs. rows returned or cells seen vs cells returned can provide an // indication of read efficiency (the higher the ratio of seen to retuned the // better). - ReadIteratorStats read_iterator_stats = 1; - - // Request latency stats describe the time taken to complete a request, from - // the server side. - RequestLatencyStats request_latency_stats = 2; -} - -// AllReadStats captures all known information about a read. -message AllReadStats { - // Iteration stats describe how efficient the read is, e.g. comparing - // rows seen vs. rows returned or cells seen vs cells returned can provide an - // indication of read efficiency (the higher the ratio of seen to retuned the - // better). - ReadIteratorStats read_iterator_stats = 1; + ReadIterationStats read_iteration_stats = 1; // Request latency stats describe the time taken to complete a request, from // the server side. @@ -104,14 +105,9 @@ message RequestStats { // based on the requested view. // // See the messages above for additional context. - oneof stats { - // Available with the - // ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see - // package google.bigtable.v2. - ReadEfficiencyStats read_efficiency_stats = 1; - + oneof stats_view { // Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL // view, see package google.bigtable.v2. - AllReadStats all_read_stats = 2; + FullReadStatsView full_read_stats_view = 1; } }