dropRowRangeCallable() {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final GenerateConsistencyTokenResponse generateConsistencyToken(TableName name) {
-
GenerateConsistencyTokenRequest request =
GenerateConsistencyTokenRequest.newBuilder()
.setName(name == null ? null : name.toString())
@@ -983,7 +972,6 @@ public final GenerateConsistencyTokenResponse generateConsistencyToken(TableName
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final GenerateConsistencyTokenResponse generateConsistencyToken(String name) {
-
GenerateConsistencyTokenRequest request =
GenerateConsistencyTokenRequest.newBuilder().setName(name).build();
return generateConsistencyToken(request);
@@ -1061,7 +1049,6 @@ public final GenerateConsistencyTokenResponse generateConsistencyToken(
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CheckConsistencyResponse checkConsistency(TableName name, String consistencyToken) {
-
CheckConsistencyRequest request =
CheckConsistencyRequest.newBuilder()
.setName(name == null ? null : name.toString())
@@ -1091,7 +1078,6 @@ public final CheckConsistencyResponse checkConsistency(TableName name, String co
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CheckConsistencyResponse checkConsistency(String name, String consistencyToken) {
-
CheckConsistencyRequest request =
CheckConsistencyRequest.newBuilder()
.setName(name)
@@ -1154,8 +1140,8 @@ public final CheckConsistencyResponse checkConsistency(CheckConsistencyRequest r
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Gets the access control policy for an instance resource. Returns an empty policy if an table
- * exists but does not have a policy set.
+ * Gets the access control policy for a table resource. Returns an empty policy if an table exists
+ * but does not have a policy set.
*
* Sample code:
*
@@ -1171,15 +1157,14 @@ public final CheckConsistencyResponse checkConsistency(CheckConsistencyRequest r
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy getIamPolicy(String resource) {
-
GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build();
return getIamPolicy(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Gets the access control policy for an instance resource. Returns an empty policy if an table
- * exists but does not have a policy set.
+ * Gets the access control policy for a table resource. Returns an empty policy if an table exists
+ * but does not have a policy set.
*
*
Sample code:
*
@@ -1202,8 +1187,8 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Gets the access control policy for an instance resource. Returns an empty policy if an table
- * exists but does not have a policy set.
+ * Gets the access control policy for a table resource. Returns an empty policy if an table exists
+ * but does not have a policy set.
*
*
Sample code:
*
@@ -1245,7 +1230,6 @@ public final UnaryCallable getIamPolicyCallable() {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy setIamPolicy(String resource, Policy policy) {
-
SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build();
return setIamPolicy(request);
@@ -1323,7 +1307,6 @@ public final UnaryCallable setIamPolicyCallable() {
*/
public final TestIamPermissionsResponse testIamPermissions(
String resource, List permissions) {
-
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
.setResource(resource)
@@ -1418,7 +1401,6 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture snapshotTableAsync(
TableName name, ClusterName cluster, SnapshotName snapshotId, String description) {
-
SnapshotTableRequest request =
SnapshotTableRequest.newBuilder()
.setName(name == null ? null : name.toString())
@@ -1465,7 +1447,6 @@ public final OperationFuture snapshotTableAsync
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture snapshotTableAsync(
String name, String cluster, String snapshotId, String description) {
-
SnapshotTableRequest request =
SnapshotTableRequest.newBuilder()
.setName(name)
@@ -1607,7 +1588,6 @@ public final UnaryCallable snapshotTableCallabl
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Snapshot getSnapshot(SnapshotName name) {
-
GetSnapshotRequest request =
GetSnapshotRequest.newBuilder().setName(name == null ? null : name.toString()).build();
return getSnapshot(request);
@@ -1636,7 +1616,6 @@ public final Snapshot getSnapshot(SnapshotName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Snapshot getSnapshot(String name) {
-
GetSnapshotRequest request = GetSnapshotRequest.newBuilder().setName(name).build();
return getSnapshot(request);
}
@@ -1880,7 +1859,6 @@ public final UnaryCallable listSnap
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteSnapshot(SnapshotName name) {
-
DeleteSnapshotRequest request =
DeleteSnapshotRequest.newBuilder().setName(name == null ? null : name.toString()).build();
deleteSnapshot(request);
@@ -1909,7 +1887,6 @@ public final void deleteSnapshot(SnapshotName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteSnapshot(String name) {
-
DeleteSnapshotRequest request = DeleteSnapshotRequest.newBuilder().setName(name).build();
deleteSnapshot(request);
}
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java
index 0b978e4091..ab3be4e585 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java
index 264af82f3c..0b33e15500 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java
index c4a3a678ac..b5da1849bc 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java
index 8273ee6e37..5ed533e8b5 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java
index f19fb2e1a4..7025ba0046 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java
index 76ffdc7bde..25b6608e2c 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java
index 2ce6633ec0..d4dea7195c 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java
index a1ed5e5dc8..7e285ca662 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java
index 8db6904640..0dea5a9f8a 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataClient.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataClient.java
index e2027545fa..3b287594fc 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataClient.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataClient.java
@@ -26,6 +26,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.bigtable.data.v2.models.BulkMutation;
import com.google.cloud.bigtable.data.v2.models.ConditionalRowMutation;
+import com.google.cloud.bigtable.data.v2.models.Filters;
import com.google.cloud.bigtable.data.v2.models.Filters.Filter;
import com.google.cloud.bigtable.data.v2.models.KeyOffset;
import com.google.cloud.bigtable.data.v2.models.Query;
@@ -936,6 +937,85 @@ public Batcher newBulkMutationBatcher(@Nonnull String ta
return stub.newMutateRowsBatcher(tableId);
}
+ /**
+ * Reads rows for given tableId in a batch. If the row does not exist, the value will be null.
+ * This operation should be called with in a single thread.
+ *
+ * Sample Code:
+ *
+ *
{@code
+ * try (BigtableDataClient bigtableDataClient = BigtableDataClient.create("[PROJECT]", "[INSTANCE]")) {
+ * List> rows = new ArrayList<>();
+ *
+ * try (Batcher batcher = bigtableDataClient.newBulkReadRowsBatcher("[TABLE]")) {
+ * for (String someValue : someCollection) {
+ * ApiFuture rowFuture =
+ * batcher.add(ByteString.copyFromUtf8("[ROW KEY]"));
+ * rows.add(rowFuture);
+ * }
+ *
+ * // [Optional] Sends collected elements for batching asynchronously.
+ * batcher.sendOutstanding();
+ *
+ * // [Optional] Invokes sendOutstanding() and awaits until all pending entries are resolved.
+ * batcher.flush();
+ * }
+ * // batcher.close() invokes `flush()` which will in turn invoke `sendOutstanding()` with await for
+ * pending batches until its resolved.
+ *
+ * List actualRows = ApiFutures.allAsList(rows).get();
+ * }
+ * }
+ */
+ public Batcher newBulkReadRowsBatcher(String tableId) {
+ return newBulkReadRowsBatcher(tableId, null);
+ }
+
+ /**
+ * Reads rows for given tableId and filter criteria in a batch. If the row does not exist, the
+ * value will be null. This operation should be called with in a single thread.
+ *
+ * Sample Code:
+ *
+ *
{@code
+ * try (BigtableDataClient bigtableDataClient = BigtableDataClient.create("[PROJECT]", "[INSTANCE]")) {
+ *
+ * // Build the filter expression
+ * Filter filter = FILTERS.chain()
+ * .filter(FILTERS.key().regex("prefix.*"))
+ * .filter(FILTERS.limit().cellsPerRow(10));
+ *
+ * List> rows = new ArrayList<>();
+ *
+ * try (Batcher batcher = bigtableDataClient.newBulkReadRowsBatcher("[TABLE]", filter)) {
+ * for (String someValue : someCollection) {
+ * ApiFuture rowFuture =
+ * batcher.add(ByteString.copyFromUtf8("[ROW KEY]"));
+ * rows.add(rowFuture);
+ * }
+ *
+ * // [Optional] Sends collected elements for batching asynchronously.
+ * batcher.sendOutstanding();
+ *
+ * // [Optional] Invokes sendOutstanding() and awaits until all pending entries are resolved.
+ * batcher.flush();
+ * }
+ * // batcher.close() invokes `flush()` which will in turn invoke `sendOutstanding()` with await for
+ * pending batches until its resolved.
+ *
+ * List actualRows = ApiFutures.allAsList(rows).get();
+ * }
+ * }
+ */
+ public Batcher newBulkReadRowsBatcher(
+ String tableId, @Nullable Filters.Filter filter) {
+ Query query = Query.create(tableId);
+ if (filter != null) {
+ query = query.filter(filter);
+ }
+ return stub.newBulkReadRowsBatcher(query);
+ }
+
/**
* Convenience method to mutate multiple rows in a batch. Each individual row is mutated
* atomically as in MutateRow, but the entire batch is not executed atomically. This method
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java
index 2cbb6d6f37..765fa01205 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java
@@ -17,6 +17,7 @@
import com.google.api.core.InternalApi;
import com.google.bigtable.v2.ReadRowsRequest;
+import com.google.bigtable.v2.RowFilter;
import com.google.bigtable.v2.RowRange;
import com.google.bigtable.v2.RowSet;
import com.google.cloud.bigtable.data.v2.internal.ByteStringComparator;
@@ -42,6 +43,9 @@
public final class Query implements Serializable {
private static final long serialVersionUID = -316972783499434755L;
+ // bigtable can server the largest filter size of 20MB.
+ private static final int MAX_FILTER_SIZE = 20 * 1024 * 1024;
+
private final String tableId;
private transient ReadRowsRequest.Builder builder = ReadRowsRequest.newBuilder();
@@ -162,7 +166,13 @@ public Query range(ByteStringRange range) {
* filters, please use {@link Filters#interleave()} or {@link Filters#chain()}.
*/
public Query filter(Filters.Filter filter) {
- builder.setFilter(filter.toProto());
+ Preconditions.checkNotNull(filter, "filter can't be null");
+
+ RowFilter rowFilter = filter.toProto();
+ Preconditions.checkArgument(
+ rowFilter.getSerializedSize() < MAX_FILTER_SIZE, "filter size can't be more than 20MB");
+
+ builder.setFilter(rowFilter);
return this;
}
@@ -274,6 +284,12 @@ public static Query fromProto(@Nonnull ReadRowsRequest request) {
return query;
}
+ public Query clone() {
+ Query query = Query.create(tableId);
+ query.builder = this.builder.clone();
+ return query;
+ }
+
private static ByteString wrapKey(String key) {
if (key == null) {
return null;
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableBulkReadRowsCallSettings.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableBulkReadRowsCallSettings.java
new file mode 100644
index 0000000000..f4852765db
--- /dev/null
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableBulkReadRowsCallSettings.java
@@ -0,0 +1,150 @@
+/*
+ * 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.
+ */
+package com.google.cloud.bigtable.data.v2.stub;
+
+import com.google.api.core.BetaApi;
+import com.google.api.gax.batching.BatchingCallSettings;
+import com.google.api.gax.batching.BatchingDescriptor;
+import com.google.api.gax.batching.BatchingSettings;
+import com.google.api.gax.retrying.RetrySettings;
+import com.google.api.gax.rpc.StatusCode;
+import com.google.api.gax.rpc.UnaryCallSettings;
+import com.google.cloud.bigtable.data.v2.models.Query;
+import com.google.cloud.bigtable.data.v2.models.Row;
+import com.google.common.base.Preconditions;
+import com.google.protobuf.ByteString;
+import java.util.List;
+import java.util.Set;
+import javax.annotation.Nonnull;
+
+/**
+ * This settings holds the batching thresholds as well as retry configuration for bulk read API.
+ *
+ * Sample configuration:
+ *
+ *
{@code
+ * BigtableBulkReadRowsCallSettings defaultBulkReadCallSettings =
+ * bigtableDataCallSettings.getStubSettings().bulkReadRowsSettings();
+ *
+ * BigtableBulkReadRowsCallSettings customBulkReadCallSettings = defaultBulkReadCallSettings
+ * .toBuilder()
+ * .setBatchingSettings(
+ * defaultBulkReadCallSettings.getBatchingSettings().toBuilder()
+ * .setDelayThreshold(Duration.ofSeconds(10))
+ * .build())
+ * .setRetryableCodes(Code.DEADLINE_EXCEEDED)
+ * .build();
+ * }
+ *
+ * @see BatchingSettings for batching thresholds explantion.
+ * @see RetrySettings for retry configuration.
+ */
+@BetaApi("This surface is likely to change as the batching surface evolves.")
+public class BigtableBulkReadRowsCallSettings extends UnaryCallSettings> {
+
+ private final BatchingCallSettings> batchingCallSettings;
+
+ private BigtableBulkReadRowsCallSettings(Builder builder) {
+ super(builder);
+ batchingCallSettings =
+ BatchingCallSettings.newBuilder(builder.batchingDescriptor)
+ .setBatchingSettings(builder.batchingSettings)
+ .setRetrySettings(builder.getRetrySettings())
+ .setRetryableCodes(builder.getRetryableCodes())
+ .build();
+ }
+
+ /** Returns batching settings which contains multiple batch threshold levels. */
+ public BatchingSettings getBatchingSettings() {
+ return batchingCallSettings.getBatchingSettings();
+ }
+
+ /** Returns an adapter that packs and unpacks batching elements. */
+ BatchingDescriptor> getBatchingDescriptor() {
+ return batchingCallSettings.getBatchingDescriptor();
+ }
+
+ static BigtableBulkReadRowsCallSettings.Builder newBuilder(
+ BatchingDescriptor> batchingDescriptor) {
+ return new Builder(batchingDescriptor);
+ }
+
+ /**
+ * Get a builder with the same values as this object. See the class documentation of {@link
+ * BigtableBatchingCallSettings} for a sample settings configuration.
+ */
+ @Override
+ public final BigtableBulkReadRowsCallSettings.Builder toBuilder() {
+ return new BigtableBulkReadRowsCallSettings.Builder(this);
+ }
+
+ public static class Builder extends UnaryCallSettings.Builder> {
+
+ private BatchingDescriptor> batchingDescriptor;
+ private BatchingSettings batchingSettings;
+
+ private Builder(
+ @Nonnull BatchingDescriptor> batchingDescriptor) {
+ this.batchingDescriptor =
+ Preconditions.checkNotNull(batchingDescriptor, "batching descriptor can't be null");
+ }
+
+ private Builder(@Nonnull BigtableBulkReadRowsCallSettings settings) {
+ super(settings);
+ this.batchingDescriptor = settings.getBatchingDescriptor();
+ this.batchingSettings = settings.getBatchingSettings();
+ }
+
+ /** Sets the batching settings with various thresholds. */
+ public Builder setBatchingSettings(@Nonnull BatchingSettings batchingSettings) {
+ Preconditions.checkNotNull(batchingSettings, "batching settings can't be null");
+ this.batchingSettings = batchingSettings;
+ return this;
+ }
+
+ /** Returns the {@link BatchingSettings}. */
+ public BatchingSettings getBatchingSettings() {
+ return batchingSettings;
+ }
+
+ /** Sets the rpc failure {@link StatusCode.Code code}, for which retries should be performed. */
+ @Override
+ public Builder setRetryableCodes(StatusCode.Code... codes) {
+ super.setRetryableCodes(codes);
+ return this;
+ }
+
+ /** Sets the rpc failure {@link StatusCode.Code code}, for which retries should be performed. */
+ @Override
+ public Builder setRetryableCodes(Set retryableCodes) {
+ super.setRetryableCodes(retryableCodes);
+ return this;
+ }
+
+ /** Sets the {@link RetrySettings} values for each retry attempts. */
+ @Override
+ public Builder setRetrySettings(@Nonnull RetrySettings retrySettings) {
+ super.setRetrySettings(retrySettings);
+ return this;
+ }
+
+ /** Builds the {@link BigtableBulkReadRowsCallSettings} object with provided configuration. */
+ @Override
+ public BigtableBulkReadRowsCallSettings build() {
+ return new BigtableBulkReadRowsCallSettings(this);
+ }
+ }
+}
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java
index dbbb012306..08253c5775 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java
index 79315fe8ca..a34bbd6734 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStub.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStub.java
index 301bd3eff4..db76aca681 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStub.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStub.java
@@ -52,12 +52,15 @@
import com.google.cloud.bigtable.data.v2.stub.mutaterows.MutateRowsBatchingDescriptor;
import com.google.cloud.bigtable.data.v2.stub.mutaterows.MutateRowsRetryingCallable;
import com.google.cloud.bigtable.data.v2.stub.readrows.FilterMarkerRowsCallable;
+import com.google.cloud.bigtable.data.v2.stub.readrows.ReadRowsBatchingDescriptor;
import com.google.cloud.bigtable.data.v2.stub.readrows.ReadRowsResumptionStrategy;
import com.google.cloud.bigtable.data.v2.stub.readrows.ReadRowsRetryCompletedCallable;
import com.google.cloud.bigtable.data.v2.stub.readrows.ReadRowsUserCallable;
import com.google.cloud.bigtable.data.v2.stub.readrows.RowMergingCallable;
import com.google.cloud.bigtable.gaxx.retrying.ApiResultRetryAlgorithm;
import com.google.cloud.bigtable.gaxx.tracing.WrappedTracerFactory;
+import com.google.common.base.Preconditions;
+import com.google.protobuf.ByteString;
import io.opencensus.stats.Stats;
import io.opencensus.stats.StatsRecorder;
import io.opencensus.tags.Tagger;
@@ -381,9 +384,8 @@ private UnaryCallable createBulkMutateRowsCallable() {
}
/**
- * Creates a {@link com.google.api.gax.batching.BatcherImpl} to handle {@link
- * MutateRowsRequest.Entry} mutations. This is meant to be used for automatic batching with flow
- * control.
+ * Creates a {@link BatcherImpl} to handle {@link MutateRowsRequest.Entry} mutations. This is
+ * meant to be used for automatic batching with flow control.
*
*
* - Uses {@link MutateRowsBatchingDescriptor} to spool the {@link RowMutationEntry} mutations
@@ -409,6 +411,31 @@ public Batcher newMutateRowsBatcher(@Nonnull String tabl
clientContext.getExecutor());
}
+ /**
+ * Creates a {@link BatcherImpl} to handle {@link Query#rowKey(String)}. This is meant for bulk
+ * read with flow control.
+ *
+ *
+ * - Uses {@link ReadRowsBatchingDescriptor} to merge the row-keys and send them out as {@link
+ * Query}.
+ *
- Uses {@link #readRowsCallable()} to perform RPC.
+ *
- Batching thresholds can be configured from {@link
+ * EnhancedBigtableStubSettings#bulkReadRowsSettings()}.
+ *
- Schedule retries for retryable exceptions until there are no more entries or there are no
+ * more retry attempts left.
+ *
- Split the responses using {@link ReadRowsBatchingDescriptor}.
+ *
+ */
+ public Batcher newBulkReadRowsBatcher(@Nonnull Query query) {
+ Preconditions.checkNotNull(query, "query cannot be null");
+ return new BatcherImpl<>(
+ settings.bulkReadRowsSettings().getBatchingDescriptor(),
+ readRowsCallable().all(),
+ query,
+ settings.bulkReadRowsSettings().getBatchingSettings(),
+ clientContext.getExecutor());
+ }
+
/**
* Internal helper to create the base MutateRows callable chain. The chain is responsible for
* retrying individual entry in case of error.
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java
index 4fc544061f..682b1fe757 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java
@@ -16,6 +16,7 @@
package com.google.cloud.bigtable.data.v2.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.batching.BatchingCallSettings;
import com.google.api.gax.batching.BatchingSettings;
import com.google.api.gax.batching.FlowControlSettings;
import com.google.api.gax.batching.FlowController.LimitExceededBehavior;
@@ -38,6 +39,7 @@
import com.google.cloud.bigtable.data.v2.models.Row;
import com.google.cloud.bigtable.data.v2.models.RowMutation;
import com.google.cloud.bigtable.data.v2.stub.mutaterows.MutateRowsBatchingDescriptor;
+import com.google.cloud.bigtable.data.v2.stub.readrows.ReadRowsBatchingDescriptor;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
@@ -158,6 +160,7 @@ public class EnhancedBigtableStubSettings extends StubSettings> sampleRowKeysSettings;
private final UnaryCallSettings mutateRowSettings;
private final BigtableBatchingCallSettings bulkMutateRowsSettings;
+ private final BigtableBulkReadRowsCallSettings bulkReadRowsSettings;
private final UnaryCallSettings checkAndMutateRowSettings;
private final UnaryCallSettings readModifyWriteRowSettings;
@@ -170,14 +173,20 @@ private EnhancedBigtableStubSettings(Builder builder) {
+ " This is currently an experimental feature and should not be used in production.");
}
- // Since point reads & streaming reads share the same base callable that converts grpc errors
- // into ApiExceptions, they must have the same retry codes.
+ // Since point reads, streaming reads, bulk reads share the same base callable that converts
+ // grpc errors into ApiExceptions, they must have the same retry codes.
Preconditions.checkState(
builder
.readRowSettings
.getRetryableCodes()
.equals(builder.readRowsSettings.getRetryableCodes()),
"Single ReadRow retry codes must match ReadRows retry codes");
+ Preconditions.checkState(
+ builder
+ .bulkReadRowsSettings
+ .getRetryableCodes()
+ .equals(builder.readRowsSettings.getRetryableCodes()),
+ "Bulk ReadRow retry codes must match ReadRows retry codes");
projectId = builder.projectId;
instanceId = builder.instanceId;
@@ -190,6 +199,7 @@ private EnhancedBigtableStubSettings(Builder builder) {
sampleRowKeysSettings = builder.sampleRowKeysSettings.build();
mutateRowSettings = builder.mutateRowSettings.build();
bulkMutateRowsSettings = builder.bulkMutateRowsSettings.build();
+ bulkReadRowsSettings = builder.bulkReadRowsSettings.build();
checkAndMutateRowSettings = builder.checkAndMutateRowSettings.build();
readModifyWriteRowSettings = builder.readModifyWriteRowSettings.build();
}
@@ -223,11 +233,15 @@ public boolean isRefreshingChannel() {
/** Returns a builder for the default ChannelProvider for this service. */
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
return BigtableStubSettings.defaultGrpcTransportProviderBuilder()
- // TODO: tune channels
- .setChannelsPerCpu(2)
+ .setPoolSize(getDefaultChannelPoolSize())
.setMaxInboundMessageSize(MAX_MESSAGE_SIZE);
}
+ static int getDefaultChannelPoolSize() {
+ // TODO: tune channels
+ return 2 * Runtime.getRuntime().availableProcessors();
+ }
+
@SuppressWarnings("WeakerAccess")
public static TransportChannelProvider defaultTransportChannelProvider() {
return defaultGrpcTransportProviderBuilder().build();
@@ -347,8 +361,8 @@ public UnaryCallSettings mutateRowSettings() {
* Default retry and timeout settings:
*
*
- * - Retry {@link com.google.api.gax.batching.BatchingCallSettings.Builder#setRetryableCodes
- * error codes} are: {@link Code#DEADLINE_EXCEEDED} and {@link Code#UNAVAILABLE}.
+ *
- Retry {@link BatchingCallSettings.Builder#setRetryableCodes error codes} are: {@link
+ * Code#DEADLINE_EXCEEDED} and {@link Code#UNAVAILABLE}.
*
- RetryDelay between failed attempts {@link RetrySettings.Builder#setInitialRetryDelay
* starts} at 10ms and {@link RetrySettings.Builder#setRetryDelayMultiplier increases
* exponentially} by a factor of 2 until a {@link RetrySettings.Builder#setMaxRetryDelay
@@ -384,6 +398,47 @@ public BigtableBatchingCallSettings bulkMutateRowsSettings() {
return bulkMutateRowsSettings;
}
+ /**
+ * Returns the call settings used for bulk read rows.
+ *
+ *
Default retry and timeout settings:
+ *
+ *
+ * - Retry {@link BatchingCallSettings.Builder#setRetryableCodes error codes} are: {@link
+ * Code#DEADLINE_EXCEEDED}, {@link Code#UNAVAILABLE} and {@link Code#ABORTED}.
+ *
- RetryDelay between failed attempts {@link RetrySettings.Builder#setInitialRetryDelay
+ * starts} at 10ms and {@link RetrySettings.Builder#setRetryDelayMultiplier increases
+ * exponentially} by a factor of 2 until a {@link RetrySettings.Builder#setMaxRetryDelay
+ * maximum of} 1 minute.
+ *
- The default timeout for {@link RetrySettings.Builder#setMaxRpcTimeout each attempt} is 5
+ * minute and the timeout for the {@link RetrySettings.Builder#setTotalTimeout entire
+ * operation} across all of the attempts is 10 mins.
+ *
+ *
+ * On breach of certain triggers, the operation initiates processing of accumulated request for
+ * which the default settings are:
+ *
+ *
+ * - When the {@link BatchingSettings.Builder#setElementCountThreshold request count} reaches
+ * 100.
+ *
- When accumulated {@link BatchingSettings.Builder#setRequestByteThreshold request size}
+ * reaches to 400KB.
+ *
- When an {@link BatchingSettings.Builder#setDelayThreshold interval of} 1 second passes
+ * after batching initialization or last processed batch.
+ *
+ *
+ * When the pending {@link FlowControlSettings.Builder#setMaxOutstandingElementCount request
+ * count} reaches a default of 1000 outstanding row keys per channel then this operation will by
+ * default be {@link FlowControlSettings.Builder#setLimitExceededBehavior blocked} until some of
+ * the pending batch are resolved.
+ *
+ * @see RetrySettings for more explanation.
+ * @see BatchingSettings for batch related configuration explanation.
+ */
+ public BigtableBulkReadRowsCallSettings bulkReadRowsSettings() {
+ return bulkReadRowsSettings;
+ }
+
/**
* Returns the object with the settings used for calls to CheckAndMutateRow.
*
@@ -430,6 +485,7 @@ public static class Builder extends StubSettings.Builder> sampleRowKeysSettings;
private final UnaryCallSettings.Builder mutateRowSettings;
private final BigtableBatchingCallSettings.Builder bulkMutateRowsSettings;
+ private final BigtableBulkReadRowsCallSettings.Builder bulkReadRowsSettings;
private final UnaryCallSettings.Builder
checkAndMutateRowSettings;
private final UnaryCallSettings.Builder readModifyWriteRowSettings;
@@ -515,6 +571,28 @@ private Builder() {
.build())
.build());
+ long maxBulkReadElementPerBatch = 100L;
+ long maxBulkReadRequestSizePerBatch = 400L * 1024L;
+ // Enables bulkRead to support 10 outstanding batches per channel
+ long maxBulkReadOutstandingElementCount =
+ 10L * maxBulkReadElementPerBatch * getDefaultChannelPoolSize();
+
+ bulkReadRowsSettings =
+ BigtableBulkReadRowsCallSettings.newBuilder(new ReadRowsBatchingDescriptor())
+ .setRetryableCodes(readRowsSettings.getRetryableCodes())
+ .setRetrySettings(IDEMPOTENT_RETRY_SETTINGS)
+ .setBatchingSettings(
+ BatchingSettings.newBuilder()
+ .setElementCountThreshold(maxBulkReadElementPerBatch)
+ .setRequestByteThreshold(maxBulkReadRequestSizePerBatch)
+ .setDelayThreshold(Duration.ofSeconds(1))
+ .setFlowControlSettings(
+ FlowControlSettings.newBuilder()
+ .setLimitExceededBehavior(LimitExceededBehavior.Block)
+ .setMaxOutstandingElementCount(maxBulkReadOutstandingElementCount)
+ .build())
+ .build());
+
checkAndMutateRowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
copyRetrySettings(baseDefaults.checkAndMutateRowSettings(), checkAndMutateRowSettings);
@@ -535,6 +613,7 @@ private Builder(EnhancedBigtableStubSettings settings) {
sampleRowKeysSettings = settings.sampleRowKeysSettings.toBuilder();
mutateRowSettings = settings.mutateRowSettings.toBuilder();
bulkMutateRowsSettings = settings.bulkMutateRowsSettings.toBuilder();
+ bulkReadRowsSettings = settings.bulkReadRowsSettings.toBuilder();
checkAndMutateRowSettings = settings.checkAndMutateRowSettings.toBuilder();
readModifyWriteRowSettings = settings.readModifyWriteRowSettings.toBuilder();
}
@@ -673,6 +752,11 @@ public BigtableBatchingCallSettings.Builder bulkMutateRowsSettings() {
return bulkMutateRowsSettings;
}
+ /** Returns the builder for the settings used for calls to MutateRows. */
+ public BigtableBulkReadRowsCallSettings.Builder bulkReadRowsSettings() {
+ return bulkReadRowsSettings;
+ }
+
/** Returns the builder for the settings used for calls to CheckAndMutateRow. */
public UnaryCallSettings.Builder checkAndMutateRowSettings() {
return checkAndMutateRowSettings;
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java
index b0230acd2d..34f06aed99 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java
index a98cba8386..155be0595a 100644
--- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsBatchingDescriptor.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsBatchingDescriptor.java
new file mode 100644
index 0000000000..36a9dec1e7
--- /dev/null
+++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsBatchingDescriptor.java
@@ -0,0 +1,86 @@
+/*
+ * 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.
+ */
+package com.google.cloud.bigtable.data.v2.stub.readrows;
+
+import com.google.api.core.InternalApi;
+import com.google.api.gax.batching.BatchEntry;
+import com.google.api.gax.batching.BatchingDescriptor;
+import com.google.api.gax.batching.BatchingRequestBuilder;
+import com.google.cloud.bigtable.data.v2.models.Query;
+import com.google.cloud.bigtable.data.v2.models.Row;
+import com.google.protobuf.ByteString;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * Implementation for {@link BatchingDescriptor} to split batch response or exception into
+ * individual row request.
+ *
+ * This class is considered an internal implementation detail and not meant to be used by
+ * applications directly.
+ */
+@InternalApi("For internal use only")
+public class ReadRowsBatchingDescriptor
+ implements BatchingDescriptor> {
+
+ @Override
+ public BatchingRequestBuilder newRequestBuilder(Query query) {
+ return new BulkReadRequestBuilder(query);
+ }
+
+ @Override
+ public void splitResponse(List rowsResponse, List> entries) {
+ Map rowKeys = new HashMap<>();
+ for (Row row : rowsResponse) {
+ rowKeys.put(row.getKey(), row);
+ }
+
+ for (BatchEntry entry : entries) {
+ entry.getResultFuture().set(rowKeys.get(entry.getElement()));
+ }
+ }
+
+ @Override
+ public void splitException(Throwable throwable, List> entries) {
+ for (BatchEntry resultEntry : entries) {
+ resultEntry.getResultFuture().setException(throwable);
+ }
+ }
+
+ @Override
+ public long countBytes(ByteString bytes) {
+ return bytes.size();
+ }
+
+ static class BulkReadRequestBuilder implements BatchingRequestBuilder {
+ private final Query query;
+
+ BulkReadRequestBuilder(Query query) {
+ this.query = query.clone();
+ }
+
+ @Override
+ public void add(ByteString rowKey) {
+ query.rowKey(rowKey);
+ }
+
+ @Override
+ public Query build() {
+ return query;
+ }
+ }
+}
diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java
index 3f3a76d73e..4fef0996e4 100644
--- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java
+++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -70,6 +70,7 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import java.util.UUID;
import java.util.concurrent.ExecutionException;
import org.junit.After;
import org.junit.AfterClass;
@@ -92,7 +93,7 @@ public static void startStaticServer() {
mockBigtableTableAdmin = new MockBigtableTableAdmin();
serviceHelper =
new MockServiceHelper(
- "in-process-1",
+ UUID.randomUUID().toString(),
Arrays.asList(mockBigtableInstanceAdmin, mockBigtableTableAdmin));
serviceHelper.start();
}
diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java
index 69678c62ea..fed7b196cc 100644
--- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java
+++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -65,6 +65,7 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
+import java.util.UUID;
import java.util.concurrent.ExecutionException;
import org.junit.After;
import org.junit.AfterClass;
@@ -87,7 +88,7 @@ public static void startStaticServer() {
mockBigtableTableAdmin = new MockBigtableTableAdmin();
serviceHelper =
new MockServiceHelper(
- "in-process-1",
+ UUID.randomUUID().toString(),
Arrays.asList(mockBigtableInstanceAdmin, mockBigtableTableAdmin));
serviceHelper.start();
}
diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java
index 66f3c7f34b..360d6c0d56 100644
--- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java
+++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java
index e77d47e4d6..92f4b541e1 100644
--- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java
+++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java
index 28c79e21a7..a4c1c228f6 100644
--- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java
+++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java
index 8cb96a7b43..ac542e05c7 100644
--- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java
+++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BigtableDataClientTest.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BigtableDataClientTest.java
index 1754f8f678..b83800c565 100644
--- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BigtableDataClientTest.java
+++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BigtableDataClientTest.java
@@ -65,7 +65,8 @@ public class BigtableDataClientTest {
@Mock private UnaryCallable mockCheckAndMutateRowCallable;
@Mock private UnaryCallable mockReadModifyWriteRowCallable;
@Mock private UnaryCallable mockBulkMutateRowsCallable;
- @Mock private Batcher mockBulkMutationbatcher;
+ @Mock private Batcher mockBulkMutationBatcher;
+ @Mock private Batcher mockBulkReadRowsBatcher;
private BigtableDataClient bigtableDataClient;
@@ -80,7 +81,9 @@ public void setUp() {
Mockito.when(mockStub.checkAndMutateRowCallable()).thenReturn(mockCheckAndMutateRowCallable);
Mockito.when(mockStub.readModifyWriteRowCallable()).thenReturn(mockReadModifyWriteRowCallable);
Mockito.when(mockStub.newMutateRowsBatcher(Mockito.any(String.class)))
- .thenReturn(mockBulkMutationbatcher);
+ .thenReturn(mockBulkMutationBatcher);
+ Mockito.when(mockStub.newBulkReadRowsBatcher(Mockito.any(Query.class)))
+ .thenReturn(mockBulkReadRowsBatcher);
}
@Test
@@ -315,7 +318,7 @@ public void proxyNewBulkMutationBatcherTest() {
bigtableDataClient.newBulkMutationBatcher("fake-table");
RowMutationEntry request =
RowMutationEntry.create("some-key").setCell("some-family", "fake-qualifier", "fake-value");
- Mockito.when(mockBulkMutationbatcher.add(request)).thenReturn(expectedResponse);
+ Mockito.when(mockBulkMutationBatcher.add(request)).thenReturn(expectedResponse);
ApiFuture actualRes = batcher.add(request);
assertThat(actualRes).isSameInstanceAs(expectedResponse);
@@ -323,6 +326,39 @@ public void proxyNewBulkMutationBatcherTest() {
Mockito.verify(mockStub).newMutateRowsBatcher(Mockito.any(String.class));
}
+ @Test
+ public void proxyNewBulkReadRowsTest() {
+ ApiFuture expectedResponse =
+ ApiFutures.immediateFuture(
+ Row.create(ByteString.copyFromUtf8("fake-row-key"), Collections.emptyList()));
+ ByteString request = ByteString.copyFromUtf8("fake-row-key");
+
+ Batcher batcher = bigtableDataClient.newBulkReadRowsBatcher("fake-table");
+ Mockito.when(mockBulkReadRowsBatcher.add(request)).thenReturn(expectedResponse);
+
+ ApiFuture actualResponse = batcher.add(request);
+ assertThat(actualResponse).isSameInstanceAs(expectedResponse);
+
+ Mockito.verify(mockStub).newBulkReadRowsBatcher(Mockito.any(Query.class));
+ }
+
+ @Test
+ public void proxyNewBulkReadRowsWithFilterTest() {
+ ApiFuture expectedResponse =
+ ApiFutures.immediateFuture(
+ Row.create(ByteString.copyFromUtf8("fake-row-key"), Collections.emptyList()));
+ ByteString request = ByteString.copyFromUtf8("fake-row-key");
+
+ Batcher batcher =
+ bigtableDataClient.newBulkReadRowsBatcher("fake-table", FILTERS.key().regex("fake-row"));
+ Mockito.when(mockBulkReadRowsBatcher.add(request)).thenReturn(expectedResponse);
+
+ ApiFuture actualResponse = batcher.add(request);
+ assertThat(actualResponse).isSameInstanceAs(expectedResponse);
+
+ Mockito.verify(mockStub).newBulkReadRowsBatcher(Mockito.any(Query.class));
+ }
+
@Test
public void proxyCheckAndMutateRowCallableTest() {
assertThat(bigtableDataClient.checkAndMutateRowCallable())
diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BulkReadIT.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BulkReadIT.java
new file mode 100644
index 0000000000..99c14ccc4f
--- /dev/null
+++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BulkReadIT.java
@@ -0,0 +1,105 @@
+/*
+ * 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.
+ */
+package com.google.cloud.bigtable.data.v2.it;
+
+import static com.google.common.truth.Truth.assertThat;
+
+import com.google.api.core.ApiFuture;
+import com.google.api.core.ApiFutures;
+import com.google.api.gax.batching.Batcher;
+import com.google.cloud.bigtable.data.v2.BigtableDataClient;
+import com.google.cloud.bigtable.data.v2.models.BulkMutation;
+import com.google.cloud.bigtable.data.v2.models.Row;
+import com.google.cloud.bigtable.data.v2.models.RowCell;
+import com.google.cloud.bigtable.data.v2.models.RowMutationEntry;
+import com.google.cloud.bigtable.test_helpers.env.TestEnvRule;
+import com.google.common.collect.ImmutableList;
+import com.google.protobuf.ByteString;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.UUID;
+import java.util.concurrent.ExecutionException;
+import org.junit.ClassRule;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
+
+@RunWith(JUnit4.class)
+public class BulkReadIT {
+
+ @ClassRule public static TestEnvRule testEnvRule = new TestEnvRule();
+
+ @Test
+ public void testBulkRead() throws InterruptedException, ExecutionException {
+ BigtableDataClient client = testEnvRule.env().getDataClient();
+ String family = testEnvRule.env().getFamilyId();
+ String rowPrefix = UUID.randomUUID().toString();
+ int numRows = 10;
+
+ BulkMutation bulkMutation = BulkMutation.create(testEnvRule.env().getTableId());
+ List expectedRows = new ArrayList<>();
+
+ for (int i = 0; i < numRows; i++) {
+ bulkMutation.add(
+ RowMutationEntry.create(rowPrefix + "-" + i)
+ .setCell(family, "qualifier", 10_000L, "value-" + i));
+ expectedRows.add(
+ Row.create(
+ ByteString.copyFromUtf8(rowPrefix + "-" + i),
+ ImmutableList.of(
+ RowCell.create(
+ family,
+ ByteString.copyFromUtf8("qualifier"),
+ 10_000L,
+ ImmutableList.of(),
+ ByteString.copyFromUtf8("value-" + i)))));
+ }
+ client.bulkMutateRows(bulkMutation);
+
+ try (Batcher batcher =
+ client.newBulkReadRowsBatcher(testEnvRule.env().getTableId())) {
+
+ List> rowFutures = new ArrayList<>(numRows);
+
+ for (int rowCount = 0; rowCount < numRows; rowCount++) {
+ ApiFuture entryResponse =
+ batcher.add(ByteString.copyFromUtf8(rowPrefix + "-" + rowCount));
+
+ rowFutures.add(entryResponse);
+ }
+
+ batcher.flush();
+ List actualRows = ApiFutures.allAsList(rowFutures).get();
+ assertThat(actualRows).isEqualTo(expectedRows);
+
+ // To verify non-existent and duplicate row keys
+ rowFutures = new ArrayList<>();
+
+ // non-existent row key
+ rowFutures.add(batcher.add(ByteString.copyFromUtf8(UUID.randomUUID().toString())));
+
+ // duplicate row key
+ rowFutures.add(batcher.add(ByteString.copyFromUtf8(rowPrefix + "-" + 0)));
+ rowFutures.add(batcher.add(ByteString.copyFromUtf8(rowPrefix + "-" + 0)));
+
+ batcher.flush();
+ actualRows = ApiFutures.allAsList(rowFutures).get();
+ assertThat(actualRows.get(0)).isNull();
+ assertThat(actualRows.get(1)).isEqualTo(expectedRows.get(0));
+ assertThat(actualRows.get(2)).isEqualTo(expectedRows.get(0));
+ }
+ }
+}
diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/DirectPathFallbackIT.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/DirectPathFallbackIT.java
index 06853cd2b0..f489d8b9c0 100644
--- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/DirectPathFallbackIT.java
+++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/DirectPathFallbackIT.java
@@ -19,7 +19,9 @@
import static com.google.common.truth.TruthJUnit.assume;
import com.google.api.core.ApiFunction;
+import com.google.api.gax.core.FixedCredentialsProvider;
import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
+import com.google.auth.oauth2.ComputeEngineCredentials;
import com.google.cloud.bigtable.data.v2.BigtableDataClient;
import com.google.cloud.bigtable.data.v2.BigtableDataSettings;
import com.google.cloud.bigtable.test_helpers.env.TestEnvRule;
@@ -52,6 +54,9 @@
/**
* Test DirectPath fallback behavior by injecting a ChannelHandler into the netty stack that will
* disrupt IPv6 communications.
+ *
+ * WARNING: this test can only be run on a GCE VM and will explicitly ignore
+ * GOOGLE_APPLICATION_CREDENTIALS and use the service account associated with the VM.
*/
@RunWith(JUnit4.class)
public class DirectPathFallbackIT {
@@ -111,7 +116,9 @@ public ManagedChannelBuilder apply(ManagedChannelBuilder builder) {
settingsBuilder
.stubSettings()
- .setTransportChannelProvider(instrumentedTransportChannelProvider);
+ .setTransportChannelProvider(instrumentedTransportChannelProvider)
+ // Forcefully ignore GOOGLE_APPLICATION_CREDENTIALS
+ .setCredentialsProvider(FixedCredentialsProvider.create(ComputeEngineCredentials.create()));
instrumentedClient = BigtableDataClient.create(settingsBuilder.build());
}
diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/QueryTest.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/QueryTest.java
index 7cf4246943..bf6abcd168 100644
--- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/QueryTest.java
+++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/QueryTest.java
@@ -112,6 +112,28 @@ public void rowRangeTest() {
assertThat(actualProto).isEqualTo(expectedProto.build());
}
+ @Test
+ public void filterTestWithExceptions() {
+ Exception actualException = null;
+ try {
+ Query.create(TABLE_ID).filter(null);
+ } catch (Exception ex) {
+ actualException = ex;
+ }
+ assertThat(actualException).isInstanceOf(NullPointerException.class);
+
+ actualException = null;
+ int maxFilterSize = 20 * 1024 * 1024;
+ ByteString largeValue = ByteString.copyFrom(new byte[maxFilterSize + 1]);
+
+ try {
+ Query.create(TABLE_ID).filter(FILTERS.value().exactMatch(largeValue));
+ } catch (Exception ex) {
+ actualException = ex;
+ }
+ assertThat(actualException).hasMessageThat().contains("filter size can't be more than 20MB");
+ }
+
@Test
public void filterTest() {
Query query = Query.create(TABLE_ID).filter(FILTERS.key().regex(".*"));
@@ -286,4 +308,23 @@ public void testEquality() {
.isNotEqualTo(Query.create(TABLE_ID).filter(FILTERS.family().exactMatch("test-one")));
assertThat(Query.create(TABLE_ID).limit(4)).isNotEqualTo(Query.create(TABLE_ID).limit(5));
}
+
+ @Test
+ public void testClone() {
+ Query query = Query.create(TABLE_ID).filter(FILTERS.key().regex("temp")).limit(10);
+ ReadRowsRequest request =
+ ReadRowsRequest.newBuilder()
+ .setTableName(NameUtil.formatTableName(PROJECT_ID, INSTANCE_ID, TABLE_ID))
+ .setAppProfileId(APP_PROFILE_ID)
+ .setRowsLimit(10)
+ .setFilter(
+ RowFilter.newBuilder()
+ .setRowKeyRegexFilter(ByteString.copyFromUtf8("temp"))
+ .build())
+ .build();
+
+ Query clonedReq = query.clone();
+ assertThat(clonedReq).isEqualTo(query);
+ assertThat(clonedReq.toProto(requestContext)).isEqualTo(request);
+ }
}
diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/BigtableBulkReadRowsCallSettingsTest.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/BigtableBulkReadRowsCallSettingsTest.java
new file mode 100644
index 0000000000..a343bf4667
--- /dev/null
+++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/BigtableBulkReadRowsCallSettingsTest.java
@@ -0,0 +1,113 @@
+/*
+ * 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.
+ */
+package com.google.cloud.bigtable.data.v2.stub;
+
+import static com.google.common.truth.Truth.assertThat;
+
+import com.google.api.gax.batching.BatchingSettings;
+import com.google.api.gax.batching.FlowControlSettings;
+import com.google.api.gax.batching.FlowController;
+import com.google.api.gax.retrying.RetrySettings;
+import com.google.api.gax.rpc.StatusCode;
+import com.google.cloud.bigtable.data.v2.stub.readrows.ReadRowsBatchingDescriptor;
+import com.google.common.collect.ImmutableSet;
+import java.util.Set;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
+import org.threeten.bp.Duration;
+
+@RunWith(JUnit4.class)
+public class BigtableBulkReadRowsCallSettingsTest {
+
+ private static final BatchingSettings BATCHING_SETTINGS =
+ BatchingSettings.newBuilder()
+ .setElementCountThreshold(10L)
+ .setRequestByteThreshold(20L)
+ .setDelayThreshold(Duration.ofMillis(5))
+ .setFlowControlSettings(
+ FlowControlSettings.newBuilder()
+ .setMaxOutstandingElementCount(100L)
+ .setMaxOutstandingRequestBytes(100L)
+ .setLimitExceededBehavior(FlowController.LimitExceededBehavior.Block)
+ .build())
+ .build();
+
+ @Test
+ public void testEmptyBuilder() {
+ BigtableBulkReadRowsCallSettings.Builder builder =
+ BigtableBulkReadRowsCallSettings.newBuilder(new ReadRowsBatchingDescriptor());
+ assertThat(builder.getBatchingSettings()).isNull();
+ assertThat(builder.getRetryableCodes()).isEmpty();
+ assertThat(builder.getRetrySettings()).isNotNull();
+ }
+
+ @Test
+ public void testBuilder() {
+ BigtableBulkReadRowsCallSettings.Builder builder =
+ BigtableBulkReadRowsCallSettings.newBuilder(new ReadRowsBatchingDescriptor());
+
+ Set retryCodes = ImmutableSet.of(StatusCode.Code.UNAVAILABLE);
+ RetrySettings retrySettings = RetrySettings.newBuilder().build();
+ builder
+ .setBatchingSettings(BATCHING_SETTINGS)
+ .setRetryableCodes(retryCodes)
+ .setRetrySettings(retrySettings);
+
+ BigtableBulkReadRowsCallSettings settings = builder.build();
+ assertThat(settings.getBatchingSettings()).isEqualTo(BATCHING_SETTINGS);
+ assertThat(settings.getRetryableCodes()).isEqualTo(retryCodes);
+ assertThat(settings.getRetrySettings()).isEqualTo(retrySettings);
+ }
+
+ @Test
+ public void testBuilderFromSettings() {
+ BigtableBulkReadRowsCallSettings.Builder builder =
+ BigtableBulkReadRowsCallSettings.newBuilder(new ReadRowsBatchingDescriptor());
+ RetrySettings retrySettings =
+ RetrySettings.newBuilder().setTotalTimeout(Duration.ofMinutes(1)).build();
+ builder
+ .setBatchingSettings(BATCHING_SETTINGS)
+ .setRetryableCodes(StatusCode.Code.UNAVAILABLE, StatusCode.Code.UNAUTHENTICATED)
+ .setRetrySettings(retrySettings);
+
+ BigtableBulkReadRowsCallSettings settings = builder.build();
+ BigtableBulkReadRowsCallSettings.Builder newBuilder = settings.toBuilder();
+
+ assertThat(newBuilder.getBatchingSettings()).isEqualTo(BATCHING_SETTINGS);
+ assertThat(newBuilder.getRetryableCodes())
+ .containsExactly(StatusCode.Code.UNAVAILABLE, StatusCode.Code.UNAUTHENTICATED);
+ assertThat(newBuilder.getRetrySettings()).isEqualTo(retrySettings);
+ }
+
+ @Test
+ public void testMandatorySettings() {
+ Exception actualEx = null;
+ try {
+ BigtableBulkReadRowsCallSettings.newBuilder(null);
+ } catch (Exception ex) {
+ actualEx = ex;
+ }
+ assertThat(actualEx).isInstanceOf(NullPointerException.class);
+ actualEx = null;
+ try {
+ BigtableBulkReadRowsCallSettings.newBuilder(new ReadRowsBatchingDescriptor()).build();
+ } catch (Exception ex) {
+ actualEx = ex;
+ }
+ assertThat(actualEx).isInstanceOf(IllegalStateException.class);
+ }
+}
diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettingsTest.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettingsTest.java
index b9b6a69cde..ec759c0bf0 100644
--- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettingsTest.java
+++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettingsTest.java
@@ -193,8 +193,9 @@ public void readRowsIsNotLostTest() {
.setRetrySettings(retrySettings)
.build();
- // Point readRow settings must match streaming settings
+ // Point readRow & bulk read settings must match streaming settings
builder.readRowSettings().setRetryableCodes(Code.ABORTED, Code.DEADLINE_EXCEEDED);
+ builder.bulkReadRowsSettings().setRetryableCodes(Code.ABORTED, Code.DEADLINE_EXCEEDED);
assertThat(builder.readRowsSettings().getIdleTimeout()).isEqualTo(Duration.ofMinutes(5));
assertThat(builder.readRowsSettings().getRetryableCodes())
@@ -249,8 +250,9 @@ public void readRowIsNotLostTest() {
.setRetrySettings(retrySettings)
.build();
- // Streaming readRows settings must match point lookup settings.
+ // Streaming readRows & bulk read settings must match point lookup settings.
builder.readRowsSettings().setRetryableCodes(Code.ABORTED, Code.DEADLINE_EXCEEDED);
+ builder.bulkReadRowsSettings().setRetryableCodes(Code.ABORTED, Code.DEADLINE_EXCEEDED);
assertThat(builder.readRowSettings().getRetryableCodes())
.containsAtLeast(Code.ABORTED, Code.DEADLINE_EXCEEDED);
@@ -297,6 +299,7 @@ public void readRowRetryCodesMustMatch() {
assertThat(actualError).isNotNull();
builder.readRowSettings().setRetryableCodes(Code.DEADLINE_EXCEEDED);
+ builder.bulkReadRowsSettings().setRetryableCodes(Code.DEADLINE_EXCEEDED);
actualError = null;
try {
@@ -451,6 +454,59 @@ public void bulkMutateRowsSettingsAreNotLostTest() {
.isSameInstanceAs(batchingSettings);
}
+ @Test
+ public void bulkReadRowsSettingsAreNotLostTest() {
+ String dummyProjectId = "my-project";
+ String dummyInstanceId = "my-instance";
+
+ EnhancedBigtableStubSettings.Builder builder =
+ EnhancedBigtableStubSettings.newBuilder()
+ .setProjectId(dummyProjectId)
+ .setInstanceId(dummyInstanceId);
+
+ RetrySettings retrySettings =
+ RetrySettings.newBuilder()
+ .setMaxAttempts(10)
+ .setTotalTimeout(Duration.ofHours(1))
+ .setInitialRpcTimeout(Duration.ofSeconds(10))
+ .setRpcTimeoutMultiplier(1)
+ .setMaxRpcTimeout(Duration.ofSeconds(10))
+ .setJittered(true)
+ .build();
+
+ BatchingSettings batchingSettings = BatchingSettings.newBuilder().build();
+
+ builder
+ .bulkReadRowsSettings()
+ .setRetryableCodes(Code.ABORTED, Code.DEADLINE_EXCEEDED)
+ .setRetrySettings(retrySettings)
+ .setBatchingSettings(batchingSettings)
+ .build();
+
+ // Point read & streaming readRows settings must match point lookup settings.
+ builder.readRowSettings().setRetryableCodes(Code.ABORTED, Code.DEADLINE_EXCEEDED);
+ builder.readRowsSettings().setRetryableCodes(Code.ABORTED, Code.DEADLINE_EXCEEDED);
+
+ assertThat(builder.bulkReadRowsSettings().getRetryableCodes())
+ .containsAtLeast(Code.ABORTED, Code.DEADLINE_EXCEEDED);
+ assertThat(builder.bulkReadRowsSettings().getRetrySettings()).isEqualTo(retrySettings);
+ assertThat(builder.bulkReadRowsSettings().getBatchingSettings())
+ .isSameInstanceAs(batchingSettings);
+
+ assertThat(builder.build().bulkReadRowsSettings().getRetryableCodes())
+ .containsAtLeast(Code.ABORTED, Code.DEADLINE_EXCEEDED);
+ assertThat(builder.build().bulkReadRowsSettings().getRetrySettings()).isEqualTo(retrySettings);
+ assertThat(builder.build().bulkReadRowsSettings().getBatchingSettings())
+ .isSameInstanceAs(batchingSettings);
+
+ assertThat(builder.build().toBuilder().bulkReadRowsSettings().getRetryableCodes())
+ .containsAtLeast(Code.ABORTED, Code.DEADLINE_EXCEEDED);
+ assertThat(builder.build().toBuilder().bulkReadRowsSettings().getRetrySettings())
+ .isEqualTo(retrySettings);
+ assertThat(builder.build().toBuilder().bulkReadRowsSettings().getBatchingSettings())
+ .isSameInstanceAs(batchingSettings);
+ }
+
@Test
public void mutateRowsHasSaneDefaultsTest() {
BigtableBatchingCallSettings.Builder builder =
diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsBatchingDescriptorTest.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsBatchingDescriptorTest.java
new file mode 100644
index 0000000000..4bcf17674c
--- /dev/null
+++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsBatchingDescriptorTest.java
@@ -0,0 +1,135 @@
+/*
+ * 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.
+ */
+package com.google.cloud.bigtable.data.v2.stub.readrows;
+
+import static com.google.common.truth.Truth.assertThat;
+
+import com.google.api.core.SettableApiFuture;
+import com.google.api.gax.batching.BatchEntry;
+import com.google.api.gax.batching.BatchingRequestBuilder;
+import com.google.bigtable.v2.ReadRowsRequest;
+import com.google.cloud.bigtable.data.v2.internal.RequestContext;
+import com.google.cloud.bigtable.data.v2.models.Query;
+import com.google.cloud.bigtable.data.v2.models.Row;
+import com.google.cloud.bigtable.data.v2.models.RowCell;
+import com.google.common.collect.ImmutableList;
+import com.google.protobuf.ByteString;
+import java.util.List;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
+
+@RunWith(JUnit4.class)
+public class ReadRowsBatchingDescriptorTest {
+
+ private static final RowCell ROW_CELL =
+ RowCell.create(
+ "cf",
+ ByteString.copyFromUtf8("qualifier"),
+ 10000,
+ ImmutableList.of("label-1", "label-2"),
+ ByteString.copyFromUtf8("qualifier"));
+ private static final Row ROW_KEY_1_RESPONSE =
+ Row.create(ByteString.copyFromUtf8("row-key-1"), ImmutableList.of(ROW_CELL));
+ private static final Row ROW_KEY_2_RESPONSE =
+ Row.create(ByteString.copyFromUtf8("row-key-2"), ImmutableList.of(ROW_CELL));
+
+ private ReadRowsBatchingDescriptor underTest = new ReadRowsBatchingDescriptor();
+
+ @Test
+ public void splitResponseTest() throws Exception {
+ List> batchEntries = createBatchEntries("row-key-1", "row-key-2");
+ underTest.splitResponse(ImmutableList.of(ROW_KEY_1_RESPONSE, ROW_KEY_2_RESPONSE), batchEntries);
+
+ assertThat(batchEntries.get(0).getResultFuture().get()).isEqualTo(ROW_KEY_1_RESPONSE);
+ assertThat(batchEntries.get(1).getResultFuture().get()).isEqualTo(ROW_KEY_2_RESPONSE);
+ }
+
+ @Test
+ public void splitResponseWithDuplicateKeysTest() throws Exception {
+ List> batchEntries =
+ createBatchEntries("row-key-1", "row-key-2", "row-key-1", "row-key-1");
+
+ underTest.splitResponse(ImmutableList.of(ROW_KEY_1_RESPONSE, ROW_KEY_2_RESPONSE), batchEntries);
+
+ assertThat(batchEntries.get(0).getResultFuture().get()).isEqualTo(ROW_KEY_1_RESPONSE);
+ assertThat(batchEntries.get(1).getResultFuture().get()).isEqualTo(ROW_KEY_2_RESPONSE);
+ assertThat(batchEntries.get(2).getResultFuture().get()).isEqualTo(ROW_KEY_1_RESPONSE);
+ assertThat(batchEntries.get(3).getResultFuture().get()).isEqualTo(ROW_KEY_1_RESPONSE);
+ }
+
+ @Test
+ public void splitResponseWithNonExistent() throws Exception {
+ List> batchEntries =
+ createBatchEntries("non-existent-1", "non-existent-2", "row-key-1");
+
+ underTest.splitResponse(ImmutableList.of(ROW_KEY_1_RESPONSE), batchEntries);
+
+ assertThat(batchEntries.size()).isEqualTo(3);
+ assertThat(batchEntries.get(0).getResultFuture().get()).isNull();
+ assertThat(batchEntries.get(1).getResultFuture().get()).isNull();
+ assertThat(batchEntries.get(2).getResultFuture().get()).isEqualTo(ROW_KEY_1_RESPONSE);
+ }
+
+ @Test
+ public void splitExceptionTest() {
+ RuntimeException expectedException = new RuntimeException("cannot scan the table");
+ List> batchEntries = createBatchEntries("row-key-1", "row-key-2");
+ underTest.splitException(expectedException, batchEntries);
+ for (BatchEntry resultEntry : batchEntries) {
+ try {
+ resultEntry.getResultFuture().get();
+ } catch (Exception actualEx) {
+ assertThat(actualEx).hasCauseThat().isEqualTo(expectedException);
+ }
+ }
+ }
+
+ @Test
+ public void countBytesTest() {
+ ByteString rowKey = ByteString.copyFromUtf8("testRowKey");
+ long len = underTest.countBytes(rowKey);
+ assertThat(len).isEqualTo(rowKey.size());
+ }
+
+ @Test
+ public void requestBuilderTest() {
+ BatchingRequestBuilder requestBuilder =
+ underTest.newRequestBuilder(Query.create("table-Id"));
+ requestBuilder.add(ByteString.copyFromUtf8("row-key-1"));
+ requestBuilder.add(ByteString.copyFromUtf8("row-key-2"));
+
+ Query request = requestBuilder.build();
+
+ ReadRowsRequest readRowsRequest =
+ request.toProto(RequestContext.create("project", "instance", "appProfile"));
+ assertThat(readRowsRequest.getTableName()).contains("table-Id");
+ assertThat(readRowsRequest.getRows().getRowKeysList())
+ .isEqualTo(
+ ImmutableList.of(
+ ByteString.copyFromUtf8("row-key-1"), ByteString.copyFromUtf8("row-key-2")));
+ }
+
+ private List> createBatchEntries(String... rowKeys) {
+ ImmutableList.Builder> builder = ImmutableList.builder();
+
+ for (String rowKey : rowKeys) {
+ builder.add(
+ BatchEntry.create(ByteString.copyFromUtf8(rowKey), SettableApiFuture.create()));
+ }
+ return builder.build();
+ }
+}
diff --git a/grpc-google-cloud-bigtable-admin-v2/pom.xml b/grpc-google-cloud-bigtable-admin-v2/pom.xml
index 1389496ac1..875af63806 100644
--- a/grpc-google-cloud-bigtable-admin-v2/pom.xml
+++ b/grpc-google-cloud-bigtable-admin-v2/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-bigtable-admin-v2
- 1.9.1
+ 1.10.0
grpc-google-cloud-bigtable-admin-v2
GRPC library for grpc-google-cloud-bigtable-admin-v2
com.google.cloud
google-cloud-bigtable-parent
- 1.9.1
+ 1.10.0
@@ -18,14 +18,14 @@
com.google.cloud
google-cloud-bigtable-deps-bom
- 1.9.1
+ 1.10.0
pom
import
com.google.cloud
google-cloud-bigtable-bom
- 1.9.1
+ 1.10.0
pom
import
diff --git a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java
index a0a8f6170c..723ccd67cf 100644
--- a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java
+++ b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java
@@ -1167,7 +1167,7 @@ public void deleteSnapshot(
*
*
*
- * Gets the access control policy for an instance resource. Returns an empty
+ * Gets the access control policy for a table resource. Returns an empty
* policy if an table exists but does not have a policy set.
*
*/
@@ -1592,7 +1592,7 @@ public void deleteSnapshot(
*
*
*
- * Gets the access control policy for an instance resource. Returns an empty
+ * Gets the access control policy for a table resource. Returns an empty
* policy if an table exists but does not have a policy set.
*
*/
@@ -1877,7 +1877,7 @@ public com.google.protobuf.Empty deleteSnapshot(
*
*
*
- * Gets the access control policy for an instance resource. Returns an empty
+ * Gets the access control policy for a table resource. Returns an empty
* policy if an table exists but does not have a policy set.
*
*/
@@ -2158,7 +2158,7 @@ protected BigtableTableAdminFutureStub build(
*
*
*
- * Gets the access control policy for an instance resource. Returns an empty
+ * Gets the access control policy for a table resource. Returns an empty
* policy if an table exists but does not have a policy set.
*
*/
diff --git a/grpc-google-cloud-bigtable-v2/pom.xml b/grpc-google-cloud-bigtable-v2/pom.xml
index da791a3340..894f9fafc8 100644
--- a/grpc-google-cloud-bigtable-v2/pom.xml
+++ b/grpc-google-cloud-bigtable-v2/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-bigtable-v2
- 1.9.1
+ 1.10.0
grpc-google-cloud-bigtable-v2
GRPC library for grpc-google-cloud-bigtable-v2
com.google.cloud
google-cloud-bigtable-parent
- 1.9.1
+ 1.10.0
@@ -18,14 +18,14 @@
com.google.cloud
google-cloud-bigtable-deps-bom
- 1.9.1
+ 1.10.0
pom
import
com.google.cloud
google-cloud-bigtable-bom
- 1.9.1
+ 1.10.0
pom
import
diff --git a/pom.xml b/pom.xml
index 00b6027fc2..24bceb85f2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
google-cloud-bigtable-parent
pom
- 1.9.1
+ 1.10.0
Google Cloud Bigtable Parent
https://github.com/googleapis/java-bigtable
@@ -162,7 +162,7 @@
com.google.cloud
google-cloud-conformance-tests
- 0.0.3
+ 0.0.4
+ 1.10.0
proto-google-cloud-bigtable-admin-v2
PROTO library for proto-google-cloud-bigtable-admin-v2
com.google.cloud
google-cloud-bigtable-parent
- 1.9.1
+ 1.10.0
@@ -18,14 +18,14 @@
com.google.cloud
google-cloud-bigtable-deps-bom
- 1.9.1
+ 1.10.0
pom
import
com.google.cloud
google-cloud-bigtable-bom
- 1.9.1
+ 1.10.0
pom
import
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java
index 5bc46767d6..5f8787bdda 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -44,6 +44,12 @@ private AppProfile() {
description_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new AppProfile();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private AppProfile(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -195,6 +200,12 @@ private MultiClusterRoutingUseAny(com.google.protobuf.GeneratedMessageV3.Builder
private MultiClusterRoutingUseAny() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new MultiClusterRoutingUseAny();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -638,6 +649,8 @@ public interface SingleClusterRoutingOrBuilder
*
*
* string cluster_id = 1;
+ *
+ * @return The clusterId.
*/
java.lang.String getClusterId();
/**
@@ -648,6 +661,8 @@ public interface SingleClusterRoutingOrBuilder
*
*
* string cluster_id = 1;
+ *
+ * @return The bytes for clusterId.
*/
com.google.protobuf.ByteString getClusterIdBytes();
@@ -661,6 +676,8 @@ public interface SingleClusterRoutingOrBuilder
*
*
* bool allow_transactional_writes = 2;
+ *
+ * @return The allowTransactionalWrites.
*/
boolean getAllowTransactionalWrites();
}
@@ -689,6 +706,12 @@ private SingleClusterRouting() {
clusterId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SingleClusterRouting();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -702,7 +725,6 @@ private SingleClusterRouting(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -769,6 +791,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string cluster_id = 1;
+ *
+ * @return The clusterId.
*/
public java.lang.String getClusterId() {
java.lang.Object ref = clusterId_;
@@ -789,6 +813,8 @@ public java.lang.String getClusterId() {
*
*
* string cluster_id = 1;
+ *
+ * @return The bytes for clusterId.
*/
public com.google.protobuf.ByteString getClusterIdBytes() {
java.lang.Object ref = clusterId_;
@@ -814,6 +840,8 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
*
*
* bool allow_transactional_writes = 2;
+ *
+ * @return The allowTransactionalWrites.
*/
public boolean getAllowTransactionalWrites() {
return allowTransactionalWrites_;
@@ -1171,6 +1199,8 @@ public Builder mergeFrom(
*
*
* string cluster_id = 1;
+ *
+ * @return The clusterId.
*/
public java.lang.String getClusterId() {
java.lang.Object ref = clusterId_;
@@ -1191,6 +1221,8 @@ public java.lang.String getClusterId() {
*
*
* string cluster_id = 1;
+ *
+ * @return The bytes for clusterId.
*/
public com.google.protobuf.ByteString getClusterIdBytes() {
java.lang.Object ref = clusterId_;
@@ -1211,6 +1243,9 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
*
*
* string cluster_id = 1;
+ *
+ * @param value The clusterId to set.
+ * @return This builder for chaining.
*/
public Builder setClusterId(java.lang.String value) {
if (value == null) {
@@ -1229,6 +1264,8 @@ public Builder setClusterId(java.lang.String value) {
*
*
* string cluster_id = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearClusterId() {
@@ -1244,6 +1281,9 @@ public Builder clearClusterId() {
*
*
* string cluster_id = 1;
+ *
+ * @param value The bytes for clusterId to set.
+ * @return This builder for chaining.
*/
public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1267,6 +1307,8 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
*
*
* bool allow_transactional_writes = 2;
+ *
+ * @return The allowTransactionalWrites.
*/
public boolean getAllowTransactionalWrites() {
return allowTransactionalWrites_;
@@ -1281,6 +1323,9 @@ public boolean getAllowTransactionalWrites() {
*
*
* bool allow_transactional_writes = 2;
+ *
+ * @param value The allowTransactionalWrites to set.
+ * @return This builder for chaining.
*/
public Builder setAllowTransactionalWrites(boolean value) {
@@ -1298,6 +1343,8 @@ public Builder setAllowTransactionalWrites(boolean value) {
*
*
* bool allow_transactional_writes = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAllowTransactionalWrites() {
@@ -1364,7 +1411,10 @@ public com.google.protobuf.Parser getParserForType() {
private int routingPolicyCase_ = 0;
private java.lang.Object routingPolicy_;
- public enum RoutingPolicyCase implements com.google.protobuf.Internal.EnumLite {
+ public enum RoutingPolicyCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
MULTI_CLUSTER_ROUTING_USE_ANY(5),
SINGLE_CLUSTER_ROUTING(6),
ROUTINGPOLICY_NOT_SET(0);
@@ -1373,7 +1423,11 @@ public enum RoutingPolicyCase implements com.google.protobuf.Internal.EnumLite {
private RoutingPolicyCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static RoutingPolicyCase valueOf(int value) {
return forNumber(value);
@@ -1413,6 +1467,8 @@ public RoutingPolicyCase getRoutingPolicyCase() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1435,6 +1491,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1465,6 +1523,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string etag = 2;
+ *
+ * @return The etag.
*/
public java.lang.String getEtag() {
java.lang.Object ref = etag_;
@@ -1492,6 +1552,8 @@ public java.lang.String getEtag() {
*
*
* string etag = 2;
+ *
+ * @return The bytes for etag.
*/
public com.google.protobuf.ByteString getEtagBytes() {
java.lang.Object ref = etag_;
@@ -1515,6 +1577,8 @@ public com.google.protobuf.ByteString getEtagBytes() {
*
*
* string description = 3;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -1535,6 +1599,8 @@ public java.lang.String getDescription() {
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -1559,6 +1625,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
* .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
*
+ *
+ * @return Whether the multiClusterRoutingUseAny field is set.
*/
public boolean hasMultiClusterRoutingUseAny() {
return routingPolicyCase_ == 5;
@@ -1573,6 +1641,8 @@ public boolean hasMultiClusterRoutingUseAny() {
*
* .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
*
+ *
+ * @return The multiClusterRoutingUseAny.
*/
public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
getMultiClusterRoutingUseAny() {
@@ -1610,6 +1680,8 @@ public boolean hasMultiClusterRoutingUseAny() {
*
* .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
*
+ *
+ * @return Whether the singleClusterRouting field is set.
*/
public boolean hasSingleClusterRouting() {
return routingPolicyCase_ == 6;
@@ -1623,6 +1695,8 @@ public boolean hasSingleClusterRouting() {
*
* .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
*
+ *
+ * @return The singleClusterRouting.
*/
public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClusterRouting() {
if (routingPolicyCase_ == 6) {
@@ -2097,6 +2171,8 @@ public Builder clearRoutingPolicy() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -2119,6 +2195,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -2141,6 +2219,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -2161,6 +2242,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -2178,6 +2261,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2206,6 +2292,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string etag = 2;
+ *
+ * @return The etag.
*/
public java.lang.String getEtag() {
java.lang.Object ref = etag_;
@@ -2233,6 +2321,8 @@ public java.lang.String getEtag() {
*
*
* string etag = 2;
+ *
+ * @return The bytes for etag.
*/
public com.google.protobuf.ByteString getEtagBytes() {
java.lang.Object ref = etag_;
@@ -2260,6 +2350,9 @@ public com.google.protobuf.ByteString getEtagBytes() {
*
*
* string etag = 2;
+ *
+ * @param value The etag to set.
+ * @return This builder for chaining.
*/
public Builder setEtag(java.lang.String value) {
if (value == null) {
@@ -2285,6 +2378,8 @@ public Builder setEtag(java.lang.String value) {
*
*
* string etag = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEtag() {
@@ -2307,6 +2402,9 @@ public Builder clearEtag() {
*
*
* string etag = 2;
+ *
+ * @param value The bytes for etag to set.
+ * @return This builder for chaining.
*/
public Builder setEtagBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2328,6 +2426,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
*
*
* string description = 3;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -2348,6 +2448,8 @@ public java.lang.String getDescription() {
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -2368,6 +2470,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* string description = 3;
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
*/
public Builder setDescription(java.lang.String value) {
if (value == null) {
@@ -2386,6 +2491,8 @@ public Builder setDescription(java.lang.String value) {
*
*
* string description = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDescription() {
@@ -2401,6 +2508,9 @@ public Builder clearDescription() {
*
*
* string description = 3;
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
*/
public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2428,6 +2538,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
*
* .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
*
+ *
+ * @return Whether the multiClusterRoutingUseAny field is set.
*/
public boolean hasMultiClusterRoutingUseAny() {
return routingPolicyCase_ == 5;
@@ -2442,6 +2554,8 @@ public boolean hasMultiClusterRoutingUseAny() {
*
* .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
*
+ *
+ * @return The multiClusterRoutingUseAny.
*/
public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
getMultiClusterRoutingUseAny() {
@@ -2660,6 +2774,8 @@ public Builder clearMultiClusterRoutingUseAny() {
*
* .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
*
+ *
+ * @return Whether the singleClusterRouting field is set.
*/
public boolean hasSingleClusterRouting() {
return routingPolicyCase_ == 6;
@@ -2673,6 +2789,8 @@ public boolean hasSingleClusterRouting() {
*
* .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
*
+ *
+ * @return The singleClusterRouting.
*/
public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClusterRouting() {
if (singleClusterRoutingBuilder_ == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java
index 9b5fa9c1d4..2ed927dbe4 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class AppProfileName implements ResourceName {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java
index daad88826f..bef0114d87 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -33,6 +33,8 @@ public interface AppProfileOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface AppProfileOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -63,6 +67,8 @@ public interface AppProfileOrBuilder
*
*
* string etag = 2;
+ *
+ * @return The etag.
*/
java.lang.String getEtag();
/**
@@ -80,6 +86,8 @@ public interface AppProfileOrBuilder
*
*
* string etag = 2;
+ *
+ * @return The bytes for etag.
*/
com.google.protobuf.ByteString getEtagBytes();
@@ -91,6 +99,8 @@ public interface AppProfileOrBuilder
*
*
* string description = 3;
+ *
+ * @return The description.
*/
java.lang.String getDescription();
/**
@@ -101,6 +111,8 @@ public interface AppProfileOrBuilder
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
@@ -114,6 +126,8 @@ public interface AppProfileOrBuilder
*
* .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
*
+ *
+ * @return Whether the multiClusterRoutingUseAny field is set.
*/
boolean hasMultiClusterRoutingUseAny();
/**
@@ -126,6 +140,8 @@ public interface AppProfileOrBuilder
*
* .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
*
+ *
+ * @return The multiClusterRoutingUseAny.
*/
com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getMultiClusterRoutingUseAny();
/**
@@ -151,6 +167,8 @@ public interface AppProfileOrBuilder
*
* .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
*
+ *
+ * @return Whether the singleClusterRouting field is set.
*/
boolean hasSingleClusterRouting();
/**
@@ -162,6 +180,8 @@ public interface AppProfileOrBuilder
*
* .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
*
+ *
+ * @return The singleClusterRouting.
*/
com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClusterRouting();
/**
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java
index 7c8c2a626a..8ce70011d3 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -281,27 +281,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "e.Admin.V2\312\002\036Google\\Cloud\\Bigtable\\Admin"
+ "\\V2b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.bigtable.admin.v2.InstanceProto.getDescriptor(),
- com.google.iam.v1.IamPolicyProto.getDescriptor(),
- com.google.iam.v1.PolicyProto.getDescriptor(),
- com.google.longrunning.OperationsProto.getDescriptor(),
- com.google.protobuf.EmptyProto.getDescriptor(),
- com.google.protobuf.FieldMaskProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.bigtable.admin.v2.InstanceProto.getDescriptor(),
+ com.google.iam.v1.IamPolicyProto.getDescriptor(),
+ com.google.iam.v1.PolicyProto.getDescriptor(),
+ com.google.longrunning.OperationsProto.getDescriptor(),
+ com.google.protobuf.EmptyProto.getDescriptor(),
+ com.google.protobuf.FieldMaskProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable =
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java
index c0c3846ac0..d6c875a0d2 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -255,27 +255,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "Google.Cloud.Bigtable.Admin.V2\312\002\036Google\\"
+ "Cloud\\Bigtable\\Admin\\V2b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.bigtable.admin.v2.TableProto.getDescriptor(),
- com.google.iam.v1.IamPolicyProto.getDescriptor(),
- com.google.iam.v1.PolicyProto.getDescriptor(),
- com.google.longrunning.OperationsProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- com.google.protobuf.EmptyProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.bigtable.admin.v2.TableProto.getDescriptor(),
+ com.google.iam.v1.IamPolicyProto.getDescriptor(),
+ com.google.iam.v1.PolicyProto.getDescriptor(),
+ com.google.longrunning.OperationsProto.getDescriptor(),
+ com.google.protobuf.DurationProto.getDescriptor(),
+ com.google.protobuf.EmptyProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable =
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
index f27acaab91..b0169deb13 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private CheckConsistencyRequest() {
consistencyToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CheckConsistencyRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private CheckConsistencyRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -149,6 +156,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -172,6 +181,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string consistency_token = 2;
+ *
+ * @return The consistencyToken.
*/
public java.lang.String getConsistencyToken() {
java.lang.Object ref = consistencyToken_;
@@ -192,6 +203,8 @@ public java.lang.String getConsistencyToken() {
*
*
* string consistency_token = 2;
+ *
+ * @return The bytes for consistencyToken.
*/
public com.google.protobuf.ByteString getConsistencyTokenBytes() {
java.lang.Object ref = consistencyToken_;
@@ -551,6 +564,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -573,6 +588,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -595,6 +612,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -615,6 +635,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -632,6 +654,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -653,6 +678,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string consistency_token = 2;
+ *
+ * @return The consistencyToken.
*/
public java.lang.String getConsistencyToken() {
java.lang.Object ref = consistencyToken_;
@@ -673,6 +700,8 @@ public java.lang.String getConsistencyToken() {
*
*
* string consistency_token = 2;
+ *
+ * @return The bytes for consistencyToken.
*/
public com.google.protobuf.ByteString getConsistencyTokenBytes() {
java.lang.Object ref = consistencyToken_;
@@ -693,6 +722,9 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() {
*
*
* string consistency_token = 2;
+ *
+ * @param value The consistencyToken to set.
+ * @return This builder for chaining.
*/
public Builder setConsistencyToken(java.lang.String value) {
if (value == null) {
@@ -711,6 +743,8 @@ public Builder setConsistencyToken(java.lang.String value) {
*
*
* string consistency_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearConsistencyToken() {
@@ -726,6 +760,9 @@ public Builder clearConsistencyToken() {
*
*
* string consistency_token = 2;
+ *
+ * @param value The bytes for consistencyToken to set.
+ * @return This builder for chaining.
*/
public Builder setConsistencyTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java
index 5f951989ff..d0ca5afc54 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -33,6 +33,8 @@ public interface CheckConsistencyRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface CheckConsistencyRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -56,6 +60,8 @@ public interface CheckConsistencyRequestOrBuilder
*
*
* string consistency_token = 2;
+ *
+ * @return The consistencyToken.
*/
java.lang.String getConsistencyToken();
/**
@@ -66,6 +72,8 @@ public interface CheckConsistencyRequestOrBuilder
*
*
* string consistency_token = 2;
+ *
+ * @return The bytes for consistencyToken.
*/
com.google.protobuf.ByteString getConsistencyTokenBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java
index 2c6d69e04f..433b4457ce 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -40,6 +40,12 @@ private CheckConsistencyResponse(com.google.protobuf.GeneratedMessageV3.Builder<
private CheckConsistencyResponse() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CheckConsistencyResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -53,7 +59,6 @@ private CheckConsistencyResponse(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -114,6 +119,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bool consistent = 1;
+ *
+ * @return The consistent.
*/
public boolean getConsistent() {
return consistent_;
@@ -448,6 +455,8 @@ public Builder mergeFrom(
*
*
* bool consistent = 1;
+ *
+ * @return The consistent.
*/
public boolean getConsistent() {
return consistent_;
@@ -461,6 +470,9 @@ public boolean getConsistent() {
*
*
* bool consistent = 1;
+ *
+ * @param value The consistent to set.
+ * @return This builder for chaining.
*/
public Builder setConsistent(boolean value) {
@@ -477,6 +489,8 @@ public Builder setConsistent(boolean value) {
*
*
* bool consistent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearConsistent() {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java
index 8c726aed10..a7caf4943a 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface CheckConsistencyResponseOrBuilder
*
*
* bool consistent = 1;
+ *
+ * @return The consistent.
*/
boolean getConsistent();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java
index 59f244a148..ec8175dcfd 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -46,6 +46,12 @@ private Cluster() {
defaultStorageType_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Cluster();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -59,7 +65,6 @@ private Cluster(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -273,12 +278,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static State valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static State forNumber(int value) {
switch (value) {
case 0:
@@ -352,6 +365,8 @@ private State(int value) {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -374,6 +389,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -401,6 +418,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string location = 2;
+ *
+ * @return The location.
*/
public java.lang.String getLocation() {
java.lang.Object ref = location_;
@@ -425,6 +444,8 @@ public java.lang.String getLocation() {
*
*
* string location = 2;
+ *
+ * @return The bytes for location.
*/
public com.google.protobuf.ByteString getLocationBytes() {
java.lang.Object ref = location_;
@@ -449,6 +470,8 @@ public com.google.protobuf.ByteString getLocationBytes() {
*
*
* .google.bigtable.admin.v2.Cluster.State state = 3;
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -462,6 +485,8 @@ public int getStateValue() {
*
*
* .google.bigtable.admin.v2.Cluster.State state = 3;
+ *
+ * @return The state.
*/
public com.google.bigtable.admin.v2.Cluster.State getState() {
@SuppressWarnings("deprecation")
@@ -481,6 +506,8 @@ public com.google.bigtable.admin.v2.Cluster.State getState() {
*
*
* int32 serve_nodes = 4;
+ *
+ * @return The serveNodes.
*/
public int getServeNodes() {
return serveNodes_;
@@ -498,6 +525,8 @@ public int getServeNodes() {
*
*
* .google.bigtable.admin.v2.StorageType default_storage_type = 5;
+ *
+ * @return The enum numeric value on the wire for defaultStorageType.
*/
public int getDefaultStorageTypeValue() {
return defaultStorageType_;
@@ -512,6 +541,8 @@ public int getDefaultStorageTypeValue() {
*
*
* .google.bigtable.admin.v2.StorageType default_storage_type = 5;
+ *
+ * @return The defaultStorageType.
*/
public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() {
@SuppressWarnings("deprecation")
@@ -909,6 +940,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -931,6 +964,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -953,6 +988,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -973,6 +1011,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -990,6 +1030,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1015,6 +1058,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string location = 2;
+ *
+ * @return The location.
*/
public java.lang.String getLocation() {
java.lang.Object ref = location_;
@@ -1039,6 +1084,8 @@ public java.lang.String getLocation() {
*
*
* string location = 2;
+ *
+ * @return The bytes for location.
*/
public com.google.protobuf.ByteString getLocationBytes() {
java.lang.Object ref = location_;
@@ -1063,6 +1110,9 @@ public com.google.protobuf.ByteString getLocationBytes() {
*
*
* string location = 2;
+ *
+ * @param value The location to set.
+ * @return This builder for chaining.
*/
public Builder setLocation(java.lang.String value) {
if (value == null) {
@@ -1085,6 +1135,8 @@ public Builder setLocation(java.lang.String value) {
*
*
* string location = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocation() {
@@ -1104,6 +1156,9 @@ public Builder clearLocation() {
*
*
* string location = 2;
+ *
+ * @param value The bytes for location to set.
+ * @return This builder for chaining.
*/
public Builder setLocationBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1126,6 +1181,8 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) {
*
*
* .google.bigtable.admin.v2.Cluster.State state = 3;
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -1139,6 +1196,9 @@ public int getStateValue() {
*
*
* .google.bigtable.admin.v2.Cluster.State state = 3;
+ *
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
*/
public Builder setStateValue(int value) {
state_ = value;
@@ -1154,6 +1214,8 @@ public Builder setStateValue(int value) {
*
*
* .google.bigtable.admin.v2.Cluster.State state = 3;
+ *
+ * @return The state.
*/
public com.google.bigtable.admin.v2.Cluster.State getState() {
@SuppressWarnings("deprecation")
@@ -1170,6 +1232,9 @@ public com.google.bigtable.admin.v2.Cluster.State getState() {
*
*
* .google.bigtable.admin.v2.Cluster.State state = 3;
+ *
+ * @param value The state to set.
+ * @return This builder for chaining.
*/
public Builder setState(com.google.bigtable.admin.v2.Cluster.State value) {
if (value == null) {
@@ -1189,6 +1254,8 @@ public Builder setState(com.google.bigtable.admin.v2.Cluster.State value) {
*
*
* .google.bigtable.admin.v2.Cluster.State state = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearState() {
@@ -1207,6 +1274,8 @@ public Builder clearState() {
*
*
* int32 serve_nodes = 4;
+ *
+ * @return The serveNodes.
*/
public int getServeNodes() {
return serveNodes_;
@@ -1220,6 +1289,9 @@ public int getServeNodes() {
*
*
* int32 serve_nodes = 4;
+ *
+ * @param value The serveNodes to set.
+ * @return This builder for chaining.
*/
public Builder setServeNodes(int value) {
@@ -1236,6 +1308,8 @@ public Builder setServeNodes(int value) {
*
*
* int32 serve_nodes = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearServeNodes() {
@@ -1255,6 +1329,8 @@ public Builder clearServeNodes() {
*
*
* .google.bigtable.admin.v2.StorageType default_storage_type = 5;
+ *
+ * @return The enum numeric value on the wire for defaultStorageType.
*/
public int getDefaultStorageTypeValue() {
return defaultStorageType_;
@@ -1269,6 +1345,9 @@ public int getDefaultStorageTypeValue() {
*
*
* .google.bigtable.admin.v2.StorageType default_storage_type = 5;
+ *
+ * @param value The enum numeric value on the wire for defaultStorageType to set.
+ * @return This builder for chaining.
*/
public Builder setDefaultStorageTypeValue(int value) {
defaultStorageType_ = value;
@@ -1285,6 +1364,8 @@ public Builder setDefaultStorageTypeValue(int value) {
*
*
* .google.bigtable.admin.v2.StorageType default_storage_type = 5;
+ *
+ * @return The defaultStorageType.
*/
public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() {
@SuppressWarnings("deprecation")
@@ -1302,6 +1383,9 @@ public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() {
*
*
* .google.bigtable.admin.v2.StorageType default_storage_type = 5;
+ *
+ * @param value The defaultStorageType to set.
+ * @return This builder for chaining.
*/
public Builder setDefaultStorageType(com.google.bigtable.admin.v2.StorageType value) {
if (value == null) {
@@ -1322,6 +1406,8 @@ public Builder setDefaultStorageType(com.google.bigtable.admin.v2.StorageType va
*
*
* .google.bigtable.admin.v2.StorageType default_storage_type = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDefaultStorageType() {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java
index d172839cd8..4e9517778d 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class ClusterName implements ResourceName {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java
index 5a30c018c7..1dcda264c8 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -33,6 +33,8 @@ public interface ClusterOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface ClusterOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -60,6 +64,8 @@ public interface ClusterOrBuilder
*
*
* string location = 2;
+ *
+ * @return The location.
*/
java.lang.String getLocation();
/**
@@ -74,6 +80,8 @@ public interface ClusterOrBuilder
*
*
* string location = 2;
+ *
+ * @return The bytes for location.
*/
com.google.protobuf.ByteString getLocationBytes();
@@ -86,6 +94,8 @@ public interface ClusterOrBuilder
*
*
* .google.bigtable.admin.v2.Cluster.State state = 3;
+ *
+ * @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
@@ -97,6 +107,8 @@ public interface ClusterOrBuilder
*
*
* .google.bigtable.admin.v2.Cluster.State state = 3;
+ *
+ * @return The state.
*/
com.google.bigtable.admin.v2.Cluster.State getState();
@@ -109,6 +121,8 @@ public interface ClusterOrBuilder
*
*
* int32 serve_nodes = 4;
+ *
+ * @return The serveNodes.
*/
int getServeNodes();
@@ -122,6 +136,8 @@ public interface ClusterOrBuilder
*
*
* .google.bigtable.admin.v2.StorageType default_storage_type = 5;
+ *
+ * @return The enum numeric value on the wire for defaultStorageType.
*/
int getDefaultStorageTypeValue();
/**
@@ -134,6 +150,8 @@ public interface ClusterOrBuilder
*
*
* .google.bigtable.admin.v2.StorageType default_storage_type = 5;
+ *
+ * @return The defaultStorageType.
*/
com.google.bigtable.admin.v2.StorageType getDefaultStorageType();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java
index 164acb7e80..b60dfe9f3d 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private ColumnFamily(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private ColumnFamily() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ColumnFamily();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private ColumnFamily(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.bigtable.admin.v2.GcRule gc_rule = 1;
+ *
+ * @return Whether the gcRule field is set.
*/
public boolean hasGcRule() {
return gcRule_ != null;
@@ -143,6 +150,8 @@ public boolean hasGcRule() {
*
*
* .google.bigtable.admin.v2.GcRule gc_rule = 1;
+ *
+ * @return The gcRule.
*/
public com.google.bigtable.admin.v2.GcRule getGcRule() {
return gcRule_ == null ? com.google.bigtable.admin.v2.GcRule.getDefaultInstance() : gcRule_;
@@ -510,6 +519,8 @@ public Builder mergeFrom(
*
*
* .google.bigtable.admin.v2.GcRule gc_rule = 1;
+ *
+ * @return Whether the gcRule field is set.
*/
public boolean hasGcRule() {
return gcRuleBuilder_ != null || gcRule_ != null;
@@ -526,6 +537,8 @@ public boolean hasGcRule() {
*
*
* .google.bigtable.admin.v2.GcRule gc_rule = 1;
+ *
+ * @return The gcRule.
*/
public com.google.bigtable.admin.v2.GcRule getGcRule() {
if (gcRuleBuilder_ == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
index d633822b9c..73a9995428 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -35,6 +35,8 @@ public interface ColumnFamilyOrBuilder
*
*
* .google.bigtable.admin.v2.GcRule gc_rule = 1;
+ *
+ * @return Whether the gcRule field is set.
*/
boolean hasGcRule();
/**
@@ -49,6 +51,8 @@ public interface ColumnFamilyOrBuilder
*
*
* .google.bigtable.admin.v2.GcRule gc_rule = 1;
+ *
+ * @return The gcRule.
*/
com.google.bigtable.admin.v2.GcRule getGcRule();
/**
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java
index a88bb8b27a..5b8d67c089 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -46,21 +46,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "gtable.Admin.V2\312\002\036Google\\Cloud\\Bigtable\\"
+ "Admin\\V2b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
com.google.api.AnnotationsProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java
index 179ebb1c06..9ad0336215 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -42,6 +42,12 @@ private CreateAppProfileRequest() {
appProfileId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateAppProfileRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private CreateAppProfileRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -147,6 +152,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -169,6 +176,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -194,6 +203,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string app_profile_id = 2;
+ *
+ * @return The appProfileId.
*/
public java.lang.String getAppProfileId() {
java.lang.Object ref = appProfileId_;
@@ -216,6 +227,8 @@ public java.lang.String getAppProfileId() {
*
*
* string app_profile_id = 2;
+ *
+ * @return The bytes for appProfileId.
*/
public com.google.protobuf.ByteString getAppProfileIdBytes() {
java.lang.Object ref = appProfileId_;
@@ -240,6 +253,8 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
*
*
* .google.bigtable.admin.v2.AppProfile app_profile = 3;
+ *
+ * @return Whether the appProfile field is set.
*/
public boolean hasAppProfile() {
return appProfile_ != null;
@@ -253,6 +268,8 @@ public boolean hasAppProfile() {
*
*
* .google.bigtable.admin.v2.AppProfile app_profile = 3;
+ *
+ * @return The appProfile.
*/
public com.google.bigtable.admin.v2.AppProfile getAppProfile() {
return appProfile_ == null
@@ -283,6 +300,8 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder()
*
*
* bool ignore_warnings = 4;
+ *
+ * @return The ignoreWarnings.
*/
public boolean getIgnoreWarnings() {
return ignoreWarnings_;
@@ -676,6 +695,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -698,6 +719,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -720,6 +743,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -740,6 +766,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -757,6 +785,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -780,6 +811,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string app_profile_id = 2;
+ *
+ * @return The appProfileId.
*/
public java.lang.String getAppProfileId() {
java.lang.Object ref = appProfileId_;
@@ -802,6 +835,8 @@ public java.lang.String getAppProfileId() {
*
*
* string app_profile_id = 2;
+ *
+ * @return The bytes for appProfileId.
*/
public com.google.protobuf.ByteString getAppProfileIdBytes() {
java.lang.Object ref = appProfileId_;
@@ -824,6 +859,9 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
*
*
* string app_profile_id = 2;
+ *
+ * @param value The appProfileId to set.
+ * @return This builder for chaining.
*/
public Builder setAppProfileId(java.lang.String value) {
if (value == null) {
@@ -844,6 +882,8 @@ public Builder setAppProfileId(java.lang.String value) {
*
*
* string app_profile_id = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAppProfileId() {
@@ -861,6 +901,9 @@ public Builder clearAppProfileId() {
*
*
* string app_profile_id = 2;
+ *
+ * @param value The bytes for appProfileId to set.
+ * @return This builder for chaining.
*/
public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -888,6 +931,8 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) {
*
*
* .google.bigtable.admin.v2.AppProfile app_profile = 3;
+ *
+ * @return Whether the appProfile field is set.
*/
public boolean hasAppProfile() {
return appProfileBuilder_ != null || appProfile_ != null;
@@ -901,6 +946,8 @@ public boolean hasAppProfile() {
*
*
* .google.bigtable.admin.v2.AppProfile app_profile = 3;
+ *
+ * @return The appProfile.
*/
public com.google.bigtable.admin.v2.AppProfile getAppProfile() {
if (appProfileBuilder_ == null) {
@@ -1072,6 +1119,8 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder()
*
*
* bool ignore_warnings = 4;
+ *
+ * @return The ignoreWarnings.
*/
public boolean getIgnoreWarnings() {
return ignoreWarnings_;
@@ -1084,6 +1133,9 @@ public boolean getIgnoreWarnings() {
*
*
* bool ignore_warnings = 4;
+ *
+ * @param value The ignoreWarnings to set.
+ * @return This builder for chaining.
*/
public Builder setIgnoreWarnings(boolean value) {
@@ -1099,6 +1151,8 @@ public Builder setIgnoreWarnings(boolean value) {
*
*
* bool ignore_warnings = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearIgnoreWarnings() {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java
index 5663c880ca..c1c3c08848 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -33,6 +33,8 @@ public interface CreateAppProfileRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -45,6 +47,8 @@ public interface CreateAppProfileRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -58,6 +62,8 @@ public interface CreateAppProfileRequestOrBuilder
*
*
* string app_profile_id = 2;
+ *
+ * @return The appProfileId.
*/
java.lang.String getAppProfileId();
/**
@@ -70,6 +76,8 @@ public interface CreateAppProfileRequestOrBuilder
*
*
* string app_profile_id = 2;
+ *
+ * @return The bytes for appProfileId.
*/
com.google.protobuf.ByteString getAppProfileIdBytes();
@@ -82,6 +90,8 @@ public interface CreateAppProfileRequestOrBuilder
*
*
* .google.bigtable.admin.v2.AppProfile app_profile = 3;
+ *
+ * @return Whether the appProfile field is set.
*/
boolean hasAppProfile();
/**
@@ -93,6 +103,8 @@ public interface CreateAppProfileRequestOrBuilder
*
*
* .google.bigtable.admin.v2.AppProfile app_profile = 3;
+ *
+ * @return The appProfile.
*/
com.google.bigtable.admin.v2.AppProfile getAppProfile();
/**
@@ -115,6 +127,8 @@ public interface CreateAppProfileRequestOrBuilder
*
*
* bool ignore_warnings = 4;
+ *
+ * @return The ignoreWarnings.
*/
boolean getIgnoreWarnings();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java
index 6196eb32bc..d6516c66ac 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private CreateClusterMetadata(com.google.protobuf.GeneratedMessageV3.Builder>
private CreateClusterMetadata() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateClusterMetadata();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private CreateClusterMetadata(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -154,6 +159,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
public boolean hasOriginalRequest() {
return originalRequest_ != null;
@@ -166,6 +173,8 @@ public boolean hasOriginalRequest() {
*
*
* .google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
+ *
+ * @return The originalRequest.
*/
public com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest() {
return originalRequest_ == null
@@ -195,6 +204,8 @@ public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder getOriginalReq
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
public boolean hasRequestTime() {
return requestTime_ != null;
@@ -207,6 +218,8 @@ public boolean hasRequestTime() {
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
public com.google.protobuf.Timestamp getRequestTime() {
return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_;
@@ -234,6 +247,8 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
public boolean hasFinishTime() {
return finishTime_ != null;
@@ -246,6 +261,8 @@ public boolean hasFinishTime() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
public com.google.protobuf.Timestamp getFinishTime() {
return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_;
@@ -663,6 +680,8 @@ public Builder mergeFrom(
*
*
* .google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
public boolean hasOriginalRequest() {
return originalRequestBuilder_ != null || originalRequest_ != null;
@@ -675,6 +694,8 @@ public boolean hasOriginalRequest() {
*
*
* .google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
+ *
+ * @return The originalRequest.
*/
public com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest() {
if (originalRequestBuilder_ == null) {
@@ -846,6 +867,8 @@ public com.google.bigtable.admin.v2.CreateClusterRequest.Builder getOriginalRequ
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
public boolean hasRequestTime() {
return requestTimeBuilder_ != null || requestTime_ != null;
@@ -858,6 +881,8 @@ public boolean hasRequestTime() {
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
public com.google.protobuf.Timestamp getRequestTime() {
if (requestTimeBuilder_ == null) {
@@ -1027,6 +1052,8 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
public boolean hasFinishTime() {
return finishTimeBuilder_ != null || finishTime_ != null;
@@ -1039,6 +1066,8 @@ public boolean hasFinishTime() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
public com.google.protobuf.Timestamp getFinishTime() {
if (finishTimeBuilder_ == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java
index 1b2d11af4a..8a7b5f1a75 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface CreateClusterMetadataOrBuilder
*
*
* .google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
boolean hasOriginalRequest();
/**
@@ -41,6 +43,8 @@ public interface CreateClusterMetadataOrBuilder
*
*
* .google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
+ *
+ * @return The originalRequest.
*/
com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest();
/**
@@ -62,6 +66,8 @@ public interface CreateClusterMetadataOrBuilder
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
boolean hasRequestTime();
/**
@@ -72,6 +78,8 @@ public interface CreateClusterMetadataOrBuilder
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
com.google.protobuf.Timestamp getRequestTime();
/**
@@ -93,6 +101,8 @@ public interface CreateClusterMetadataOrBuilder
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
boolean hasFinishTime();
/**
@@ -103,6 +113,8 @@ public interface CreateClusterMetadataOrBuilder
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
com.google.protobuf.Timestamp getFinishTime();
/**
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java
index 108ac31e14..77a724bde4 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -42,6 +42,12 @@ private CreateClusterRequest() {
clusterId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateClusterRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private CreateClusterRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -142,6 +147,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -164,6 +171,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -189,6 +198,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string cluster_id = 2;
+ *
+ * @return The clusterId.
*/
public java.lang.String getClusterId() {
java.lang.Object ref = clusterId_;
@@ -211,6 +222,8 @@ public java.lang.String getClusterId() {
*
*
* string cluster_id = 2;
+ *
+ * @return The bytes for clusterId.
*/
public com.google.protobuf.ByteString getClusterIdBytes() {
java.lang.Object ref = clusterId_;
@@ -235,6 +248,8 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
*
*
* .google.bigtable.admin.v2.Cluster cluster = 3;
+ *
+ * @return Whether the cluster field is set.
*/
public boolean hasCluster() {
return cluster_ != null;
@@ -248,6 +263,8 @@ public boolean hasCluster() {
*
*
* .google.bigtable.admin.v2.Cluster cluster = 3;
+ *
+ * @return The cluster.
*/
public com.google.bigtable.admin.v2.Cluster getCluster() {
return cluster_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_;
@@ -639,6 +656,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -661,6 +680,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -683,6 +704,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -703,6 +727,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -720,6 +746,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -743,6 +772,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string cluster_id = 2;
+ *
+ * @return The clusterId.
*/
public java.lang.String getClusterId() {
java.lang.Object ref = clusterId_;
@@ -765,6 +796,8 @@ public java.lang.String getClusterId() {
*
*
* string cluster_id = 2;
+ *
+ * @return The bytes for clusterId.
*/
public com.google.protobuf.ByteString getClusterIdBytes() {
java.lang.Object ref = clusterId_;
@@ -787,6 +820,9 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
*
*
* string cluster_id = 2;
+ *
+ * @param value The clusterId to set.
+ * @return This builder for chaining.
*/
public Builder setClusterId(java.lang.String value) {
if (value == null) {
@@ -807,6 +843,8 @@ public Builder setClusterId(java.lang.String value) {
*
*
* string cluster_id = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearClusterId() {
@@ -824,6 +862,9 @@ public Builder clearClusterId() {
*
*
* string cluster_id = 2;
+ *
+ * @param value The bytes for clusterId to set.
+ * @return This builder for chaining.
*/
public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -851,6 +892,8 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
*
*
* .google.bigtable.admin.v2.Cluster cluster = 3;
+ *
+ * @return Whether the cluster field is set.
*/
public boolean hasCluster() {
return clusterBuilder_ != null || cluster_ != null;
@@ -864,6 +907,8 @@ public boolean hasCluster() {
*
*
* .google.bigtable.admin.v2.Cluster cluster = 3;
+ *
+ * @return The cluster.
*/
public com.google.bigtable.admin.v2.Cluster getCluster() {
if (clusterBuilder_ == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java
index 26b796d518..49d6bdb42a 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -33,6 +33,8 @@ public interface CreateClusterRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -45,6 +47,8 @@ public interface CreateClusterRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -58,6 +62,8 @@ public interface CreateClusterRequestOrBuilder
*
*
* string cluster_id = 2;
+ *
+ * @return The clusterId.
*/
java.lang.String getClusterId();
/**
@@ -70,6 +76,8 @@ public interface CreateClusterRequestOrBuilder
*
*
* string cluster_id = 2;
+ *
+ * @return The bytes for clusterId.
*/
com.google.protobuf.ByteString getClusterIdBytes();
@@ -82,6 +90,8 @@ public interface CreateClusterRequestOrBuilder
*
*
* .google.bigtable.admin.v2.Cluster cluster = 3;
+ *
+ * @return Whether the cluster field is set.
*/
boolean hasCluster();
/**
@@ -93,6 +103,8 @@ public interface CreateClusterRequestOrBuilder
*
*
* .google.bigtable.admin.v2.Cluster cluster = 3;
+ *
+ * @return The cluster.
*/
com.google.bigtable.admin.v2.Cluster getCluster();
/**
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java
index 6976ce72cf..62167e12c8 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private CreateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder>
private CreateInstanceMetadata() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateInstanceMetadata();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private CreateInstanceMetadata(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -154,6 +159,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
public boolean hasOriginalRequest() {
return originalRequest_ != null;
@@ -166,6 +173,8 @@ public boolean hasOriginalRequest() {
*
*
* .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1;
+ *
+ * @return The originalRequest.
*/
public com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest() {
return originalRequest_ == null
@@ -195,6 +204,8 @@ public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder getOriginalRe
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
public boolean hasRequestTime() {
return requestTime_ != null;
@@ -207,6 +218,8 @@ public boolean hasRequestTime() {
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
public com.google.protobuf.Timestamp getRequestTime() {
return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_;
@@ -234,6 +247,8 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
public boolean hasFinishTime() {
return finishTime_ != null;
@@ -246,6 +261,8 @@ public boolean hasFinishTime() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
public com.google.protobuf.Timestamp getFinishTime() {
return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_;
@@ -663,6 +680,8 @@ public Builder mergeFrom(
*
*
* .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
public boolean hasOriginalRequest() {
return originalRequestBuilder_ != null || originalRequest_ != null;
@@ -675,6 +694,8 @@ public boolean hasOriginalRequest() {
*
*
* .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1;
+ *
+ * @return The originalRequest.
*/
public com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest() {
if (originalRequestBuilder_ == null) {
@@ -846,6 +867,8 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest.Builder getOriginalReq
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
public boolean hasRequestTime() {
return requestTimeBuilder_ != null || requestTime_ != null;
@@ -858,6 +881,8 @@ public boolean hasRequestTime() {
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
public com.google.protobuf.Timestamp getRequestTime() {
if (requestTimeBuilder_ == null) {
@@ -1027,6 +1052,8 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
public boolean hasFinishTime() {
return finishTimeBuilder_ != null || finishTime_ != null;
@@ -1039,6 +1066,8 @@ public boolean hasFinishTime() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
public com.google.protobuf.Timestamp getFinishTime() {
if (finishTimeBuilder_ == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java
index 13a66cfcc5..c12b184f4f 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface CreateInstanceMetadataOrBuilder
*
*
* .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
boolean hasOriginalRequest();
/**
@@ -41,6 +43,8 @@ public interface CreateInstanceMetadataOrBuilder
*
*
* .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1;
+ *
+ * @return The originalRequest.
*/
com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest();
/**
@@ -62,6 +66,8 @@ public interface CreateInstanceMetadataOrBuilder
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
boolean hasRequestTime();
/**
@@ -72,6 +78,8 @@ public interface CreateInstanceMetadataOrBuilder
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
com.google.protobuf.Timestamp getRequestTime();
/**
@@ -93,6 +101,8 @@ public interface CreateInstanceMetadataOrBuilder
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
boolean hasFinishTime();
/**
@@ -103,6 +113,8 @@ public interface CreateInstanceMetadataOrBuilder
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
com.google.protobuf.Timestamp getFinishTime();
/**
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java
index 425844bd49..ce339a1d51 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -42,6 +42,12 @@ private CreateInstanceRequest() {
instanceId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateInstanceRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -98,11 +104,11 @@ private CreateInstanceRequest(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
clusters_ =
com.google.protobuf.MapField.newMapField(
ClustersDefaultEntryHolder.defaultEntry);
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry
clusters__ =
@@ -157,7 +163,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
com.google.bigtable.admin.v2.CreateInstanceRequest.Builder.class);
}
- private int bitField0_;
public static final int PARENT_FIELD_NUMBER = 1;
private volatile java.lang.Object parent_;
/**
@@ -169,6 +174,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -190,6 +197,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -215,6 +224,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string instance_id = 2;
+ *
+ * @return The instanceId.
*/
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
@@ -237,6 +248,8 @@ public java.lang.String getInstanceId() {
*
*
* string instance_id = 2;
+ *
+ * @return The bytes for instanceId.
*/
public com.google.protobuf.ByteString getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
@@ -261,6 +274,8 @@ public com.google.protobuf.ByteString getInstanceIdBytes() {
*
*
* .google.bigtable.admin.v2.Instance instance = 3;
+ *
+ * @return Whether the instance field is set.
*/
public boolean hasInstance() {
return instance_ != null;
@@ -274,6 +289,8 @@ public boolean hasInstance() {
*
*
* .google.bigtable.admin.v2.Instance instance = 3;
+ *
+ * @return The instance.
*/
public com.google.bigtable.admin.v2.Instance getInstance() {
return instance_ == null
@@ -715,7 +732,6 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest buildPartial() {
com.google.bigtable.admin.v2.CreateInstanceRequest result =
new com.google.bigtable.admin.v2.CreateInstanceRequest(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.parent_ = parent_;
result.instanceId_ = instanceId_;
if (instanceBuilder_ == null) {
@@ -725,7 +741,6 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest buildPartial() {
}
result.clusters_ = internalGetClusters();
result.clusters_.makeImmutable();
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -830,6 +845,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -851,6 +868,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -872,6 +891,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -891,6 +913,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -907,6 +931,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -930,6 +957,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string instance_id = 2;
+ *
+ * @return The instanceId.
*/
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
@@ -952,6 +981,8 @@ public java.lang.String getInstanceId() {
*
*
* string instance_id = 2;
+ *
+ * @return The bytes for instanceId.
*/
public com.google.protobuf.ByteString getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
@@ -974,6 +1005,9 @@ public com.google.protobuf.ByteString getInstanceIdBytes() {
*
*
* string instance_id = 2;
+ *
+ * @param value The instanceId to set.
+ * @return This builder for chaining.
*/
public Builder setInstanceId(java.lang.String value) {
if (value == null) {
@@ -994,6 +1028,8 @@ public Builder setInstanceId(java.lang.String value) {
*
*
* string instance_id = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearInstanceId() {
@@ -1011,6 +1047,9 @@ public Builder clearInstanceId() {
*
*
* string instance_id = 2;
+ *
+ * @param value The bytes for instanceId to set.
+ * @return This builder for chaining.
*/
public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1038,6 +1077,8 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) {
*
*
* .google.bigtable.admin.v2.Instance instance = 3;
+ *
+ * @return Whether the instance field is set.
*/
public boolean hasInstance() {
return instanceBuilder_ != null || instance_ != null;
@@ -1051,6 +1092,8 @@ public boolean hasInstance() {
*
*
* .google.bigtable.admin.v2.Instance instance = 3;
+ *
+ * @return The instance.
*/
public com.google.bigtable.admin.v2.Instance getInstance() {
if (instanceBuilder_ == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java
index bcfdf78f9e..0e1685c00c 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface CreateInstanceRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -43,6 +45,8 @@ public interface CreateInstanceRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -56,6 +60,8 @@ public interface CreateInstanceRequestOrBuilder
*
*
* string instance_id = 2;
+ *
+ * @return The instanceId.
*/
java.lang.String getInstanceId();
/**
@@ -68,6 +74,8 @@ public interface CreateInstanceRequestOrBuilder
*
*
* string instance_id = 2;
+ *
+ * @return The bytes for instanceId.
*/
com.google.protobuf.ByteString getInstanceIdBytes();
@@ -80,6 +88,8 @@ public interface CreateInstanceRequestOrBuilder
*
*
* .google.bigtable.admin.v2.Instance instance = 3;
+ *
+ * @return Whether the instance field is set.
*/
boolean hasInstance();
/**
@@ -91,6 +101,8 @@ public interface CreateInstanceRequestOrBuilder
*
*
* .google.bigtable.admin.v2.Instance instance = 3;
+ *
+ * @return The instance.
*/
com.google.bigtable.admin.v2.Instance getInstance();
/**
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java
index 32b317efd6..4a49168291 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -44,6 +44,12 @@ private CreateTableFromSnapshotMetadata(
private CreateTableFromSnapshotMetadata() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateTableFromSnapshotMetadata();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private CreateTableFromSnapshotMetadata(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -160,6 +165,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
public boolean hasOriginalRequest() {
return originalRequest_ != null;
@@ -173,6 +180,8 @@ public boolean hasOriginalRequest() {
*
*
* .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
+ *
+ * @return The originalRequest.
*/
public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest() {
return originalRequest_ == null
@@ -204,6 +213,8 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRe
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
public boolean hasRequestTime() {
return requestTime_ != null;
@@ -216,6 +227,8 @@ public boolean hasRequestTime() {
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
public com.google.protobuf.Timestamp getRequestTime() {
return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_;
@@ -243,6 +256,8 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
public boolean hasFinishTime() {
return finishTime_ != null;
@@ -255,6 +270,8 @@ public boolean hasFinishTime() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
public com.google.protobuf.Timestamp getFinishTime() {
return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_;
@@ -680,6 +697,8 @@ public Builder mergeFrom(
*
*
* .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
public boolean hasOriginalRequest() {
return originalRequestBuilder_ != null || originalRequest_ != null;
@@ -693,6 +712,8 @@ public boolean hasOriginalRequest() {
*
*
* .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
+ *
+ * @return The originalRequest.
*/
public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest() {
if (originalRequestBuilder_ == null) {
@@ -875,6 +896,8 @@ public Builder clearOriginalRequest() {
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
public boolean hasRequestTime() {
return requestTimeBuilder_ != null || requestTime_ != null;
@@ -887,6 +910,8 @@ public boolean hasRequestTime() {
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
public com.google.protobuf.Timestamp getRequestTime() {
if (requestTimeBuilder_ == null) {
@@ -1056,6 +1081,8 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
public boolean hasFinishTime() {
return finishTimeBuilder_ != null || finishTime_ != null;
@@ -1068,6 +1095,8 @@ public boolean hasFinishTime() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
public com.google.protobuf.Timestamp getFinishTime() {
if (finishTimeBuilder_ == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java
index 94fbbe3b5c..ef8e7ecae3 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface CreateTableFromSnapshotMetadataOrBuilder
*
*
* .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
boolean hasOriginalRequest();
/**
@@ -43,6 +45,8 @@ public interface CreateTableFromSnapshotMetadataOrBuilder
*
*
* .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
+ *
+ * @return The originalRequest.
*/
com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest();
/**
@@ -66,6 +70,8 @@ public interface CreateTableFromSnapshotMetadataOrBuilder
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
boolean hasRequestTime();
/**
@@ -76,6 +82,8 @@ public interface CreateTableFromSnapshotMetadataOrBuilder
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
com.google.protobuf.Timestamp getRequestTime();
/**
@@ -97,6 +105,8 @@ public interface CreateTableFromSnapshotMetadataOrBuilder
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
boolean hasFinishTime();
/**
@@ -107,6 +117,8 @@ public interface CreateTableFromSnapshotMetadataOrBuilder
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
com.google.protobuf.Timestamp getFinishTime();
/**
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java
index 6fcca387ee..ca1d231a95 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -49,6 +49,12 @@ private CreateTableFromSnapshotRequest() {
sourceSnapshot_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateTableFromSnapshotRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -62,7 +68,6 @@ private CreateTableFromSnapshotRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -139,6 +144,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -160,6 +167,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -184,6 +193,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string table_id = 2;
+ *
+ * @return The tableId.
*/
public java.lang.String getTableId() {
java.lang.Object ref = tableId_;
@@ -205,6 +216,8 @@ public java.lang.String getTableId() {
*
*
* string table_id = 2;
+ *
+ * @return The bytes for tableId.
*/
public com.google.protobuf.ByteString getTableIdBytes() {
java.lang.Object ref = tableId_;
@@ -231,6 +244,8 @@ public com.google.protobuf.ByteString getTableIdBytes() {
*
*
* string source_snapshot = 3;
+ *
+ * @return The sourceSnapshot.
*/
public java.lang.String getSourceSnapshot() {
java.lang.Object ref = sourceSnapshot_;
@@ -254,6 +269,8 @@ public java.lang.String getSourceSnapshot() {
*
*
* string source_snapshot = 3;
+ *
+ * @return The bytes for sourceSnapshot.
*/
public com.google.protobuf.ByteString getSourceSnapshotBytes() {
java.lang.Object ref = sourceSnapshot_;
@@ -633,6 +650,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -654,6 +673,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -675,6 +696,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -694,6 +718,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -710,6 +736,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -732,6 +761,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string table_id = 2;
+ *
+ * @return The tableId.
*/
public java.lang.String getTableId() {
java.lang.Object ref = tableId_;
@@ -753,6 +784,8 @@ public java.lang.String getTableId() {
*
*
* string table_id = 2;
+ *
+ * @return The bytes for tableId.
*/
public com.google.protobuf.ByteString getTableIdBytes() {
java.lang.Object ref = tableId_;
@@ -774,6 +807,9 @@ public com.google.protobuf.ByteString getTableIdBytes() {
*
*
* string table_id = 2;
+ *
+ * @param value The tableId to set.
+ * @return This builder for chaining.
*/
public Builder setTableId(java.lang.String value) {
if (value == null) {
@@ -793,6 +829,8 @@ public Builder setTableId(java.lang.String value) {
*
*
* string table_id = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTableId() {
@@ -809,6 +847,9 @@ public Builder clearTableId() {
*
*
* string table_id = 2;
+ *
+ * @param value The bytes for tableId to set.
+ * @return This builder for chaining.
*/
public Builder setTableIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -833,6 +874,8 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) {
*
*
* string source_snapshot = 3;
+ *
+ * @return The sourceSnapshot.
*/
public java.lang.String getSourceSnapshot() {
java.lang.Object ref = sourceSnapshot_;
@@ -856,6 +899,8 @@ public java.lang.String getSourceSnapshot() {
*
*
* string source_snapshot = 3;
+ *
+ * @return The bytes for sourceSnapshot.
*/
public com.google.protobuf.ByteString getSourceSnapshotBytes() {
java.lang.Object ref = sourceSnapshot_;
@@ -879,6 +924,9 @@ public com.google.protobuf.ByteString getSourceSnapshotBytes() {
*
*
* string source_snapshot = 3;
+ *
+ * @param value The sourceSnapshot to set.
+ * @return This builder for chaining.
*/
public Builder setSourceSnapshot(java.lang.String value) {
if (value == null) {
@@ -900,6 +948,8 @@ public Builder setSourceSnapshot(java.lang.String value) {
*
*
* string source_snapshot = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSourceSnapshot() {
@@ -918,6 +968,9 @@ public Builder clearSourceSnapshot() {
*
*
* string source_snapshot = 3;
+ *
+ * @param value The bytes for sourceSnapshot to set.
+ * @return This builder for chaining.
*/
public Builder setSourceSnapshotBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java
index c9071abbd3..d205b6e1db 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface CreateTableFromSnapshotRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -43,6 +45,8 @@ public interface CreateTableFromSnapshotRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -55,6 +59,8 @@ public interface CreateTableFromSnapshotRequestOrBuilder
*
*
* string table_id = 2;
+ *
+ * @return The tableId.
*/
java.lang.String getTableId();
/**
@@ -66,6 +72,8 @@ public interface CreateTableFromSnapshotRequestOrBuilder
*
*
* string table_id = 2;
+ *
+ * @return The bytes for tableId.
*/
com.google.protobuf.ByteString getTableIdBytes();
@@ -80,6 +88,8 @@ public interface CreateTableFromSnapshotRequestOrBuilder
*
*
* string source_snapshot = 3;
+ *
+ * @return The sourceSnapshot.
*/
java.lang.String getSourceSnapshot();
/**
@@ -93,6 +103,8 @@ public interface CreateTableFromSnapshotRequestOrBuilder
*
*
* string source_snapshot = 3;
+ *
+ * @return The bytes for sourceSnapshot.
*/
com.google.protobuf.ByteString getSourceSnapshotBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java
index 3f70c8c226..2d8f657870 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -44,6 +44,12 @@ private CreateTableRequest() {
initialSplits_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateTableRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -99,11 +105,11 @@ private CreateTableRequest(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
initialSplits_ =
new java.util.ArrayList<
com.google.bigtable.admin.v2.CreateTableRequest.Split>();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
initialSplits_.add(
input.readMessage(
@@ -125,7 +131,7 @@ private CreateTableRequest(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
initialSplits_ = java.util.Collections.unmodifiableList(initialSplits_);
}
this.unknownFields = unknownFields.build();
@@ -161,6 +167,8 @@ public interface SplitOrBuilder
*
*
* bytes key = 1;
+ *
+ * @return The key.
*/
com.google.protobuf.ByteString getKey();
}
@@ -187,6 +195,12 @@ private Split() {
key_ = com.google.protobuf.ByteString.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Split();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -200,7 +214,6 @@ private Split(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -260,6 +273,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bytes key = 1;
+ *
+ * @return The key.
*/
public com.google.protobuf.ByteString getKey() {
return key_;
@@ -596,6 +611,8 @@ public Builder mergeFrom(
*
*
* bytes key = 1;
+ *
+ * @return The key.
*/
public com.google.protobuf.ByteString getKey() {
return key_;
@@ -608,6 +625,9 @@ public com.google.protobuf.ByteString getKey() {
*
*
* bytes key = 1;
+ *
+ * @param value The key to set.
+ * @return This builder for chaining.
*/
public Builder setKey(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -626,6 +646,8 @@ public Builder setKey(com.google.protobuf.ByteString value) {
*
*
* bytes key = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearKey() {
@@ -686,7 +708,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split getDefaultInstanceF
}
}
- private int bitField0_;
public static final int PARENT_FIELD_NUMBER = 1;
private volatile java.lang.Object parent_;
/**
@@ -698,6 +719,8 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split getDefaultInstanceF
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -719,6 +742,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -743,6 +768,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string table_id = 2;
+ *
+ * @return The tableId.
*/
public java.lang.String getTableId() {
java.lang.Object ref = tableId_;
@@ -764,6 +791,8 @@ public java.lang.String getTableId() {
*
*
* string table_id = 2;
+ *
+ * @return The bytes for tableId.
*/
public com.google.protobuf.ByteString getTableIdBytes() {
java.lang.Object ref = tableId_;
@@ -787,6 +816,8 @@ public com.google.protobuf.ByteString getTableIdBytes() {
*
*
* .google.bigtable.admin.v2.Table table = 3;
+ *
+ * @return Whether the table field is set.
*/
public boolean hasTable() {
return table_ != null;
@@ -799,6 +830,8 @@ public boolean hasTable() {
*
*
* .google.bigtable.admin.v2.Table table = 3;
+ *
+ * @return The table.
*/
public com.google.bigtable.admin.v2.Table getTable() {
return table_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_;
@@ -1200,7 +1233,7 @@ public Builder clear() {
}
if (initialSplitsBuilder_ == null) {
initialSplits_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
initialSplitsBuilder_.clear();
}
@@ -1232,7 +1265,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest buildPartial() {
com.google.bigtable.admin.v2.CreateTableRequest result =
new com.google.bigtable.admin.v2.CreateTableRequest(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.parent_ = parent_;
result.tableId_ = tableId_;
if (tableBuilder_ == null) {
@@ -1241,15 +1273,14 @@ public com.google.bigtable.admin.v2.CreateTableRequest buildPartial() {
result.table_ = tableBuilder_.build();
}
if (initialSplitsBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
initialSplits_ = java.util.Collections.unmodifiableList(initialSplits_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.initialSplits_ = initialSplits_;
} else {
result.initialSplits_ = initialSplitsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1315,7 +1346,7 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest other)
if (!other.initialSplits_.isEmpty()) {
if (initialSplits_.isEmpty()) {
initialSplits_ = other.initialSplits_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureInitialSplitsIsMutable();
initialSplits_.addAll(other.initialSplits_);
@@ -1328,7 +1359,7 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest other)
initialSplitsBuilder_.dispose();
initialSplitsBuilder_ = null;
initialSplits_ = other.initialSplits_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
initialSplitsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getInitialSplitsFieldBuilder()
@@ -1379,6 +1410,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -1400,6 +1433,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -1421,6 +1456,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -1440,6 +1478,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -1456,6 +1496,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1478,6 +1521,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string table_id = 2;
+ *
+ * @return The tableId.
*/
public java.lang.String getTableId() {
java.lang.Object ref = tableId_;
@@ -1499,6 +1544,8 @@ public java.lang.String getTableId() {
*
*
* string table_id = 2;
+ *
+ * @return The bytes for tableId.
*/
public com.google.protobuf.ByteString getTableIdBytes() {
java.lang.Object ref = tableId_;
@@ -1520,6 +1567,9 @@ public com.google.protobuf.ByteString getTableIdBytes() {
*
*
* string table_id = 2;
+ *
+ * @param value The tableId to set.
+ * @return This builder for chaining.
*/
public Builder setTableId(java.lang.String value) {
if (value == null) {
@@ -1539,6 +1589,8 @@ public Builder setTableId(java.lang.String value) {
*
*
* string table_id = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTableId() {
@@ -1555,6 +1607,9 @@ public Builder clearTableId() {
*
*
* string table_id = 2;
+ *
+ * @param value The bytes for tableId to set.
+ * @return This builder for chaining.
*/
public Builder setTableIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1581,6 +1636,8 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) {
*
*
* .google.bigtable.admin.v2.Table table = 3;
+ *
+ * @return Whether the table field is set.
*/
public boolean hasTable() {
return tableBuilder_ != null || table_ != null;
@@ -1593,6 +1650,8 @@ public boolean hasTable() {
*
*
* .google.bigtable.admin.v2.Table table = 3;
+ *
+ * @return The table.
*/
public com.google.bigtable.admin.v2.Table getTable() {
if (tableBuilder_ == null) {
@@ -1746,11 +1805,11 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() {
java.util.Collections.emptyList();
private void ensureInitialSplitsIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
initialSplits_ =
new java.util.ArrayList(
initialSplits_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
@@ -2113,7 +2172,7 @@ public Builder addAllInitialSplits(
public Builder clearInitialSplits() {
if (initialSplitsBuilder_ == null) {
initialSplits_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
initialSplitsBuilder_.clear();
@@ -2331,7 +2390,7 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialS
com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder,
com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder>(
initialSplits_,
- ((bitField0_ & 0x00000008) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
initialSplits_ = null;
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
index 733ba19d05..a072fe04f6 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface CreateTableRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -43,6 +45,8 @@ public interface CreateTableRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -55,6 +59,8 @@ public interface CreateTableRequestOrBuilder
*
*
* string table_id = 2;
+ *
+ * @return The tableId.
*/
java.lang.String getTableId();
/**
@@ -66,6 +72,8 @@ public interface CreateTableRequestOrBuilder
*
*
* string table_id = 2;
+ *
+ * @return The bytes for tableId.
*/
com.google.protobuf.ByteString getTableIdBytes();
@@ -77,6 +85,8 @@ public interface CreateTableRequestOrBuilder
*
*
* .google.bigtable.admin.v2.Table table = 3;
+ *
+ * @return Whether the table field is set.
*/
boolean hasTable();
/**
@@ -87,6 +97,8 @@ public interface CreateTableRequestOrBuilder
*
*
* .google.bigtable.admin.v2.Table table = 3;
+ *
+ * @return The table.
*/
com.google.bigtable.admin.v2.Table getTable();
/**
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
index c4350e6395..1dfd713f27 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -41,6 +41,12 @@ private DeleteAppProfileRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteAppProfileRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private DeleteAppProfileRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -122,6 +127,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -143,6 +150,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -166,6 +175,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* bool ignore_warnings = 2;
+ *
+ * @return The ignoreWarnings.
*/
public boolean getIgnoreWarnings() {
return ignoreWarnings_;
@@ -514,6 +525,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -535,6 +548,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -556,6 +571,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -575,6 +593,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -591,6 +611,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -612,6 +635,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* bool ignore_warnings = 2;
+ *
+ * @return The ignoreWarnings.
*/
public boolean getIgnoreWarnings() {
return ignoreWarnings_;
@@ -624,6 +649,9 @@ public boolean getIgnoreWarnings() {
*
*
* bool ignore_warnings = 2;
+ *
+ * @param value The ignoreWarnings to set.
+ * @return This builder for chaining.
*/
public Builder setIgnoreWarnings(boolean value) {
@@ -639,6 +667,8 @@ public Builder setIgnoreWarnings(boolean value) {
*
*
* bool ignore_warnings = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearIgnoreWarnings() {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java
index b8d68f0007..1ca293a13e 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface DeleteAppProfileRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface DeleteAppProfileRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -54,6 +58,8 @@ public interface DeleteAppProfileRequestOrBuilder
*
*
* bool ignore_warnings = 2;
+ *
+ * @return The ignoreWarnings.
*/
boolean getIgnoreWarnings();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java
index 286d07694d..10cef00aa5 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -41,6 +41,12 @@ private DeleteClusterRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteClusterRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private DeleteClusterRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -138,6 +145,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -479,6 +488,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -500,6 +511,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -521,6 +534,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -540,6 +556,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -556,6 +574,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java
index 91447aa697..d6d71c620a 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface DeleteClusterRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface DeleteClusterRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java
index 805f4fe23e..77af44c11d 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -41,6 +41,12 @@ private DeleteInstanceRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteInstanceRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private DeleteInstanceRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -138,6 +145,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -479,6 +488,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -500,6 +511,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -521,6 +534,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -540,6 +556,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -556,6 +574,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java
index d9ceb83216..11ea6a7d91 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface DeleteInstanceRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface DeleteInstanceRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java
index e8a675a201..167e63f9da 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -46,6 +46,12 @@ private DeleteSnapshotRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteSnapshotRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -59,7 +65,6 @@ private DeleteSnapshotRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -123,6 +128,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -145,6 +152,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -492,6 +501,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -514,6 +525,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -536,6 +549,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -556,6 +572,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -573,6 +591,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java
index 38baa7230e..2ed1a8ece0 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -33,6 +33,8 @@ public interface DeleteSnapshotRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface DeleteSnapshotRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java
index 6f326219ac..2dba1c38aa 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -42,6 +42,12 @@ private DeleteTableRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteTableRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private DeleteTableRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -119,6 +124,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -141,6 +148,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -483,6 +492,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -505,6 +516,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -527,6 +540,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -547,6 +563,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -564,6 +582,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java
index 9b996c492b..4ff8ded153 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -33,6 +33,8 @@ public interface DeleteTableRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface DeleteTableRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java
index b2e6115799..cb7e52e55e 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -42,6 +42,12 @@ private DropRowRangeRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DropRowRangeRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private DropRowRangeRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -122,7 +127,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int targetCase_ = 0;
private java.lang.Object target_;
- public enum TargetCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TargetCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
ROW_KEY_PREFIX(2),
DELETE_ALL_DATA_FROM_TABLE(3),
TARGET_NOT_SET(0);
@@ -131,7 +139,11 @@ public enum TargetCase implements com.google.protobuf.Internal.EnumLite {
private TargetCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TargetCase valueOf(int value) {
return forNumber(value);
@@ -171,6 +183,8 @@ public TargetCase getTargetCase() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -193,6 +207,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -216,6 +232,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* bytes row_key_prefix = 2;
+ *
+ * @return The rowKeyPrefix.
*/
public com.google.protobuf.ByteString getRowKeyPrefix() {
if (targetCase_ == 2) {
@@ -233,6 +251,8 @@ public com.google.protobuf.ByteString getRowKeyPrefix() {
*
*
* bool delete_all_data_from_table = 3;
+ *
+ * @return The deleteAllDataFromTable.
*/
public boolean getDeleteAllDataFromTable() {
if (targetCase_ == 3) {
@@ -648,6 +668,8 @@ public Builder clearTarget() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -670,6 +692,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -692,6 +716,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -712,6 +739,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -729,6 +758,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -750,6 +782,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* bytes row_key_prefix = 2;
+ *
+ * @return The rowKeyPrefix.
*/
public com.google.protobuf.ByteString getRowKeyPrefix() {
if (targetCase_ == 2) {
@@ -766,6 +800,9 @@ public com.google.protobuf.ByteString getRowKeyPrefix() {
*
*
* bytes row_key_prefix = 2;
+ *
+ * @param value The rowKeyPrefix to set.
+ * @return This builder for chaining.
*/
public Builder setRowKeyPrefix(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -785,6 +822,8 @@ public Builder setRowKeyPrefix(com.google.protobuf.ByteString value) {
*
*
* bytes row_key_prefix = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowKeyPrefix() {
if (targetCase_ == 2) {
@@ -803,6 +842,8 @@ public Builder clearRowKeyPrefix() {
*
*
* bool delete_all_data_from_table = 3;
+ *
+ * @return The deleteAllDataFromTable.
*/
public boolean getDeleteAllDataFromTable() {
if (targetCase_ == 3) {
@@ -818,6 +859,9 @@ public boolean getDeleteAllDataFromTable() {
*
*
* bool delete_all_data_from_table = 3;
+ *
+ * @param value The deleteAllDataFromTable to set.
+ * @return This builder for chaining.
*/
public Builder setDeleteAllDataFromTable(boolean value) {
targetCase_ = 3;
@@ -833,6 +877,8 @@ public Builder setDeleteAllDataFromTable(boolean value) {
*
*
* bool delete_all_data_from_table = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDeleteAllDataFromTable() {
if (targetCase_ == 3) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java
index 61df05cccf..aa755e4697 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -33,6 +33,8 @@ public interface DropRowRangeRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface DropRowRangeRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -57,6 +61,8 @@ public interface DropRowRangeRequestOrBuilder
*
*
* bytes row_key_prefix = 2;
+ *
+ * @return The rowKeyPrefix.
*/
com.google.protobuf.ByteString getRowKeyPrefix();
@@ -68,6 +74,8 @@ public interface DropRowRangeRequestOrBuilder
*
*
* bool delete_all_data_from_table = 3;
+ *
+ * @return The deleteAllDataFromTable.
*/
boolean getDeleteAllDataFromTable();
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java
index 4a13c479c7..6bd682e879 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private GcRule(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private GcRule() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GcRule();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private GcRule(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -228,6 +233,12 @@ private Intersection() {
rules_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Intersection();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -1207,6 +1218,12 @@ private Union() {
rules_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Union();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -2108,7 +2125,10 @@ public com.google.bigtable.admin.v2.GcRule.Union getDefaultInstanceForType() {
private int ruleCase_ = 0;
private java.lang.Object rule_;
- public enum RuleCase implements com.google.protobuf.Internal.EnumLite {
+ public enum RuleCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
MAX_NUM_VERSIONS(1),
MAX_AGE(2),
INTERSECTION(3),
@@ -2119,7 +2139,11 @@ public enum RuleCase implements com.google.protobuf.Internal.EnumLite {
private RuleCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static RuleCase valueOf(int value) {
return forNumber(value);
@@ -2160,6 +2184,8 @@ public RuleCase getRuleCase() {
*
*
* int32 max_num_versions = 1;
+ *
+ * @return The maxNumVersions.
*/
public int getMaxNumVersions() {
if (ruleCase_ == 1) {
@@ -2179,6 +2205,8 @@ public int getMaxNumVersions() {
*
*
* .google.protobuf.Duration max_age = 2;
+ *
+ * @return Whether the maxAge field is set.
*/
public boolean hasMaxAge() {
return ruleCase_ == 2;
@@ -2193,6 +2221,8 @@ public boolean hasMaxAge() {
*
*
* .google.protobuf.Duration max_age = 2;
+ *
+ * @return The maxAge.
*/
public com.google.protobuf.Duration getMaxAge() {
if (ruleCase_ == 2) {
@@ -2227,6 +2257,8 @@ public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder() {
*
*
* .google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
+ *
+ * @return Whether the intersection field is set.
*/
public boolean hasIntersection() {
return ruleCase_ == 3;
@@ -2239,6 +2271,8 @@ public boolean hasIntersection() {
*
*
* .google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
+ *
+ * @return The intersection.
*/
public com.google.bigtable.admin.v2.GcRule.Intersection getIntersection() {
if (ruleCase_ == 3) {
@@ -2271,6 +2305,8 @@ public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersection
*
*
* .google.bigtable.admin.v2.GcRule.Union union = 4;
+ *
+ * @return Whether the union field is set.
*/
public boolean hasUnion() {
return ruleCase_ == 4;
@@ -2283,6 +2319,8 @@ public boolean hasUnion() {
*
*
* .google.bigtable.admin.v2.GcRule.Union union = 4;
+ *
+ * @return The union.
*/
public com.google.bigtable.admin.v2.GcRule.Union getUnion() {
if (ruleCase_ == 4) {
@@ -2747,6 +2785,8 @@ public Builder clearRule() {
*
*
* int32 max_num_versions = 1;
+ *
+ * @return The maxNumVersions.
*/
public int getMaxNumVersions() {
if (ruleCase_ == 1) {
@@ -2762,6 +2802,9 @@ public int getMaxNumVersions() {
*
*
* int32 max_num_versions = 1;
+ *
+ * @param value The maxNumVersions to set.
+ * @return This builder for chaining.
*/
public Builder setMaxNumVersions(int value) {
ruleCase_ = 1;
@@ -2777,6 +2820,8 @@ public Builder setMaxNumVersions(int value) {
*
*
* int32 max_num_versions = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMaxNumVersions() {
if (ruleCase_ == 1) {
@@ -2802,6 +2847,8 @@ public Builder clearMaxNumVersions() {
*
*
* .google.protobuf.Duration max_age = 2;
+ *
+ * @return Whether the maxAge field is set.
*/
public boolean hasMaxAge() {
return ruleCase_ == 2;
@@ -2816,6 +2863,8 @@ public boolean hasMaxAge() {
*
*
* .google.protobuf.Duration max_age = 2;
+ *
+ * @return The maxAge.
*/
public com.google.protobuf.Duration getMaxAge() {
if (maxAgeBuilder_ == null) {
@@ -3015,6 +3064,8 @@ public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder() {
*
*
* .google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
+ *
+ * @return Whether the intersection field is set.
*/
public boolean hasIntersection() {
return ruleCase_ == 3;
@@ -3027,6 +3078,8 @@ public boolean hasIntersection() {
*
*
* .google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
+ *
+ * @return The intersection.
*/
public com.google.bigtable.admin.v2.GcRule.Intersection getIntersection() {
if (intersectionBuilder_ == null) {
@@ -3217,6 +3270,8 @@ public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersection
*
*
* .google.bigtable.admin.v2.GcRule.Union union = 4;
+ *
+ * @return Whether the union field is set.
*/
public boolean hasUnion() {
return ruleCase_ == 4;
@@ -3229,6 +3284,8 @@ public boolean hasUnion() {
*
*
* .google.bigtable.admin.v2.GcRule.Union union = 4;
+ *
+ * @return The union.
*/
public com.google.bigtable.admin.v2.GcRule.Union getUnion() {
if (unionBuilder_ == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java
index 24a2501003..2c36b7fde2 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface GcRuleOrBuilder
*
*
* int32 max_num_versions = 1;
+ *
+ * @return The maxNumVersions.
*/
int getMaxNumVersions();
@@ -44,6 +46,8 @@ public interface GcRuleOrBuilder
*
*
* .google.protobuf.Duration max_age = 2;
+ *
+ * @return Whether the maxAge field is set.
*/
boolean hasMaxAge();
/**
@@ -56,6 +60,8 @@ public interface GcRuleOrBuilder
*
*
* .google.protobuf.Duration max_age = 2;
+ *
+ * @return The maxAge.
*/
com.google.protobuf.Duration getMaxAge();
/**
@@ -79,6 +85,8 @@ public interface GcRuleOrBuilder
*
*
* .google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
+ *
+ * @return Whether the intersection field is set.
*/
boolean hasIntersection();
/**
@@ -89,6 +97,8 @@ public interface GcRuleOrBuilder
*
*
* .google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
+ *
+ * @return The intersection.
*/
com.google.bigtable.admin.v2.GcRule.Intersection getIntersection();
/**
@@ -110,6 +120,8 @@ public interface GcRuleOrBuilder
*
*
* .google.bigtable.admin.v2.GcRule.Union union = 4;
+ *
+ * @return Whether the union field is set.
*/
boolean hasUnion();
/**
@@ -120,6 +132,8 @@ public interface GcRuleOrBuilder
*
*
* .google.bigtable.admin.v2.GcRule.Union union = 4;
+ *
+ * @return The union.
*/
com.google.bigtable.admin.v2.GcRule.Union getUnion();
/**
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java
index 5e3f8b8849..10b883a4c5 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private GenerateConsistencyTokenRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GenerateConsistencyTokenRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private GenerateConsistencyTokenRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -142,6 +149,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -488,6 +497,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -510,6 +521,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -532,6 +545,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -552,6 +568,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -569,6 +587,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java
index eb6984bd60..f57846b818 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -33,6 +33,8 @@ public interface GenerateConsistencyTokenRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface GenerateConsistencyTokenRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java
index 67efb2b4a2..26860fb551 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private GenerateConsistencyTokenResponse() {
consistencyToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GenerateConsistencyTokenResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private GenerateConsistencyTokenResponse(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -118,6 +123,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string consistency_token = 1;
+ *
+ * @return The consistencyToken.
*/
public java.lang.String getConsistencyToken() {
java.lang.Object ref = consistencyToken_;
@@ -138,6 +145,8 @@ public java.lang.String getConsistencyToken() {
*
*
* string consistency_token = 1;
+ *
+ * @return The bytes for consistencyToken.
*/
public com.google.protobuf.ByteString getConsistencyTokenBytes() {
java.lang.Object ref = consistencyToken_;
@@ -483,6 +492,8 @@ public Builder mergeFrom(
*
*
* string consistency_token = 1;
+ *
+ * @return The consistencyToken.
*/
public java.lang.String getConsistencyToken() {
java.lang.Object ref = consistencyToken_;
@@ -503,6 +514,8 @@ public java.lang.String getConsistencyToken() {
*
*
* string consistency_token = 1;
+ *
+ * @return The bytes for consistencyToken.
*/
public com.google.protobuf.ByteString getConsistencyTokenBytes() {
java.lang.Object ref = consistencyToken_;
@@ -523,6 +536,9 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() {
*
*
* string consistency_token = 1;
+ *
+ * @param value The consistencyToken to set.
+ * @return This builder for chaining.
*/
public Builder setConsistencyToken(java.lang.String value) {
if (value == null) {
@@ -541,6 +557,8 @@ public Builder setConsistencyToken(java.lang.String value) {
*
*
* string consistency_token = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearConsistencyToken() {
@@ -556,6 +574,9 @@ public Builder clearConsistencyToken() {
*
*
* string consistency_token = 1;
+ *
+ * @param value The bytes for consistencyToken to set.
+ * @return This builder for chaining.
*/
public Builder setConsistencyTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java
index b84a87d085..81049bc139 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface GenerateConsistencyTokenResponseOrBuilder
*
*
* string consistency_token = 1;
+ *
+ * @return The consistencyToken.
*/
java.lang.String getConsistencyToken();
/**
@@ -41,6 +43,8 @@ public interface GenerateConsistencyTokenResponseOrBuilder
*
*
* string consistency_token = 1;
+ *
+ * @return The bytes for consistencyToken.
*/
com.google.protobuf.ByteString getConsistencyTokenBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java
index f5c5276793..58b4639337 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -41,6 +41,12 @@ private GetAppProfileRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetAppProfileRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetAppProfileRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -138,6 +145,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -479,6 +488,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -500,6 +511,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -521,6 +534,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -540,6 +556,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -556,6 +574,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java
index 66f08360a6..79248f0fca 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface GetAppProfileRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface GetAppProfileRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java
index 00940211d1..2e37f811bc 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -41,6 +41,12 @@ private GetClusterRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetClusterRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetClusterRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -138,6 +145,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -477,6 +486,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -498,6 +509,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -519,6 +532,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -538,6 +554,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -554,6 +572,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java
index 923b21d6c6..9f079145cd 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface GetClusterRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface GetClusterRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java
index 9d0959ce7e..658ed0b4e6 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -41,6 +41,12 @@ private GetInstanceRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetInstanceRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetInstanceRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -138,6 +145,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -478,6 +487,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -499,6 +510,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -520,6 +533,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -539,6 +555,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -555,6 +573,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java
index 7329cf3fc6..8ebc209cca 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface GetInstanceRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface GetInstanceRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java
index 0507611c61..2a2c1198ac 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -46,6 +46,12 @@ private GetSnapshotRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetSnapshotRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -59,7 +65,6 @@ private GetSnapshotRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -123,6 +128,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -145,6 +152,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -491,6 +500,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -513,6 +524,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -535,6 +548,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -555,6 +571,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -572,6 +590,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java
index 66448a2796..2e5eff0d8a 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -33,6 +33,8 @@ public interface GetSnapshotRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface GetSnapshotRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java
index 2de240bed8..5a62b6aa2d 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private GetTableRequest() {
view_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetTableRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private GetTableRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -149,6 +156,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -173,6 +182,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @return The enum numeric value on the wire for view.
*/
public int getViewValue() {
return view_;
@@ -186,6 +197,8 @@ public int getViewValue() {
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @return The view.
*/
public com.google.bigtable.admin.v2.Table.View getView() {
@SuppressWarnings("deprecation")
@@ -537,6 +550,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -559,6 +574,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -581,6 +598,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -601,6 +621,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -618,6 +640,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -640,6 +665,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @return The enum numeric value on the wire for view.
*/
public int getViewValue() {
return view_;
@@ -653,6 +680,9 @@ public int getViewValue() {
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @param value The enum numeric value on the wire for view to set.
+ * @return This builder for chaining.
*/
public Builder setViewValue(int value) {
view_ = value;
@@ -668,6 +698,8 @@ public Builder setViewValue(int value) {
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @return The view.
*/
public com.google.bigtable.admin.v2.Table.View getView() {
@SuppressWarnings("deprecation")
@@ -684,6 +716,9 @@ public com.google.bigtable.admin.v2.Table.View getView() {
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @param value The view to set.
+ * @return This builder for chaining.
*/
public Builder setView(com.google.bigtable.admin.v2.Table.View value) {
if (value == null) {
@@ -703,6 +738,8 @@ public Builder setView(com.google.bigtable.admin.v2.Table.View value) {
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearView() {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java
index aeddd99f1e..924c49b0c7 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -33,6 +33,8 @@ public interface GetTableRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface GetTableRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -57,6 +61,8 @@ public interface GetTableRequestOrBuilder
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @return The enum numeric value on the wire for view.
*/
int getViewValue();
/**
@@ -68,6 +74,8 @@ public interface GetTableRequestOrBuilder
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @return The view.
*/
com.google.bigtable.admin.v2.Table.View getView();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java
index 75ac86a9df..d9027c8732 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -47,6 +47,12 @@ private Instance() {
type_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Instance();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -101,10 +107,10 @@ private Instance(
}
case 42:
{
- if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
labels_ =
com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
- mutable_bitField0_ |= 0x00000010;
+ mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry labels__ =
input.readMessage(
@@ -243,12 +249,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static State valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static State forNumber(int value) {
switch (value) {
case 0:
@@ -406,12 +420,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static Type valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static Type forNumber(int value) {
switch (value) {
case 0:
@@ -469,7 +491,6 @@ private Type(int value) {
// @@protoc_insertion_point(enum_scope:google.bigtable.admin.v2.Instance.Type)
}
- private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
@@ -482,6 +503,8 @@ private Type(int value) {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -504,6 +527,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -529,6 +554,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -551,6 +578,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -575,6 +604,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* .google.bigtable.admin.v2.Instance.State state = 3;
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -588,6 +619,8 @@ public int getStateValue() {
*
*
* .google.bigtable.admin.v2.Instance.State state = 3;
+ *
+ * @return The state.
*/
public com.google.bigtable.admin.v2.Instance.State getState() {
@SuppressWarnings("deprecation")
@@ -606,6 +639,8 @@ public com.google.bigtable.admin.v2.Instance.State getState() {
*
*
* .google.bigtable.admin.v2.Instance.Type type = 4;
+ *
+ * @return The enum numeric value on the wire for type.
*/
public int getTypeValue() {
return type_;
@@ -618,6 +653,8 @@ public int getTypeValue() {
*
*
* .google.bigtable.admin.v2.Instance.Type type = 4;
+ *
+ * @return The type.
*/
public com.google.bigtable.admin.v2.Instance.Type getType() {
@SuppressWarnings("deprecation")
@@ -1061,14 +1098,12 @@ public com.google.bigtable.admin.v2.Instance buildPartial() {
com.google.bigtable.admin.v2.Instance result =
new com.google.bigtable.admin.v2.Instance(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
result.displayName_ = displayName_;
result.state_ = state_;
result.type_ = type_;
result.labels_ = internalGetLabels();
result.labels_.makeImmutable();
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1175,6 +1210,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1197,6 +1234,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1219,6 +1258,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -1239,6 +1281,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -1256,6 +1300,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1279,6 +1326,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -1301,6 +1350,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -1323,6 +1374,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -1343,6 +1397,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -1360,6 +1416,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1382,6 +1441,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.bigtable.admin.v2.Instance.State state = 3;
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -1395,6 +1456,9 @@ public int getStateValue() {
*
*
* .google.bigtable.admin.v2.Instance.State state = 3;
+ *
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
*/
public Builder setStateValue(int value) {
state_ = value;
@@ -1410,6 +1474,8 @@ public Builder setStateValue(int value) {
*
*
* .google.bigtable.admin.v2.Instance.State state = 3;
+ *
+ * @return The state.
*/
public com.google.bigtable.admin.v2.Instance.State getState() {
@SuppressWarnings("deprecation")
@@ -1426,6 +1492,9 @@ public com.google.bigtable.admin.v2.Instance.State getState() {
*
*
* .google.bigtable.admin.v2.Instance.State state = 3;
+ *
+ * @param value The state to set.
+ * @return This builder for chaining.
*/
public Builder setState(com.google.bigtable.admin.v2.Instance.State value) {
if (value == null) {
@@ -1445,6 +1514,8 @@ public Builder setState(com.google.bigtable.admin.v2.Instance.State value) {
*
*
* .google.bigtable.admin.v2.Instance.State state = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearState() {
@@ -1462,6 +1533,8 @@ public Builder clearState() {
*
*
* .google.bigtable.admin.v2.Instance.Type type = 4;
+ *
+ * @return The enum numeric value on the wire for type.
*/
public int getTypeValue() {
return type_;
@@ -1474,6 +1547,9 @@ public int getTypeValue() {
*
*
* .google.bigtable.admin.v2.Instance.Type type = 4;
+ *
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
type_ = value;
@@ -1488,6 +1564,8 @@ public Builder setTypeValue(int value) {
*
*
* .google.bigtable.admin.v2.Instance.Type type = 4;
+ *
+ * @return The type.
*/
public com.google.bigtable.admin.v2.Instance.Type getType() {
@SuppressWarnings("deprecation")
@@ -1503,6 +1581,9 @@ public com.google.bigtable.admin.v2.Instance.Type getType() {
*
*
* .google.bigtable.admin.v2.Instance.Type type = 4;
+ *
+ * @param value The type to set.
+ * @return This builder for chaining.
*/
public Builder setType(com.google.bigtable.admin.v2.Instance.Type value) {
if (value == null) {
@@ -1521,6 +1602,8 @@ public Builder setType(com.google.bigtable.admin.v2.Instance.Type value) {
*
*
* .google.bigtable.admin.v2.Instance.Type type = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearType() {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java
index 3fe27740f1..91172a5100 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class InstanceName implements ResourceName {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java
index 400f857c9c..472054baa0 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -33,6 +33,8 @@ public interface InstanceOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface InstanceOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -58,6 +62,8 @@ public interface InstanceOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -70,6 +76,8 @@ public interface InstanceOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -82,6 +90,8 @@ public interface InstanceOrBuilder
*
*
* .google.bigtable.admin.v2.Instance.State state = 3;
+ *
+ * @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
@@ -93,6 +103,8 @@ public interface InstanceOrBuilder
*
*
* .google.bigtable.admin.v2.Instance.State state = 3;
+ *
+ * @return The state.
*/
com.google.bigtable.admin.v2.Instance.State getState();
@@ -104,6 +116,8 @@ public interface InstanceOrBuilder
*
*
* .google.bigtable.admin.v2.Instance.Type type = 4;
+ *
+ * @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
@@ -114,6 +128,8 @@ public interface InstanceOrBuilder
*
*
* .google.bigtable.admin.v2.Instance.Type type = 4;
+ *
+ * @return The type.
*/
com.google.bigtable.admin.v2.Instance.Type getType();
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java
index fbe50bf4b0..6d5dccd17d 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -96,21 +96,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "table.Admin.V2\312\002\036Google\\Cloud\\Bigtable\\A"
+ "dmin\\V2b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.bigtable.admin.v2.CommonProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.bigtable.admin.v2.CommonProto.getDescriptor(),
+ });
internal_static_google_bigtable_admin_v2_Instance_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable =
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java
index d61dbeeaf3..42e100c417 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -42,6 +42,12 @@ private ListAppProfilesRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListAppProfilesRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private ListAppProfilesRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -157,6 +164,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -181,6 +190,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -196,6 +207,8 @@ public int getPageSize() {
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -216,6 +229,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -591,6 +606,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -615,6 +632,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -639,6 +658,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -661,6 +683,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -680,6 +704,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -702,6 +729,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -715,6 +744,9 @@ public int getPageSize() {
*
*
* int32 page_size = 3;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -731,6 +763,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -748,6 +782,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -768,6 +804,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -788,6 +826,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 2;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -806,6 +847,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -821,6 +864,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 2;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java
index 4527f2595c..2de07c9832 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -35,6 +35,8 @@ public interface ListAppProfilesRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -49,6 +51,8 @@ public interface ListAppProfilesRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -61,6 +65,8 @@ public interface ListAppProfilesRequestOrBuilder
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -72,6 +78,8 @@ public interface ListAppProfilesRequestOrBuilder
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -82,6 +90,8 @@ public interface ListAppProfilesRequestOrBuilder
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java
index 1b126fb34e..c6a9bf1a68 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private ListAppProfilesResponse() {
failedLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListAppProfilesResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -88,9 +94,9 @@ private ListAppProfilesResponse(
case 26:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
failedLocations_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000002;
}
failedLocations_.add(s);
break;
@@ -112,7 +118,7 @@ private ListAppProfilesResponse(
if (((mutable_bitField0_ & 0x00000001) != 0)) {
appProfiles_ = java.util.Collections.unmodifiableList(appProfiles_);
}
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
failedLocations_ = failedLocations_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
@@ -135,7 +141,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.bigtable.admin.v2.ListAppProfilesResponse.Builder.class);
}
- private int bitField0_;
public static final int APP_PROFILES_FIELD_NUMBER = 1;
private java.util.List appProfiles_;
/**
@@ -212,6 +217,8 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -234,6 +241,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -260,6 +269,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* repeated string failed_locations = 3;
+ *
+ * @return A list containing the failedLocations.
*/
public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
return failedLocations_;
@@ -275,6 +286,8 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
*
*
* repeated string failed_locations = 3;
+ *
+ * @return The count of failedLocations.
*/
public int getFailedLocationsCount() {
return failedLocations_.size();
@@ -290,6 +303,9 @@ public int getFailedLocationsCount() {
*
*
* repeated string failed_locations = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The failedLocations at the given index.
*/
public java.lang.String getFailedLocations(int index) {
return failedLocations_.get(index);
@@ -305,6 +321,9 @@ public java.lang.String getFailedLocations(int index) {
*
*
* repeated string failed_locations = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the failedLocations at the given index.
*/
public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
return failedLocations_.getByteString(index);
@@ -552,7 +571,7 @@ public Builder clear() {
nextPageToken_ = "";
failedLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -581,7 +600,6 @@ public com.google.bigtable.admin.v2.ListAppProfilesResponse buildPartial() {
com.google.bigtable.admin.v2.ListAppProfilesResponse result =
new com.google.bigtable.admin.v2.ListAppProfilesResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (appProfilesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
appProfiles_ = java.util.Collections.unmodifiableList(appProfiles_);
@@ -592,12 +610,11 @@ public com.google.bigtable.admin.v2.ListAppProfilesResponse buildPartial() {
result.appProfiles_ = appProfilesBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
failedLocations_ = failedLocations_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.failedLocations_ = failedLocations_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -682,7 +699,7 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListAppProfilesResponse ot
if (!other.failedLocations_.isEmpty()) {
if (failedLocations_.isEmpty()) {
failedLocations_ = other.failedLocations_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureFailedLocationsIsMutable();
failedLocations_.addAll(other.failedLocations_);
@@ -1082,6 +1099,8 @@ public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder(int
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1104,6 +1123,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1126,6 +1147,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1146,6 +1170,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1163,6 +1189,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1179,9 +1208,9 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureFailedLocationsIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000002;
}
}
/**
@@ -1195,6 +1224,8 @@ private void ensureFailedLocationsIsMutable() {
*
*
* repeated string failed_locations = 3;
+ *
+ * @return A list containing the failedLocations.
*/
public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
return failedLocations_.getUnmodifiableView();
@@ -1210,6 +1241,8 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
*
*
* repeated string failed_locations = 3;
+ *
+ * @return The count of failedLocations.
*/
public int getFailedLocationsCount() {
return failedLocations_.size();
@@ -1225,6 +1258,9 @@ public int getFailedLocationsCount() {
*
*
* repeated string failed_locations = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The failedLocations at the given index.
*/
public java.lang.String getFailedLocations(int index) {
return failedLocations_.get(index);
@@ -1240,6 +1276,9 @@ public java.lang.String getFailedLocations(int index) {
*
*
* repeated string failed_locations = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the failedLocations at the given index.
*/
public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
return failedLocations_.getByteString(index);
@@ -1255,6 +1294,10 @@ public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
*
*
* repeated string failed_locations = 3;
+ *
+ * @param index The index to set the value at.
+ * @param value The failedLocations to set.
+ * @return This builder for chaining.
*/
public Builder setFailedLocations(int index, java.lang.String value) {
if (value == null) {
@@ -1276,6 +1319,9 @@ public Builder setFailedLocations(int index, java.lang.String value) {
*
*
* repeated string failed_locations = 3;
+ *
+ * @param value The failedLocations to add.
+ * @return This builder for chaining.
*/
public Builder addFailedLocations(java.lang.String value) {
if (value == null) {
@@ -1297,6 +1343,9 @@ public Builder addFailedLocations(java.lang.String value) {
*
*
* repeated string failed_locations = 3;
+ *
+ * @param values The failedLocations to add.
+ * @return This builder for chaining.
*/
public Builder addAllFailedLocations(java.lang.Iterable values) {
ensureFailedLocationsIsMutable();
@@ -1315,10 +1364,12 @@ public Builder addAllFailedLocations(java.lang.Iterable values
*
*
* repeated string failed_locations = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFailedLocations() {
failedLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -1333,6 +1384,9 @@ public Builder clearFailedLocations() {
*
*
* repeated string failed_locations = 3;
+ *
+ * @param value The bytes of the failedLocations to add.
+ * @return This builder for chaining.
*/
public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java
index 5e62d2ab13..b4a022e5af 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -85,6 +85,8 @@ public interface ListAppProfilesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -97,6 +99,8 @@ public interface ListAppProfilesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
@@ -111,6 +115,8 @@ public interface ListAppProfilesResponseOrBuilder
*
*
* repeated string failed_locations = 3;
+ *
+ * @return A list containing the failedLocations.
*/
java.util.List getFailedLocationsList();
/**
@@ -124,6 +130,8 @@ public interface ListAppProfilesResponseOrBuilder
*
*
* repeated string failed_locations = 3;
+ *
+ * @return The count of failedLocations.
*/
int getFailedLocationsCount();
/**
@@ -137,6 +145,9 @@ public interface ListAppProfilesResponseOrBuilder
*
*
* repeated string failed_locations = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The failedLocations at the given index.
*/
java.lang.String getFailedLocations(int index);
/**
@@ -150,6 +161,9 @@ public interface ListAppProfilesResponseOrBuilder
*
*
* repeated string failed_locations = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the failedLocations at the given index.
*/
com.google.protobuf.ByteString getFailedLocationsBytes(int index);
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java
index e4fcc79dcc..b4789f9858 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -42,6 +42,12 @@ private ListClustersRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListClustersRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private ListClustersRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -150,6 +157,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -173,6 +182,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -193,6 +204,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -551,6 +564,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -574,6 +589,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -597,6 +614,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -618,6 +638,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -636,6 +658,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -657,6 +682,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -677,6 +704,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -697,6 +726,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 2;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -715,6 +747,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -730,6 +764,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 2;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java
index 334a68dba8..db0520c1d3 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -34,6 +34,8 @@ public interface ListClustersRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -47,6 +49,8 @@ public interface ListClustersRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -58,6 +62,8 @@ public interface ListClustersRequestOrBuilder
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -68,6 +74,8 @@ public interface ListClustersRequestOrBuilder
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java
index 845846db0f..f3f702a592 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private ListClustersResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListClustersResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -135,7 +141,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.bigtable.admin.v2.ListClustersResponse.Builder.class);
}
- private int bitField0_;
public static final int CLUSTERS_FIELD_NUMBER = 1;
private java.util.List clusters_;
/**
@@ -214,6 +219,8 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int in
*
*
* repeated string failed_locations = 2;
+ *
+ * @return A list containing the failedLocations.
*/
public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
return failedLocations_;
@@ -230,6 +237,8 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
*
*
* repeated string failed_locations = 2;
+ *
+ * @return The count of failedLocations.
*/
public int getFailedLocationsCount() {
return failedLocations_.size();
@@ -246,6 +255,9 @@ public int getFailedLocationsCount() {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The failedLocations at the given index.
*/
public java.lang.String getFailedLocations(int index) {
return failedLocations_.get(index);
@@ -262,6 +274,9 @@ public java.lang.String getFailedLocations(int index) {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the failedLocations at the given index.
*/
public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
return failedLocations_.getByteString(index);
@@ -277,6 +292,8 @@ public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
*
*
* string next_page_token = 3;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -297,6 +314,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 3;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -581,7 +600,6 @@ public com.google.bigtable.admin.v2.ListClustersResponse buildPartial() {
com.google.bigtable.admin.v2.ListClustersResponse result =
new com.google.bigtable.admin.v2.ListClustersResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (clustersBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
clusters_ = java.util.Collections.unmodifiableList(clusters_);
@@ -597,7 +615,6 @@ public com.google.bigtable.admin.v2.ListClustersResponse buildPartial() {
}
result.failedLocations_ = failedLocations_;
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1090,6 +1107,8 @@ private void ensureFailedLocationsIsMutable() {
*
*
* repeated string failed_locations = 2;
+ *
+ * @return A list containing the failedLocations.
*/
public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
return failedLocations_.getUnmodifiableView();
@@ -1106,6 +1125,8 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
*
*
* repeated string failed_locations = 2;
+ *
+ * @return The count of failedLocations.
*/
public int getFailedLocationsCount() {
return failedLocations_.size();
@@ -1122,6 +1143,9 @@ public int getFailedLocationsCount() {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The failedLocations at the given index.
*/
public java.lang.String getFailedLocations(int index) {
return failedLocations_.get(index);
@@ -1138,6 +1162,9 @@ public java.lang.String getFailedLocations(int index) {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the failedLocations at the given index.
*/
public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
return failedLocations_.getByteString(index);
@@ -1154,6 +1181,10 @@ public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param index The index to set the value at.
+ * @param value The failedLocations to set.
+ * @return This builder for chaining.
*/
public Builder setFailedLocations(int index, java.lang.String value) {
if (value == null) {
@@ -1176,6 +1207,9 @@ public Builder setFailedLocations(int index, java.lang.String value) {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param value The failedLocations to add.
+ * @return This builder for chaining.
*/
public Builder addFailedLocations(java.lang.String value) {
if (value == null) {
@@ -1198,6 +1232,9 @@ public Builder addFailedLocations(java.lang.String value) {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param values The failedLocations to add.
+ * @return This builder for chaining.
*/
public Builder addAllFailedLocations(java.lang.Iterable values) {
ensureFailedLocationsIsMutable();
@@ -1217,6 +1254,8 @@ public Builder addAllFailedLocations(java.lang.Iterable values
*
*
* repeated string failed_locations = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFailedLocations() {
failedLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -1236,6 +1275,9 @@ public Builder clearFailedLocations() {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param value The bytes of the failedLocations to add.
+ * @return This builder for chaining.
*/
public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1257,6 +1299,8 @@ public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) {
*
*
* string next_page_token = 3;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1277,6 +1321,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 3;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1297,6 +1343,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 3;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1315,6 +1364,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1330,6 +1381,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 3;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java
index a234486f83..9ca59de913 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -87,6 +87,8 @@ public interface ListClustersResponseOrBuilder
*
*
* repeated string failed_locations = 2;
+ *
+ * @return A list containing the failedLocations.
*/
java.util.List getFailedLocationsList();
/**
@@ -101,6 +103,8 @@ public interface ListClustersResponseOrBuilder
*
*
* repeated string failed_locations = 2;
+ *
+ * @return The count of failedLocations.
*/
int getFailedLocationsCount();
/**
@@ -115,6 +119,9 @@ public interface ListClustersResponseOrBuilder
*
*
* repeated string failed_locations = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The failedLocations at the given index.
*/
java.lang.String getFailedLocations(int index);
/**
@@ -129,6 +136,9 @@ public interface ListClustersResponseOrBuilder
*
*
* repeated string failed_locations = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the failedLocations at the given index.
*/
com.google.protobuf.ByteString getFailedLocationsBytes(int index);
@@ -140,6 +150,8 @@ public interface ListClustersResponseOrBuilder
*
*
* string next_page_token = 3;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -150,6 +162,8 @@ public interface ListClustersResponseOrBuilder
*
*
* string next_page_token = 3;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java
index 097480007c..67a77e8bbf 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -42,6 +42,12 @@ private ListInstancesRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListInstancesRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private ListInstancesRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -125,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -146,6 +153,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -169,6 +178,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -189,6 +200,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -546,6 +559,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -567,6 +582,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -588,6 +605,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -607,6 +627,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -623,6 +645,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -644,6 +669,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -664,6 +691,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -684,6 +713,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 2;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -702,6 +734,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -717,6 +751,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 2;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java
index 9586c44348..ecc59c0e67 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface ListInstancesRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -43,6 +45,8 @@ public interface ListInstancesRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -54,6 +58,8 @@ public interface ListInstancesRequestOrBuilder
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -64,6 +70,8 @@ public interface ListInstancesRequestOrBuilder
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java
index bb5a54ae5a..92e78b9394 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private ListInstancesResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListInstancesResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -135,7 +141,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.bigtable.admin.v2.ListInstancesResponse.Builder.class);
}
- private int bitField0_;
public static final int INSTANCES_FIELD_NUMBER = 1;
private java.util.List instances_;
/**
@@ -215,6 +220,8 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int
*
*
* repeated string failed_locations = 2;
+ *
+ * @return A list containing the failedLocations.
*/
public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
return failedLocations_;
@@ -232,6 +239,8 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
*
*
* repeated string failed_locations = 2;
+ *
+ * @return The count of failedLocations.
*/
public int getFailedLocationsCount() {
return failedLocations_.size();
@@ -249,6 +258,9 @@ public int getFailedLocationsCount() {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The failedLocations at the given index.
*/
public java.lang.String getFailedLocations(int index) {
return failedLocations_.get(index);
@@ -266,6 +278,9 @@ public java.lang.String getFailedLocations(int index) {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the failedLocations at the given index.
*/
public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
return failedLocations_.getByteString(index);
@@ -281,6 +296,8 @@ public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
*
*
* string next_page_token = 3;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -301,6 +318,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 3;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -585,7 +604,6 @@ public com.google.bigtable.admin.v2.ListInstancesResponse buildPartial() {
com.google.bigtable.admin.v2.ListInstancesResponse result =
new com.google.bigtable.admin.v2.ListInstancesResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (instancesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
instances_ = java.util.Collections.unmodifiableList(instances_);
@@ -601,7 +619,6 @@ public com.google.bigtable.admin.v2.ListInstancesResponse buildPartial() {
}
result.failedLocations_ = failedLocations_;
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1095,6 +1112,8 @@ private void ensureFailedLocationsIsMutable() {
*
*
* repeated string failed_locations = 2;
+ *
+ * @return A list containing the failedLocations.
*/
public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
return failedLocations_.getUnmodifiableView();
@@ -1112,6 +1131,8 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
*
*
* repeated string failed_locations = 2;
+ *
+ * @return The count of failedLocations.
*/
public int getFailedLocationsCount() {
return failedLocations_.size();
@@ -1129,6 +1150,9 @@ public int getFailedLocationsCount() {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The failedLocations at the given index.
*/
public java.lang.String getFailedLocations(int index) {
return failedLocations_.get(index);
@@ -1146,6 +1170,9 @@ public java.lang.String getFailedLocations(int index) {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the failedLocations at the given index.
*/
public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
return failedLocations_.getByteString(index);
@@ -1163,6 +1190,10 @@ public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param index The index to set the value at.
+ * @param value The failedLocations to set.
+ * @return This builder for chaining.
*/
public Builder setFailedLocations(int index, java.lang.String value) {
if (value == null) {
@@ -1186,6 +1217,9 @@ public Builder setFailedLocations(int index, java.lang.String value) {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param value The failedLocations to add.
+ * @return This builder for chaining.
*/
public Builder addFailedLocations(java.lang.String value) {
if (value == null) {
@@ -1209,6 +1243,9 @@ public Builder addFailedLocations(java.lang.String value) {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param values The failedLocations to add.
+ * @return This builder for chaining.
*/
public Builder addAllFailedLocations(java.lang.Iterable values) {
ensureFailedLocationsIsMutable();
@@ -1229,6 +1266,8 @@ public Builder addAllFailedLocations(java.lang.Iterable values
*
*
* repeated string failed_locations = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFailedLocations() {
failedLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -1249,6 +1288,9 @@ public Builder clearFailedLocations() {
*
*
* repeated string failed_locations = 2;
+ *
+ * @param value The bytes of the failedLocations to add.
+ * @return This builder for chaining.
*/
public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1270,6 +1312,8 @@ public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) {
*
*
* string next_page_token = 3;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1290,6 +1334,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 3;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1310,6 +1356,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 3;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1328,6 +1377,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1343,6 +1394,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 3;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java
index f0acb8ca11..74165dcc31 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -88,6 +88,8 @@ public interface ListInstancesResponseOrBuilder
*
*
* repeated string failed_locations = 2;
+ *
+ * @return A list containing the failedLocations.
*/
java.util.List getFailedLocationsList();
/**
@@ -103,6 +105,8 @@ public interface ListInstancesResponseOrBuilder
*
*
* repeated string failed_locations = 2;
+ *
+ * @return The count of failedLocations.
*/
int getFailedLocationsCount();
/**
@@ -118,6 +122,9 @@ public interface ListInstancesResponseOrBuilder
*
*
* repeated string failed_locations = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The failedLocations at the given index.
*/
java.lang.String getFailedLocations(int index);
/**
@@ -133,6 +140,9 @@ public interface ListInstancesResponseOrBuilder
*
*
* repeated string failed_locations = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the failedLocations at the given index.
*/
com.google.protobuf.ByteString getFailedLocationsBytes(int index);
@@ -144,6 +154,8 @@ public interface ListInstancesResponseOrBuilder
*
*
* string next_page_token = 3;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -154,6 +166,8 @@ public interface ListInstancesResponseOrBuilder
*
*
* string next_page_token = 3;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java
index 0b155bcd61..ecc0b09eff 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -47,6 +47,12 @@ private ListSnapshotsRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListSnapshotsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -60,7 +66,6 @@ private ListSnapshotsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -138,6 +143,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -162,6 +169,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -186,6 +195,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -201,6 +212,8 @@ public int getPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -221,6 +234,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -601,6 +616,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -625,6 +642,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -649,6 +668,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -671,6 +693,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -690,6 +714,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -712,6 +739,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -725,6 +754,9 @@ public int getPageSize() {
*
*
* int32 page_size = 2;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -741,6 +773,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -758,6 +792,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -778,6 +814,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -798,6 +836,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 3;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -816,6 +857,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -831,6 +874,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 3;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java
index d5ed7d34de..9af4cd03a6 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -35,6 +35,8 @@ public interface ListSnapshotsRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -49,6 +51,8 @@ public interface ListSnapshotsRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -61,6 +65,8 @@ public interface ListSnapshotsRequestOrBuilder
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -72,6 +78,8 @@ public interface ListSnapshotsRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -82,6 +90,8 @@ public interface ListSnapshotsRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java
index f369f45107..c90a3b89f8 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -47,6 +47,12 @@ private ListSnapshotsResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListSnapshotsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -126,7 +132,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.bigtable.admin.v2.ListSnapshotsResponse.Builder.class);
}
- private int bitField0_;
public static final int SNAPSHOTS_FIELD_NUMBER = 1;
private java.util.List snapshots_;
/**
@@ -203,6 +208,8 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -225,6 +232,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -496,7 +505,6 @@ public com.google.bigtable.admin.v2.ListSnapshotsResponse buildPartial() {
com.google.bigtable.admin.v2.ListSnapshotsResponse result =
new com.google.bigtable.admin.v2.ListSnapshotsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (snapshotsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
snapshots_ = java.util.Collections.unmodifiableList(snapshots_);
@@ -507,7 +515,6 @@ public com.google.bigtable.admin.v2.ListSnapshotsResponse buildPartial() {
result.snapshots_ = snapshotsBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -980,6 +987,8 @@ public java.util.List getSnapshot
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1002,6 +1011,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1024,6 +1035,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1044,6 +1058,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1061,6 +1077,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java
index 32c2688925..d321a94cb6 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -85,6 +85,8 @@ public interface ListSnapshotsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -97,6 +99,8 @@ public interface ListSnapshotsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java
index 3563796734..116b9e1c58 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -44,6 +44,12 @@ private ListTablesRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListTablesRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private ListTablesRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -139,6 +144,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -160,6 +167,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -184,6 +193,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @return The enum numeric value on the wire for view.
*/
public int getViewValue() {
return view_;
@@ -197,6 +208,8 @@ public int getViewValue() {
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @return The view.
*/
public com.google.bigtable.admin.v2.Table.View getView() {
@SuppressWarnings("deprecation")
@@ -216,6 +229,8 @@ public com.google.bigtable.admin.v2.Table.View getView() {
*
*
* int32 page_size = 4;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -231,6 +246,8 @@ public int getPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -251,6 +268,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -637,6 +656,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -658,6 +679,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -679,6 +702,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -698,6 +724,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -714,6 +742,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -736,6 +767,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @return The enum numeric value on the wire for view.
*/
public int getViewValue() {
return view_;
@@ -749,6 +782,9 @@ public int getViewValue() {
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @param value The enum numeric value on the wire for view to set.
+ * @return This builder for chaining.
*/
public Builder setViewValue(int value) {
view_ = value;
@@ -764,6 +800,8 @@ public Builder setViewValue(int value) {
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @return The view.
*/
public com.google.bigtable.admin.v2.Table.View getView() {
@SuppressWarnings("deprecation")
@@ -780,6 +818,9 @@ public com.google.bigtable.admin.v2.Table.View getView() {
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @param value The view to set.
+ * @return This builder for chaining.
*/
public Builder setView(com.google.bigtable.admin.v2.Table.View value) {
if (value == null) {
@@ -799,6 +840,8 @@ public Builder setView(com.google.bigtable.admin.v2.Table.View value) {
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearView() {
@@ -817,6 +860,8 @@ public Builder clearView() {
*
*
* int32 page_size = 4;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -830,6 +875,9 @@ public int getPageSize() {
*
*
* int32 page_size = 4;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -846,6 +894,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -863,6 +913,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -883,6 +935,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -903,6 +957,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 3;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -921,6 +978,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -936,6 +995,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 3;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java
index 753c1d0cbb..681ec4df47 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface ListTablesRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -43,6 +45,8 @@ public interface ListTablesRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -55,6 +59,8 @@ public interface ListTablesRequestOrBuilder
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @return The enum numeric value on the wire for view.
*/
int getViewValue();
/**
@@ -66,6 +72,8 @@ public interface ListTablesRequestOrBuilder
*
*
* .google.bigtable.admin.v2.Table.View view = 2;
+ *
+ * @return The view.
*/
com.google.bigtable.admin.v2.Table.View getView();
@@ -78,6 +86,8 @@ public interface ListTablesRequestOrBuilder
*
*
* int32 page_size = 4;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -89,6 +99,8 @@ public interface ListTablesRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -99,6 +111,8 @@ public interface ListTablesRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java
index f90b4f7a20..d677157910 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private ListTablesResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListTablesResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -122,7 +128,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.bigtable.admin.v2.ListTablesResponse.Builder.class);
}
- private int bitField0_;
public static final int TABLES_FIELD_NUMBER = 1;
private java.util.List tables_;
/**
@@ -199,6 +204,8 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index)
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -221,6 +228,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -488,7 +497,6 @@ public com.google.bigtable.admin.v2.ListTablesResponse buildPartial() {
com.google.bigtable.admin.v2.ListTablesResponse result =
new com.google.bigtable.admin.v2.ListTablesResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (tablesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
tables_ = java.util.Collections.unmodifiableList(tables_);
@@ -499,7 +507,6 @@ public com.google.bigtable.admin.v2.ListTablesResponse buildPartial() {
result.tables_ = tablesBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -971,6 +978,8 @@ public java.util.List getTablesBuild
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -993,6 +1002,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1015,6 +1026,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1035,6 +1049,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1052,6 +1068,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java
index 5c257e328b..476077f165 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -84,6 +84,8 @@ public interface ListTablesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -96,6 +98,8 @@ public interface ListTablesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java
index add7d63662..7cdbc7e447 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class LocationName implements ResourceName {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java
index f51b622f4a..7c1e4c8027 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private ModifyColumnFamiliesRequest() {
modifications_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ModifyColumnFamiliesRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -76,11 +82,11 @@ private ModifyColumnFamiliesRequest(
}
case 18:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
modifications_ =
new java.util.ArrayList<
com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification>();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
modifications_.add(
input.readMessage(
@@ -103,7 +109,7 @@ private ModifyColumnFamiliesRequest(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
modifications_ = java.util.Collections.unmodifiableList(modifications_);
}
this.unknownFields = unknownFields.build();
@@ -139,6 +145,8 @@ public interface ModificationOrBuilder
*
*
* string id = 1;
+ *
+ * @return The id.
*/
java.lang.String getId();
/**
@@ -149,6 +157,8 @@ public interface ModificationOrBuilder
*
*
* string id = 1;
+ *
+ * @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
@@ -161,6 +171,8 @@ public interface ModificationOrBuilder
*
*
* .google.bigtable.admin.v2.ColumnFamily create = 2;
+ *
+ * @return Whether the create field is set.
*/
boolean hasCreate();
/**
@@ -172,6 +184,8 @@ public interface ModificationOrBuilder
*
*
* .google.bigtable.admin.v2.ColumnFamily create = 2;
+ *
+ * @return The create.
*/
com.google.bigtable.admin.v2.ColumnFamily getCreate();
/**
@@ -195,6 +209,8 @@ public interface ModificationOrBuilder
*
*
* .google.bigtable.admin.v2.ColumnFamily update = 3;
+ *
+ * @return Whether the update field is set.
*/
boolean hasUpdate();
/**
@@ -206,6 +222,8 @@ public interface ModificationOrBuilder
*
*
* .google.bigtable.admin.v2.ColumnFamily update = 3;
+ *
+ * @return The update.
*/
com.google.bigtable.admin.v2.ColumnFamily getUpdate();
/**
@@ -229,6 +247,8 @@ public interface ModificationOrBuilder
*
*
* bool drop = 4;
+ *
+ * @return The drop.
*/
boolean getDrop();
@@ -258,6 +278,12 @@ private Modification() {
id_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Modification();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -271,7 +297,6 @@ private Modification(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -364,7 +389,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int modCase_ = 0;
private java.lang.Object mod_;
- public enum ModCase implements com.google.protobuf.Internal.EnumLite {
+ public enum ModCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
CREATE(2),
UPDATE(3),
DROP(4),
@@ -374,7 +402,11 @@ public enum ModCase implements com.google.protobuf.Internal.EnumLite {
private ModCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static ModCase valueOf(int value) {
return forNumber(value);
@@ -414,6 +446,8 @@ public ModCase getModCase() {
*
*
* string id = 1;
+ *
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -434,6 +468,8 @@ public java.lang.String getId() {
*
*
* string id = 1;
+ *
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
@@ -457,6 +493,8 @@ public com.google.protobuf.ByteString getIdBytes() {
*
*
* .google.bigtable.admin.v2.ColumnFamily create = 2;
+ *
+ * @return Whether the create field is set.
*/
public boolean hasCreate() {
return modCase_ == 2;
@@ -470,6 +508,8 @@ public boolean hasCreate() {
*
*
* .google.bigtable.admin.v2.ColumnFamily create = 2;
+ *
+ * @return The create.
*/
public com.google.bigtable.admin.v2.ColumnFamily getCreate() {
if (modCase_ == 2) {
@@ -504,6 +544,8 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder() {
*
*
* .google.bigtable.admin.v2.ColumnFamily update = 3;
+ *
+ * @return Whether the update field is set.
*/
public boolean hasUpdate() {
return modCase_ == 3;
@@ -517,6 +559,8 @@ public boolean hasUpdate() {
*
*
* .google.bigtable.admin.v2.ColumnFamily update = 3;
+ *
+ * @return The update.
*/
public com.google.bigtable.admin.v2.ColumnFamily getUpdate() {
if (modCase_ == 3) {
@@ -551,6 +595,8 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
*
*
* bool drop = 4;
+ *
+ * @return The drop.
*/
public boolean getDrop() {
if (modCase_ == 4) {
@@ -1011,6 +1057,8 @@ public Builder clearMod() {
*
*
* string id = 1;
+ *
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -1031,6 +1079,8 @@ public java.lang.String getId() {
*
*
* string id = 1;
+ *
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
@@ -1051,6 +1101,9 @@ public com.google.protobuf.ByteString getIdBytes() {
*
*
* string id = 1;
+ *
+ * @param value The id to set.
+ * @return This builder for chaining.
*/
public Builder setId(java.lang.String value) {
if (value == null) {
@@ -1069,6 +1122,8 @@ public Builder setId(java.lang.String value) {
*
*
* string id = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearId() {
@@ -1084,6 +1139,9 @@ public Builder clearId() {
*
*
* string id = 1;
+ *
+ * @param value The bytes for id to set.
+ * @return This builder for chaining.
*/
public Builder setIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1110,6 +1168,8 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) {
*
*
* .google.bigtable.admin.v2.ColumnFamily create = 2;
+ *
+ * @return Whether the create field is set.
*/
public boolean hasCreate() {
return modCase_ == 2;
@@ -1123,6 +1183,8 @@ public boolean hasCreate() {
*
*
* .google.bigtable.admin.v2.ColumnFamily create = 2;
+ *
+ * @return The create.
*/
public com.google.bigtable.admin.v2.ColumnFamily getCreate() {
if (createBuilder_ == null) {
@@ -1320,6 +1382,8 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder() {
*
*
* .google.bigtable.admin.v2.ColumnFamily update = 3;
+ *
+ * @return Whether the update field is set.
*/
public boolean hasUpdate() {
return modCase_ == 3;
@@ -1333,6 +1397,8 @@ public boolean hasUpdate() {
*
*
* .google.bigtable.admin.v2.ColumnFamily update = 3;
+ *
+ * @return The update.
*/
public com.google.bigtable.admin.v2.ColumnFamily getUpdate() {
if (updateBuilder_ == null) {
@@ -1525,6 +1591,8 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
*
*
* bool drop = 4;
+ *
+ * @return The drop.
*/
public boolean getDrop() {
if (modCase_ == 4) {
@@ -1541,6 +1609,9 @@ public boolean getDrop() {
*
*
* bool drop = 4;
+ *
+ * @param value The drop to set.
+ * @return This builder for chaining.
*/
public Builder setDrop(boolean value) {
modCase_ = 4;
@@ -1557,6 +1628,8 @@ public Builder setDrop(boolean value) {
*
*
* bool drop = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDrop() {
if (modCase_ == 4) {
@@ -1623,7 +1696,6 @@ public com.google.protobuf.Parser getParserForType() {
}
}
- private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
@@ -1636,6 +1708,8 @@ public com.google.protobuf.Parser getParserForType() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1658,6 +1732,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1988,7 +2064,7 @@ public Builder clear() {
if (modificationsBuilder_ == null) {
modifications_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
modificationsBuilder_.clear();
}
@@ -2020,18 +2096,16 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest buildPartial() {
com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result =
new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
if (modificationsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
modifications_ = java.util.Collections.unmodifiableList(modifications_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.modifications_ = modifications_;
} else {
result.modifications_ = modificationsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -2090,7 +2164,7 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesReques
if (!other.modifications_.isEmpty()) {
if (modifications_.isEmpty()) {
modifications_ = other.modifications_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureModificationsIsMutable();
modifications_.addAll(other.modifications_);
@@ -2103,7 +2177,7 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesReques
modificationsBuilder_.dispose();
modificationsBuilder_ = null;
modifications_ = other.modifications_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
modificationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getModificationsFieldBuilder()
@@ -2156,6 +2230,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -2178,6 +2254,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -2200,6 +2278,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -2220,6 +2301,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -2237,6 +2320,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2253,12 +2339,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
modifications_ = java.util.Collections.emptyList();
private void ensureModificationsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
modifications_ =
new java.util.ArrayList<
com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification>(
modifications_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
@@ -2541,7 +2627,7 @@ public Builder addAllModifications(
public Builder clearModifications() {
if (modificationsBuilder_ == null) {
modifications_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
modificationsBuilder_.clear();
@@ -2711,7 +2797,7 @@ public Builder removeModifications(int index) {
com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder,
com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder>(
modifications_,
- ((bitField0_ & 0x00000002) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
modifications_ = null;
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java
index 8bae8ba116..fc2bf3bab6 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -33,6 +33,8 @@ public interface ModifyColumnFamiliesRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface ModifyColumnFamiliesRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java
index 735be888a3..68d6e84ad4 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private PartialUpdateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Buil
private PartialUpdateInstanceRequest() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new PartialUpdateInstanceRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private PartialUpdateInstanceRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -138,6 +143,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.bigtable.admin.v2.Instance instance = 1;
+ *
+ * @return Whether the instance field is set.
*/
public boolean hasInstance() {
return instance_ != null;
@@ -150,6 +157,8 @@ public boolean hasInstance() {
*
*
* .google.bigtable.admin.v2.Instance instance = 1;
+ *
+ * @return The instance.
*/
public com.google.bigtable.admin.v2.Instance getInstance() {
return instance_ == null
@@ -180,6 +189,8 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMask_ != null;
@@ -193,6 +204,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
@@ -584,6 +597,8 @@ public Builder mergeFrom(
*
*
* .google.bigtable.admin.v2.Instance instance = 1;
+ *
+ * @return Whether the instance field is set.
*/
public boolean hasInstance() {
return instanceBuilder_ != null || instance_ != null;
@@ -596,6 +611,8 @@ public boolean hasInstance() {
*
*
* .google.bigtable.admin.v2.Instance instance = 1;
+ *
+ * @return The instance.
*/
public com.google.bigtable.admin.v2.Instance getInstance() {
if (instanceBuilder_ == null) {
@@ -766,6 +783,8 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMaskBuilder_ != null || updateMask_ != null;
@@ -779,6 +798,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
if (updateMaskBuilder_ == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java
index bffa7001fb..f8b5cb2033 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface PartialUpdateInstanceRequestOrBuilder
*
*
* .google.bigtable.admin.v2.Instance instance = 1;
+ *
+ * @return Whether the instance field is set.
*/
boolean hasInstance();
/**
@@ -41,6 +43,8 @@ public interface PartialUpdateInstanceRequestOrBuilder
*
*
* .google.bigtable.admin.v2.Instance instance = 1;
+ *
+ * @return The instance.
*/
com.google.bigtable.admin.v2.Instance getInstance();
/**
@@ -63,6 +67,8 @@ public interface PartialUpdateInstanceRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
@@ -74,6 +80,8 @@ public interface PartialUpdateInstanceRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java
index 873da251f3..c159b3efdb 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class ProjectName implements ResourceName {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java
index 985c6c3d6b..761e3dfa1d 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -48,6 +48,12 @@ private Snapshot() {
description_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Snapshot();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -61,7 +67,6 @@ private Snapshot(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -263,12 +268,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static State valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static State forNumber(int value) {
switch (value) {
case 0:
@@ -339,6 +352,8 @@ private State(int value) {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -362,6 +377,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -386,6 +403,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.bigtable.admin.v2.Table source_table = 2;
+ *
+ * @return Whether the sourceTable field is set.
*/
public boolean hasSourceTable() {
return sourceTable_ != null;
@@ -399,6 +418,8 @@ public boolean hasSourceTable() {
*
*
* .google.bigtable.admin.v2.Table source_table = 2;
+ *
+ * @return The sourceTable.
*/
public com.google.bigtable.admin.v2.Table getSourceTable() {
return sourceTable_ == null
@@ -432,6 +453,8 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() {
*
*
* int64 data_size_bytes = 3;
+ *
+ * @return The dataSizeBytes.
*/
public long getDataSizeBytes() {
return dataSizeBytes_;
@@ -448,6 +471,8 @@ public long getDataSizeBytes() {
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTime_ != null;
@@ -461,6 +486,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
@@ -492,6 +519,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp delete_time = 5;
+ *
+ * @return Whether the deleteTime field is set.
*/
public boolean hasDeleteTime() {
return deleteTime_ != null;
@@ -507,6 +536,8 @@ public boolean hasDeleteTime() {
*
*
* .google.protobuf.Timestamp delete_time = 5;
+ *
+ * @return The deleteTime.
*/
public com.google.protobuf.Timestamp getDeleteTime() {
return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_;
@@ -538,6 +569,8 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
*
*
* .google.bigtable.admin.v2.Snapshot.State state = 6;
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -551,6 +584,8 @@ public int getStateValue() {
*
*
* .google.bigtable.admin.v2.Snapshot.State state = 6;
+ *
+ * @return The state.
*/
public com.google.bigtable.admin.v2.Snapshot.State getState() {
@SuppressWarnings("deprecation")
@@ -570,6 +605,8 @@ public com.google.bigtable.admin.v2.Snapshot.State getState() {
*
*
* string description = 7;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -591,6 +628,8 @@ public java.lang.String getDescription() {
*
*
* string description = 7;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -1065,6 +1104,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1088,6 +1129,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1111,6 +1154,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -1132,6 +1178,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -1150,6 +1198,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1177,6 +1228,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.bigtable.admin.v2.Table source_table = 2;
+ *
+ * @return Whether the sourceTable field is set.
*/
public boolean hasSourceTable() {
return sourceTableBuilder_ != null || sourceTable_ != null;
@@ -1190,6 +1243,8 @@ public boolean hasSourceTable() {
*
*
* .google.bigtable.admin.v2.Table source_table = 2;
+ *
+ * @return The sourceTable.
*/
public com.google.bigtable.admin.v2.Table getSourceTable() {
if (sourceTableBuilder_ == null) {
@@ -1364,6 +1419,8 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() {
*
*
* int64 data_size_bytes = 3;
+ *
+ * @return The dataSizeBytes.
*/
public long getDataSizeBytes() {
return dataSizeBytes_;
@@ -1379,6 +1436,9 @@ public long getDataSizeBytes() {
*
*
* int64 data_size_bytes = 3;
+ *
+ * @param value The dataSizeBytes to set.
+ * @return This builder for chaining.
*/
public Builder setDataSizeBytes(long value) {
@@ -1397,6 +1457,8 @@ public Builder setDataSizeBytes(long value) {
*
*
* int64 data_size_bytes = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDataSizeBytes() {
@@ -1420,6 +1482,8 @@ public Builder clearDataSizeBytes() {
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
@@ -1433,6 +1497,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
if (createTimeBuilder_ == null) {
@@ -1610,6 +1676,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp delete_time = 5;
+ *
+ * @return Whether the deleteTime field is set.
*/
public boolean hasDeleteTime() {
return deleteTimeBuilder_ != null || deleteTime_ != null;
@@ -1625,6 +1693,8 @@ public boolean hasDeleteTime() {
*
*
* .google.protobuf.Timestamp delete_time = 5;
+ *
+ * @return The deleteTime.
*/
public com.google.protobuf.Timestamp getDeleteTime() {
if (deleteTimeBuilder_ == null) {
@@ -1809,6 +1879,8 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
*
*
* .google.bigtable.admin.v2.Snapshot.State state = 6;
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -1822,6 +1894,9 @@ public int getStateValue() {
*
*
* .google.bigtable.admin.v2.Snapshot.State state = 6;
+ *
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
*/
public Builder setStateValue(int value) {
state_ = value;
@@ -1837,6 +1912,8 @@ public Builder setStateValue(int value) {
*
*
* .google.bigtable.admin.v2.Snapshot.State state = 6;
+ *
+ * @return The state.
*/
public com.google.bigtable.admin.v2.Snapshot.State getState() {
@SuppressWarnings("deprecation")
@@ -1853,6 +1930,9 @@ public com.google.bigtable.admin.v2.Snapshot.State getState() {
*
*
* .google.bigtable.admin.v2.Snapshot.State state = 6;
+ *
+ * @param value The state to set.
+ * @return This builder for chaining.
*/
public Builder setState(com.google.bigtable.admin.v2.Snapshot.State value) {
if (value == null) {
@@ -1872,6 +1952,8 @@ public Builder setState(com.google.bigtable.admin.v2.Snapshot.State value) {
*
*
* .google.bigtable.admin.v2.Snapshot.State state = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearState() {
@@ -1890,6 +1972,8 @@ public Builder clearState() {
*
*
* string description = 7;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -1911,6 +1995,8 @@ public java.lang.String getDescription() {
*
*
* string description = 7;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -1932,6 +2018,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* string description = 7;
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
*/
public Builder setDescription(java.lang.String value) {
if (value == null) {
@@ -1951,6 +2040,8 @@ public Builder setDescription(java.lang.String value) {
*
*
* string description = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDescription() {
@@ -1967,6 +2058,9 @@ public Builder clearDescription() {
*
*
* string description = 7;
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
*/
public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java
index 31310a07c9..f0159dc33f 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class SnapshotName implements ResourceName {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java
index 37a877ef71..611265421e 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -34,6 +34,8 @@ public interface SnapshotOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -47,6 +49,8 @@ public interface SnapshotOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -59,6 +63,8 @@ public interface SnapshotOrBuilder
*
*
* .google.bigtable.admin.v2.Table source_table = 2;
+ *
+ * @return Whether the sourceTable field is set.
*/
boolean hasSourceTable();
/**
@@ -70,6 +76,8 @@ public interface SnapshotOrBuilder
*
*
* .google.bigtable.admin.v2.Table source_table = 2;
+ *
+ * @return The sourceTable.
*/
com.google.bigtable.admin.v2.Table getSourceTable();
/**
@@ -95,6 +103,8 @@ public interface SnapshotOrBuilder
*
*
* int64 data_size_bytes = 3;
+ *
+ * @return The dataSizeBytes.
*/
long getDataSizeBytes();
@@ -107,6 +117,8 @@ public interface SnapshotOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
@@ -118,6 +130,8 @@ public interface SnapshotOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
@@ -143,6 +157,8 @@ public interface SnapshotOrBuilder
*
*
* .google.protobuf.Timestamp delete_time = 5;
+ *
+ * @return Whether the deleteTime field is set.
*/
boolean hasDeleteTime();
/**
@@ -156,6 +172,8 @@ public interface SnapshotOrBuilder
*
*
* .google.protobuf.Timestamp delete_time = 5;
+ *
+ * @return The deleteTime.
*/
com.google.protobuf.Timestamp getDeleteTime();
/**
@@ -181,6 +199,8 @@ public interface SnapshotOrBuilder
*
*
* .google.bigtable.admin.v2.Snapshot.State state = 6;
+ *
+ * @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
@@ -192,6 +212,8 @@ public interface SnapshotOrBuilder
*
*
* .google.bigtable.admin.v2.Snapshot.State state = 6;
+ *
+ * @return The state.
*/
com.google.bigtable.admin.v2.Snapshot.State getState();
@@ -204,6 +226,8 @@ public interface SnapshotOrBuilder
*
*
* string description = 7;
+ *
+ * @return The description.
*/
java.lang.String getDescription();
/**
@@ -215,6 +239,8 @@ public interface SnapshotOrBuilder
*
*
* string description = 7;
+ *
+ * @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java
index ea8d68b1c0..9d09734320 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private SnapshotTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder>
private SnapshotTableMetadata() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SnapshotTableMetadata();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private SnapshotTableMetadata(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -158,6 +163,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
public boolean hasOriginalRequest() {
return originalRequest_ != null;
@@ -170,6 +177,8 @@ public boolean hasOriginalRequest() {
*
*
* .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1;
+ *
+ * @return The originalRequest.
*/
public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() {
return originalRequest_ == null
@@ -199,6 +208,8 @@ public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalReq
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
public boolean hasRequestTime() {
return requestTime_ != null;
@@ -211,6 +222,8 @@ public boolean hasRequestTime() {
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
public com.google.protobuf.Timestamp getRequestTime() {
return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_;
@@ -238,6 +251,8 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
public boolean hasFinishTime() {
return finishTime_ != null;
@@ -250,6 +265,8 @@ public boolean hasFinishTime() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
public com.google.protobuf.Timestamp getFinishTime() {
return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_;
@@ -671,6 +688,8 @@ public Builder mergeFrom(
*
*
* .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
public boolean hasOriginalRequest() {
return originalRequestBuilder_ != null || originalRequest_ != null;
@@ -683,6 +702,8 @@ public boolean hasOriginalRequest() {
*
*
* .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1;
+ *
+ * @return The originalRequest.
*/
public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() {
if (originalRequestBuilder_ == null) {
@@ -854,6 +875,8 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest.Builder getOriginalRequ
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
public boolean hasRequestTime() {
return requestTimeBuilder_ != null || requestTime_ != null;
@@ -866,6 +889,8 @@ public boolean hasRequestTime() {
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
public com.google.protobuf.Timestamp getRequestTime() {
if (requestTimeBuilder_ == null) {
@@ -1035,6 +1060,8 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
public boolean hasFinishTime() {
return finishTimeBuilder_ != null || finishTime_ != null;
@@ -1047,6 +1074,8 @@ public boolean hasFinishTime() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
public com.google.protobuf.Timestamp getFinishTime() {
if (finishTimeBuilder_ == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java
index eaa96b4db5..8a2eeb04bb 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface SnapshotTableMetadataOrBuilder
*
*
* .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
boolean hasOriginalRequest();
/**
@@ -41,6 +43,8 @@ public interface SnapshotTableMetadataOrBuilder
*
*
* .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1;
+ *
+ * @return The originalRequest.
*/
com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest();
/**
@@ -62,6 +66,8 @@ public interface SnapshotTableMetadataOrBuilder
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
boolean hasRequestTime();
/**
@@ -72,6 +78,8 @@ public interface SnapshotTableMetadataOrBuilder
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
com.google.protobuf.Timestamp getRequestTime();
/**
@@ -93,6 +101,8 @@ public interface SnapshotTableMetadataOrBuilder
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
boolean hasFinishTime();
/**
@@ -103,6 +113,8 @@ public interface SnapshotTableMetadataOrBuilder
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
com.google.protobuf.Timestamp getFinishTime();
/**
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java
index e5dc4a256e..13f29b3075 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -49,6 +49,12 @@ private SnapshotTableRequest() {
description_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SnapshotTableRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -62,7 +68,6 @@ private SnapshotTableRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -161,6 +166,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -183,6 +190,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -208,6 +217,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string cluster = 2;
+ *
+ * @return The cluster.
*/
public java.lang.String getCluster() {
java.lang.Object ref = cluster_;
@@ -230,6 +241,8 @@ public java.lang.String getCluster() {
*
*
* string cluster = 2;
+ *
+ * @return The bytes for cluster.
*/
public com.google.protobuf.ByteString getClusterBytes() {
java.lang.Object ref = cluster_;
@@ -256,6 +269,8 @@ public com.google.protobuf.ByteString getClusterBytes() {
*
*
* string snapshot_id = 3;
+ *
+ * @return The snapshotId.
*/
public java.lang.String getSnapshotId() {
java.lang.Object ref = snapshotId_;
@@ -279,6 +294,8 @@ public java.lang.String getSnapshotId() {
*
*
* string snapshot_id = 3;
+ *
+ * @return The bytes for snapshotId.
*/
public com.google.protobuf.ByteString getSnapshotIdBytes() {
java.lang.Object ref = snapshotId_;
@@ -305,6 +322,8 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() {
*
*
* .google.protobuf.Duration ttl = 4;
+ *
+ * @return Whether the ttl field is set.
*/
public boolean hasTtl() {
return ttl_ != null;
@@ -320,6 +339,8 @@ public boolean hasTtl() {
*
*
* .google.protobuf.Duration ttl = 4;
+ *
+ * @return The ttl.
*/
public com.google.protobuf.Duration getTtl() {
return ttl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : ttl_;
@@ -350,6 +371,8 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
*
*
* string description = 5;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -370,6 +393,8 @@ public java.lang.String getDescription() {
*
*
* string description = 5;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -793,6 +818,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -815,6 +842,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -837,6 +866,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -857,6 +889,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -874,6 +908,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -897,6 +934,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string cluster = 2;
+ *
+ * @return The cluster.
*/
public java.lang.String getCluster() {
java.lang.Object ref = cluster_;
@@ -919,6 +958,8 @@ public java.lang.String getCluster() {
*
*
* string cluster = 2;
+ *
+ * @return The bytes for cluster.
*/
public com.google.protobuf.ByteString getClusterBytes() {
java.lang.Object ref = cluster_;
@@ -941,6 +982,9 @@ public com.google.protobuf.ByteString getClusterBytes() {
*
*
* string cluster = 2;
+ *
+ * @param value The cluster to set.
+ * @return This builder for chaining.
*/
public Builder setCluster(java.lang.String value) {
if (value == null) {
@@ -961,6 +1005,8 @@ public Builder setCluster(java.lang.String value) {
*
*
* string cluster = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCluster() {
@@ -978,6 +1024,9 @@ public Builder clearCluster() {
*
*
* string cluster = 2;
+ *
+ * @param value The bytes for cluster to set.
+ * @return This builder for chaining.
*/
public Builder setClusterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1002,6 +1051,8 @@ public Builder setClusterBytes(com.google.protobuf.ByteString value) {
*
*
* string snapshot_id = 3;
+ *
+ * @return The snapshotId.
*/
public java.lang.String getSnapshotId() {
java.lang.Object ref = snapshotId_;
@@ -1025,6 +1076,8 @@ public java.lang.String getSnapshotId() {
*
*
* string snapshot_id = 3;
+ *
+ * @return The bytes for snapshotId.
*/
public com.google.protobuf.ByteString getSnapshotIdBytes() {
java.lang.Object ref = snapshotId_;
@@ -1048,6 +1101,9 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() {
*
*
* string snapshot_id = 3;
+ *
+ * @param value The snapshotId to set.
+ * @return This builder for chaining.
*/
public Builder setSnapshotId(java.lang.String value) {
if (value == null) {
@@ -1069,6 +1125,8 @@ public Builder setSnapshotId(java.lang.String value) {
*
*
* string snapshot_id = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSnapshotId() {
@@ -1087,6 +1145,9 @@ public Builder clearSnapshotId() {
*
*
* string snapshot_id = 3;
+ *
+ * @param value The bytes for snapshotId to set.
+ * @return This builder for chaining.
*/
public Builder setSnapshotIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1116,6 +1177,8 @@ public Builder setSnapshotIdBytes(com.google.protobuf.ByteString value) {
*
*
* .google.protobuf.Duration ttl = 4;
+ *
+ * @return Whether the ttl field is set.
*/
public boolean hasTtl() {
return ttlBuilder_ != null || ttl_ != null;
@@ -1131,6 +1194,8 @@ public boolean hasTtl() {
*
*
* .google.protobuf.Duration ttl = 4;
+ *
+ * @return The ttl.
*/
public com.google.protobuf.Duration getTtl() {
if (ttlBuilder_ == null) {
@@ -1308,6 +1373,8 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
*
*
* string description = 5;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -1328,6 +1395,8 @@ public java.lang.String getDescription() {
*
*
* string description = 5;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -1348,6 +1417,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* string description = 5;
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
*/
public Builder setDescription(java.lang.String value) {
if (value == null) {
@@ -1366,6 +1438,8 @@ public Builder setDescription(java.lang.String value) {
*
*
* string description = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDescription() {
@@ -1381,6 +1455,9 @@ public Builder clearDescription() {
*
*
* string description = 5;
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
*/
public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java
index 720f50917e..2e89d151bd 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -33,6 +33,8 @@ public interface SnapshotTableRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface SnapshotTableRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -58,6 +62,8 @@ public interface SnapshotTableRequestOrBuilder
*
*
* string cluster = 2;
+ *
+ * @return The cluster.
*/
java.lang.String getCluster();
/**
@@ -70,6 +76,8 @@ public interface SnapshotTableRequestOrBuilder
*
*
* string cluster = 2;
+ *
+ * @return The bytes for cluster.
*/
com.google.protobuf.ByteString getClusterBytes();
@@ -84,6 +92,8 @@ public interface SnapshotTableRequestOrBuilder
*
*
* string snapshot_id = 3;
+ *
+ * @return The snapshotId.
*/
java.lang.String getSnapshotId();
/**
@@ -97,6 +107,8 @@ public interface SnapshotTableRequestOrBuilder
*
*
* string snapshot_id = 3;
+ *
+ * @return The bytes for snapshotId.
*/
com.google.protobuf.ByteString getSnapshotIdBytes();
@@ -111,6 +123,8 @@ public interface SnapshotTableRequestOrBuilder
*
*
* .google.protobuf.Duration ttl = 4;
+ *
+ * @return Whether the ttl field is set.
*/
boolean hasTtl();
/**
@@ -124,6 +138,8 @@ public interface SnapshotTableRequestOrBuilder
*
*
* .google.protobuf.Duration ttl = 4;
+ *
+ * @return The ttl.
*/
com.google.protobuf.Duration getTtl();
/**
@@ -148,6 +164,8 @@ public interface SnapshotTableRequestOrBuilder
*
*
* string description = 5;
+ *
+ * @return The description.
*/
java.lang.String getDescription();
/**
@@ -158,6 +176,8 @@ public interface SnapshotTableRequestOrBuilder
*
*
* string description = 5;
+ *
+ * @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java
index a136c0014c..862bb66096 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -100,12 +100,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static StorageType valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static StorageType forNumber(int value) {
switch (value) {
case 0:
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java
index d783b4df90..fdea92fe0f 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private Table() {
granularity_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Table();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -76,11 +82,11 @@ private Table(
}
case 18:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
clusterStates_ =
com.google.protobuf.MapField.newMapField(
ClusterStatesDefaultEntryHolder.defaultEntry);
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry<
java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState>
@@ -95,11 +101,11 @@ private Table(
}
case 26:
{
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
columnFamilies_ =
com.google.protobuf.MapField.newMapField(
ColumnFamiliesDefaultEntryHolder.defaultEntry);
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000002;
}
com.google.protobuf.MapEntry<
java.lang.String, com.google.bigtable.admin.v2.ColumnFamily>
@@ -231,12 +237,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TimestampGranularity valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static TimestampGranularity forNumber(int value) {
switch (value) {
case 0:
@@ -419,12 +433,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static View valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static View forNumber(int value) {
switch (value) {
case 0:
@@ -501,6 +523,8 @@ public interface ClusterStateOrBuilder
*
* .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1;
*
+ *
+ * @return The enum numeric value on the wire for replicationState.
*/
int getReplicationStateValue();
/**
@@ -513,6 +537,8 @@ public interface ClusterStateOrBuilder
*
* .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1;
*
+ *
+ * @return The replicationState.
*/
com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState();
}
@@ -539,6 +565,12 @@ private ClusterState() {
replicationState_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ClusterState();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -552,7 +584,6 @@ private ClusterState(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -738,12 +769,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static ReplicationState valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static ReplicationState forNumber(int value) {
switch (value) {
case 0:
@@ -822,6 +861,8 @@ private ReplicationState(int value) {
*
* .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1;
*
+ *
+ * @return The enum numeric value on the wire for replicationState.
*/
public int getReplicationStateValue() {
return replicationState_;
@@ -836,6 +877,8 @@ public int getReplicationStateValue() {
*
* .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1;
*
+ *
+ * @return The replicationState.
*/
public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() {
@SuppressWarnings("deprecation")
@@ -1183,6 +1226,8 @@ public Builder mergeFrom(
*
* .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1;
*
+ *
+ * @return The enum numeric value on the wire for replicationState.
*/
public int getReplicationStateValue() {
return replicationState_;
@@ -1197,6 +1242,9 @@ public int getReplicationStateValue() {
*
* .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1;
*
+ *
+ * @param value The enum numeric value on the wire for replicationState to set.
+ * @return This builder for chaining.
*/
public Builder setReplicationStateValue(int value) {
replicationState_ = value;
@@ -1213,6 +1261,8 @@ public Builder setReplicationStateValue(int value) {
*
* .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1;
*
+ *
+ * @return The replicationState.
*/
public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState
getReplicationState() {
@@ -1234,6 +1284,9 @@ public Builder setReplicationStateValue(int value) {
*
* .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1;
*
+ *
+ * @param value The replicationState to set.
+ * @return This builder for chaining.
*/
public Builder setReplicationState(
com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState value) {
@@ -1255,6 +1308,8 @@ public Builder setReplicationState(
*
* .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearReplicationState() {
@@ -1315,7 +1370,6 @@ public com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstanceForType
}
}
- private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
@@ -1329,6 +1383,8 @@ public com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstanceForType
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1352,6 +1408,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1623,6 +1681,8 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(java.l
*
*
* .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;
+ *
+ * @return The enum numeric value on the wire for granularity.
*/
public int getGranularityValue() {
return granularity_;
@@ -1639,6 +1699,8 @@ public int getGranularityValue() {
*
*
* .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;
+ *
+ * @return The granularity.
*/
public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity() {
@SuppressWarnings("deprecation")
@@ -1959,14 +2021,12 @@ public com.google.bigtable.admin.v2.Table build() {
public com.google.bigtable.admin.v2.Table buildPartial() {
com.google.bigtable.admin.v2.Table result = new com.google.bigtable.admin.v2.Table(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
result.clusterStates_ = internalGetClusterStates();
result.clusterStates_.makeImmutable();
result.columnFamilies_ = internalGetColumnFamilies();
result.columnFamilies_.makeImmutable();
result.granularity_ = granularity_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -2068,6 +2128,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -2091,6 +2153,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -2114,6 +2178,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -2135,6 +2202,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -2153,6 +2222,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2568,6 +2640,8 @@ public Builder putAllColumnFamilies(
*
*
* .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;
+ *
+ * @return The enum numeric value on the wire for granularity.
*/
public int getGranularityValue() {
return granularity_;
@@ -2584,6 +2658,9 @@ public int getGranularityValue() {
*
*
* .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;
+ *
+ * @param value The enum numeric value on the wire for granularity to set.
+ * @return This builder for chaining.
*/
public Builder setGranularityValue(int value) {
granularity_ = value;
@@ -2602,6 +2679,8 @@ public Builder setGranularityValue(int value) {
*
*
* .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;
+ *
+ * @return The granularity.
*/
public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity() {
@SuppressWarnings("deprecation")
@@ -2623,6 +2702,9 @@ public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity()
*
*
* .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;
+ *
+ * @param value The granularity to set.
+ * @return This builder for chaining.
*/
public Builder setGranularity(com.google.bigtable.admin.v2.Table.TimestampGranularity value) {
if (value == null) {
@@ -2645,6 +2727,8 @@ public Builder setGranularity(com.google.bigtable.admin.v2.Table.TimestampGranul
*
*
* .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearGranularity() {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java
index 2bc683b96d..eacdf9f6e2 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class TableName implements ResourceName {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java
index bd66bad1c4..035ad4eccb 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -34,6 +34,8 @@ public interface TableOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -47,6 +49,8 @@ public interface TableOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -214,6 +218,8 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
*
*
* .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;
+ *
+ * @return The enum numeric value on the wire for granularity.
*/
int getGranularityValue();
/**
@@ -228,6 +234,8 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
*
*
* .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;
+ *
+ * @return The granularity.
*/
com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java
index 589dace8c2..913884d6ef 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -122,22 +122,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bigtabl"
+ "e\\Admin\\V2b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.protobuf.DurationProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
internal_static_google_bigtable_admin_v2_Table_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable =
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java
index db50fd4b20..7807489588 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private UpdateAppProfileMetadata(com.google.protobuf.GeneratedMessageV3.Builder<
private UpdateAppProfileMetadata() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateAppProfileMetadata();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java
index 822c69d70a..85c13fe4ee 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java
index 11eb3d091d..9962a81a62 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private UpdateAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder
private UpdateAppProfileRequest() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateAppProfileRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private UpdateAppProfileRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -143,6 +148,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.bigtable.admin.v2.AppProfile app_profile = 1;
+ *
+ * @return Whether the appProfile field is set.
*/
public boolean hasAppProfile() {
return appProfile_ != null;
@@ -155,6 +162,8 @@ public boolean hasAppProfile() {
*
*
* .google.bigtable.admin.v2.AppProfile app_profile = 1;
+ *
+ * @return The appProfile.
*/
public com.google.bigtable.admin.v2.AppProfile getAppProfile() {
return appProfile_ == null
@@ -185,6 +194,8 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder()
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMask_ != null;
@@ -198,6 +209,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
@@ -226,6 +239,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
* bool ignore_warnings = 3;
+ *
+ * @return The ignoreWarnings.
*/
public boolean getIgnoreWarnings() {
return ignoreWarnings_;
@@ -618,6 +633,8 @@ public Builder mergeFrom(
*
*
* .google.bigtable.admin.v2.AppProfile app_profile = 1;
+ *
+ * @return Whether the appProfile field is set.
*/
public boolean hasAppProfile() {
return appProfileBuilder_ != null || appProfile_ != null;
@@ -630,6 +647,8 @@ public boolean hasAppProfile() {
*
*
* .google.bigtable.admin.v2.AppProfile app_profile = 1;
+ *
+ * @return The appProfile.
*/
public com.google.bigtable.admin.v2.AppProfile getAppProfile() {
if (appProfileBuilder_ == null) {
@@ -800,6 +819,8 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder()
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMaskBuilder_ != null || updateMask_ != null;
@@ -813,6 +834,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
if (updateMaskBuilder_ == null) {
@@ -982,6 +1005,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
* bool ignore_warnings = 3;
+ *
+ * @return The ignoreWarnings.
*/
public boolean getIgnoreWarnings() {
return ignoreWarnings_;
@@ -994,6 +1019,9 @@ public boolean getIgnoreWarnings() {
*
*
* bool ignore_warnings = 3;
+ *
+ * @param value The ignoreWarnings to set.
+ * @return This builder for chaining.
*/
public Builder setIgnoreWarnings(boolean value) {
@@ -1009,6 +1037,8 @@ public Builder setIgnoreWarnings(boolean value) {
*
*
* bool ignore_warnings = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearIgnoreWarnings() {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java
index 0713d247bb..8d743ef898 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface UpdateAppProfileRequestOrBuilder
*
*
* .google.bigtable.admin.v2.AppProfile app_profile = 1;
+ *
+ * @return Whether the appProfile field is set.
*/
boolean hasAppProfile();
/**
@@ -41,6 +43,8 @@ public interface UpdateAppProfileRequestOrBuilder
*
*
* .google.bigtable.admin.v2.AppProfile app_profile = 1;
+ *
+ * @return The appProfile.
*/
com.google.bigtable.admin.v2.AppProfile getAppProfile();
/**
@@ -63,6 +67,8 @@ public interface UpdateAppProfileRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
@@ -74,6 +80,8 @@ public interface UpdateAppProfileRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
@@ -96,6 +104,8 @@ public interface UpdateAppProfileRequestOrBuilder
*
*
* bool ignore_warnings = 3;
+ *
+ * @return The ignoreWarnings.
*/
boolean getIgnoreWarnings();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java
index 7ef0ba73f5..dbb3d26ada 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private UpdateClusterMetadata(com.google.protobuf.GeneratedMessageV3.Builder>
private UpdateClusterMetadata() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateClusterMetadata();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private UpdateClusterMetadata(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -153,6 +158,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.bigtable.admin.v2.Cluster original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
public boolean hasOriginalRequest() {
return originalRequest_ != null;
@@ -165,6 +172,8 @@ public boolean hasOriginalRequest() {
*
*
* .google.bigtable.admin.v2.Cluster original_request = 1;
+ *
+ * @return The originalRequest.
*/
public com.google.bigtable.admin.v2.Cluster getOriginalRequest() {
return originalRequest_ == null
@@ -194,6 +203,8 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
public boolean hasRequestTime() {
return requestTime_ != null;
@@ -206,6 +217,8 @@ public boolean hasRequestTime() {
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
public com.google.protobuf.Timestamp getRequestTime() {
return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_;
@@ -233,6 +246,8 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
public boolean hasFinishTime() {
return finishTime_ != null;
@@ -245,6 +260,8 @@ public boolean hasFinishTime() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
public com.google.protobuf.Timestamp getFinishTime() {
return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_;
@@ -662,6 +679,8 @@ public Builder mergeFrom(
*
*
* .google.bigtable.admin.v2.Cluster original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
public boolean hasOriginalRequest() {
return originalRequestBuilder_ != null || originalRequest_ != null;
@@ -674,6 +693,8 @@ public boolean hasOriginalRequest() {
*
*
* .google.bigtable.admin.v2.Cluster original_request = 1;
+ *
+ * @return The originalRequest.
*/
public com.google.bigtable.admin.v2.Cluster getOriginalRequest() {
if (originalRequestBuilder_ == null) {
@@ -844,6 +865,8 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
public boolean hasRequestTime() {
return requestTimeBuilder_ != null || requestTime_ != null;
@@ -856,6 +879,8 @@ public boolean hasRequestTime() {
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
public com.google.protobuf.Timestamp getRequestTime() {
if (requestTimeBuilder_ == null) {
@@ -1025,6 +1050,8 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
public boolean hasFinishTime() {
return finishTimeBuilder_ != null || finishTime_ != null;
@@ -1037,6 +1064,8 @@ public boolean hasFinishTime() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
public com.google.protobuf.Timestamp getFinishTime() {
if (finishTimeBuilder_ == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java
index 33492e4539..4122ab7dcc 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface UpdateClusterMetadataOrBuilder
*
*
* .google.bigtable.admin.v2.Cluster original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
boolean hasOriginalRequest();
/**
@@ -41,6 +43,8 @@ public interface UpdateClusterMetadataOrBuilder
*
*
* .google.bigtable.admin.v2.Cluster original_request = 1;
+ *
+ * @return The originalRequest.
*/
com.google.bigtable.admin.v2.Cluster getOriginalRequest();
/**
@@ -62,6 +66,8 @@ public interface UpdateClusterMetadataOrBuilder
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
boolean hasRequestTime();
/**
@@ -72,6 +78,8 @@ public interface UpdateClusterMetadataOrBuilder
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
com.google.protobuf.Timestamp getRequestTime();
/**
@@ -93,6 +101,8 @@ public interface UpdateClusterMetadataOrBuilder
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
boolean hasFinishTime();
/**
@@ -103,6 +113,8 @@ public interface UpdateClusterMetadataOrBuilder
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
com.google.protobuf.Timestamp getFinishTime();
/**
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java
index 540cb3861f..74ba9b6397 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private UpdateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder>
private UpdateInstanceMetadata() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateInstanceMetadata();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private UpdateInstanceMetadata(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -154,6 +159,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
public boolean hasOriginalRequest() {
return originalRequest_ != null;
@@ -166,6 +173,8 @@ public boolean hasOriginalRequest() {
*
*
* .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1;
+ *
+ * @return The originalRequest.
*/
public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequest() {
return originalRequest_ == null
@@ -196,6 +205,8 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequ
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
public boolean hasRequestTime() {
return requestTime_ != null;
@@ -208,6 +219,8 @@ public boolean hasRequestTime() {
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
public com.google.protobuf.Timestamp getRequestTime() {
return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_;
@@ -235,6 +248,8 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
public boolean hasFinishTime() {
return finishTime_ != null;
@@ -247,6 +262,8 @@ public boolean hasFinishTime() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
public com.google.protobuf.Timestamp getFinishTime() {
return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_;
@@ -664,6 +681,8 @@ public Builder mergeFrom(
*
*
* .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
public boolean hasOriginalRequest() {
return originalRequestBuilder_ != null || originalRequest_ != null;
@@ -676,6 +695,8 @@ public boolean hasOriginalRequest() {
*
*
* .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1;
+ *
+ * @return The originalRequest.
*/
public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequest() {
if (originalRequestBuilder_ == null) {
@@ -850,6 +871,8 @@ public Builder clearOriginalRequest() {
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
public boolean hasRequestTime() {
return requestTimeBuilder_ != null || requestTime_ != null;
@@ -862,6 +885,8 @@ public boolean hasRequestTime() {
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
public com.google.protobuf.Timestamp getRequestTime() {
if (requestTimeBuilder_ == null) {
@@ -1031,6 +1056,8 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
public boolean hasFinishTime() {
return finishTimeBuilder_ != null || finishTime_ != null;
@@ -1043,6 +1070,8 @@ public boolean hasFinishTime() {
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
public com.google.protobuf.Timestamp getFinishTime() {
if (finishTimeBuilder_ == null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java
index 377f90d1b4..4191fb0e8e 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface UpdateInstanceMetadataOrBuilder
*
*
* .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1;
+ *
+ * @return Whether the originalRequest field is set.
*/
boolean hasOriginalRequest();
/**
@@ -41,6 +43,8 @@ public interface UpdateInstanceMetadataOrBuilder
*
*
* .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1;
+ *
+ * @return The originalRequest.
*/
com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequest();
/**
@@ -62,6 +66,8 @@ public interface UpdateInstanceMetadataOrBuilder
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return Whether the requestTime field is set.
*/
boolean hasRequestTime();
/**
@@ -72,6 +78,8 @@ public interface UpdateInstanceMetadataOrBuilder
*
*
* .google.protobuf.Timestamp request_time = 2;
+ *
+ * @return The requestTime.
*/
com.google.protobuf.Timestamp getRequestTime();
/**
@@ -93,6 +101,8 @@ public interface UpdateInstanceMetadataOrBuilder
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return Whether the finishTime field is set.
*/
boolean hasFinishTime();
/**
@@ -103,6 +113,8 @@ public interface UpdateInstanceMetadataOrBuilder
*
*
* .google.protobuf.Timestamp finish_time = 3;
+ *
+ * @return The finishTime.
*/
com.google.protobuf.Timestamp getFinishTime();
/**
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto
index a3e2e7ccac..8120222959 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto
@@ -185,7 +185,7 @@ service BigtableTableAdmin {
};
}
- // Gets the access control policy for an instance resource. Returns an empty
+ // Gets the access control policy for a table resource. Returns an empty
// policy if an table exists but does not have a policy set.
rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
option (google.api.http) = {
diff --git a/proto-google-cloud-bigtable-v2/pom.xml b/proto-google-cloud-bigtable-v2/pom.xml
index d9a9d1307f..3ee73366af 100644
--- a/proto-google-cloud-bigtable-v2/pom.xml
+++ b/proto-google-cloud-bigtable-v2/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-bigtable-v2
- 1.9.1
+ 1.10.0
proto-google-cloud-bigtable-v2
PROTO library for proto-google-cloud-bigtable-v2
com.google.cloud
google-cloud-bigtable-parent
- 1.9.1
+ 1.10.0
@@ -18,14 +18,14 @@
com.google.cloud
google-cloud-bigtable-deps-bom
- 1.9.1
+ 1.10.0
pom
import
com.google.cloud
google-cloud-bigtable-bom
- 1.9.1
+ 1.10.0
pom
import
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 9268c0aaa4..170ef9afe2 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -98,101 +98,126 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n!google/bigtable/v2/bigtable.proto\022\022goo"
+ "gle.bigtable.v2\032\034google/api/annotations."
- + "proto\032\035google/bigtable/v2/data.proto\032\036go"
- + "ogle/protobuf/wrappers.proto\032\027google/rpc"
- + "/status.proto\"\252\001\n\017ReadRowsRequest\022\022\n\ntab"
- + "le_name\030\001 \001(\t\022\026\n\016app_profile_id\030\005 \001(\t\022(\n"
- + "\004rows\030\002 \001(\0132\032.google.bigtable.v2.RowSet\022"
- + "-\n\006filter\030\003 \001(\0132\035.google.bigtable.v2.Row"
- + "Filter\022\022\n\nrows_limit\030\004 \001(\003\"\370\002\n\020ReadRowsR"
- + "esponse\022>\n\006chunks\030\001 \003(\0132..google.bigtabl"
- + "e.v2.ReadRowsResponse.CellChunk\022\034\n\024last_"
- + "scanned_row_key\030\002 \001(\014\032\205\002\n\tCellChunk\022\017\n\007r"
- + "ow_key\030\001 \001(\014\0221\n\013family_name\030\002 \001(\0132\034.goog"
- + "le.protobuf.StringValue\022.\n\tqualifier\030\003 \001"
- + "(\0132\033.google.protobuf.BytesValue\022\030\n\020times"
- + "tamp_micros\030\004 \001(\003\022\016\n\006labels\030\005 \003(\t\022\r\n\005val"
- + "ue\030\006 \001(\014\022\022\n\nvalue_size\030\007 \001(\005\022\023\n\treset_ro"
- + "w\030\010 \001(\010H\000\022\024\n\ncommit_row\030\t \001(\010H\000B\014\n\nrow_s"
- + "tatus\"B\n\024SampleRowKeysRequest\022\022\n\ntable_n"
- + "ame\030\001 \001(\t\022\026\n\016app_profile_id\030\002 \001(\t\">\n\025Sam"
- + "pleRowKeysResponse\022\017\n\007row_key\030\001 \001(\014\022\024\n\014o"
- + "ffset_bytes\030\002 \001(\003\"\200\001\n\020MutateRowRequest\022\022"
- + "\n\ntable_name\030\001 \001(\t\022\026\n\016app_profile_id\030\004 \001"
- + "(\t\022\017\n\007row_key\030\002 \001(\014\022/\n\tmutations\030\003 \003(\0132\034"
- + ".google.bigtable.v2.Mutation\"\023\n\021MutateRo"
- + "wResponse\"\310\001\n\021MutateRowsRequest\022\022\n\ntable"
- + "_name\030\001 \001(\t\022\026\n\016app_profile_id\030\003 \001(\t\022<\n\007e"
- + "ntries\030\002 \003(\0132+.google.bigtable.v2.Mutate"
- + "RowsRequest.Entry\032I\n\005Entry\022\017\n\007row_key\030\001 "
- + "\001(\014\022/\n\tmutations\030\002 \003(\0132\034.google.bigtable"
- + ".v2.Mutation\"\217\001\n\022MutateRowsResponse\022=\n\007e"
- + "ntries\030\001 \003(\0132,.google.bigtable.v2.Mutate"
- + "RowsResponse.Entry\032:\n\005Entry\022\r\n\005index\030\001 \001"
- + "(\003\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Status\"\375"
- + "\001\n\030CheckAndMutateRowRequest\022\022\n\ntable_nam"
- + "e\030\001 \001(\t\022\026\n\016app_profile_id\030\007 \001(\t\022\017\n\007row_k"
- + "ey\030\002 \001(\014\0227\n\020predicate_filter\030\006 \001(\0132\035.goo"
- + "gle.bigtable.v2.RowFilter\0224\n\016true_mutati"
- + "ons\030\004 \003(\0132\034.google.bigtable.v2.Mutation\022"
- + "5\n\017false_mutations\030\005 \003(\0132\034.google.bigtab"
- + "le.v2.Mutation\"6\n\031CheckAndMutateRowRespo"
- + "nse\022\031\n\021predicate_matched\030\001 \001(\010\"\220\001\n\031ReadM"
- + "odifyWriteRowRequest\022\022\n\ntable_name\030\001 \001(\t"
- + "\022\026\n\016app_profile_id\030\004 \001(\t\022\017\n\007row_key\030\002 \001("
- + "\014\0226\n\005rules\030\003 \003(\0132\'.google.bigtable.v2.Re"
- + "adModifyWriteRule\"B\n\032ReadModifyWriteRowR"
- + "esponse\022$\n\003row\030\001 \001(\0132\027.google.bigtable.v"
- + "2.Row2\255\010\n\010Bigtable\022\235\001\n\010ReadRows\022#.google"
- + ".bigtable.v2.ReadRowsRequest\032$.google.bi"
- + "gtable.v2.ReadRowsResponse\"D\202\323\344\223\002>\"9/v2/"
- + "{table_name=projects/*/instances/*/table"
- + "s/*}:readRows:\001*0\001\022\256\001\n\rSampleRowKeys\022(.g"
- + "oogle.bigtable.v2.SampleRowKeysRequest\032)"
- + ".google.bigtable.v2.SampleRowKeysRespons"
- + "e\"F\202\323\344\223\002@\022>/v2/{table_name=projects/*/in"
- + "stances/*/tables/*}:sampleRowKeys0\001\022\237\001\n\t"
- + "MutateRow\022$.google.bigtable.v2.MutateRow"
- + "Request\032%.google.bigtable.v2.MutateRowRe"
- + "sponse\"E\202\323\344\223\002?\":/v2/{table_name=projects"
- + "/*/instances/*/tables/*}:mutateRow:\001*\022\245\001"
- + "\n\nMutateRows\022%.google.bigtable.v2.Mutate"
- + "RowsRequest\032&.google.bigtable.v2.MutateR"
- + "owsResponse\"F\202\323\344\223\002@\";/v2/{table_name=pro"
- + "jects/*/instances/*/tables/*}:mutateRows"
- + ":\001*0\001\022\277\001\n\021CheckAndMutateRow\022,.google.big"
- + "table.v2.CheckAndMutateRowRequest\032-.goog"
- + "le.bigtable.v2.CheckAndMutateRowResponse"
- + "\"M\202\323\344\223\002G\"B/v2/{table_name=projects/*/ins"
- + "tances/*/tables/*}:checkAndMutateRow:\001*\022"
- + "\303\001\n\022ReadModifyWriteRow\022-.google.bigtable"
- + ".v2.ReadModifyWriteRowRequest\032..google.b"
- + "igtable.v2.ReadModifyWriteRowResponse\"N\202"
- + "\323\344\223\002H\"C/v2/{table_name=projects/*/instan"
- + "ces/*/tables/*}:readModifyWriteRow:\001*B\233\001"
- + "\n\026com.google.bigtable.v2B\rBigtableProtoP"
- + "\001Z:google.golang.org/genproto/googleapis"
- + "/bigtable/v2;bigtable\252\002\030Google.Cloud.Big"
- + "table.V2\312\002\030Google\\Cloud\\Bigtable\\V2b\006pro"
- + "to3"
+ + "proto\032\027google/api/client.proto\032\037google/a"
+ + "pi/field_behavior.proto\032\031google/api/reso"
+ + "urce.proto\032\035google/bigtable/v2/data.prot"
+ + "o\032\036google/protobuf/wrappers.proto\032\027googl"
+ + "e/rpc/status.proto\"\321\001\n\017ReadRowsRequest\0229"
+ + "\n\ntable_name\030\001 \001(\tB%\340A\002\372A\037\n\035bigtable.goo"
+ + "gleapis.com/Table\022\026\n\016app_profile_id\030\005 \001("
+ + "\t\022(\n\004rows\030\002 \001(\0132\032.google.bigtable.v2.Row"
+ + "Set\022-\n\006filter\030\003 \001(\0132\035.google.bigtable.v2"
+ + ".RowFilter\022\022\n\nrows_limit\030\004 \001(\003\"\370\002\n\020ReadR"
+ + "owsResponse\022>\n\006chunks\030\001 \003(\0132..google.big"
+ + "table.v2.ReadRowsResponse.CellChunk\022\034\n\024l"
+ + "ast_scanned_row_key\030\002 \001(\014\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\020t"
+ + "imestamp_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\trese"
+ + "t_row\030\010 \001(\010H\000\022\024\n\ncommit_row\030\t \001(\010H\000B\014\n\nr"
+ + "ow_status\"i\n\024SampleRowKeysRequest\0229\n\ntab"
+ + "le_name\030\001 \001(\tB%\340A\002\372A\037\n\035bigtable.googleap"
+ + "is.com/Table\022\026\n\016app_profile_id\030\002 \001(\t\">\n\025"
+ + "SampleRowKeysResponse\022\017\n\007row_key\030\001 \001(\014\022\024"
+ + "\n\014offset_bytes\030\002 \001(\003\"\261\001\n\020MutateRowReques"
+ + "t\0229\n\ntable_name\030\001 \001(\tB%\340A\002\372A\037\n\035bigtable."
+ + "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\tmutations\030"
+ + "\003 \003(\0132\034.google.bigtable.v2.MutationB\003\340A\002"
+ + "\"\023\n\021MutateRowResponse\"\371\001\n\021MutateRowsRequ"
+ + "est\0229\n\ntable_name\030\001 \001(\tB%\340A\002\372A\037\n\035bigtabl"
+ + "e.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\"\251\002\n\030CheckAndMutateRo"
+ + "wRequest\0229\n\ntable_name\030\001 \001(\tB%\340A\002\372A\037\n\035bi"
+ + "gtable.googleapis.com/Table\022\026\n\016app_profi"
+ + "le_id\030\007 \001(\t\022\024\n\007row_key\030\002 \001(\014B\003\340A\002\0227\n\020pre"
+ + "dicate_filter\030\006 \001(\0132\035.google.bigtable.v2"
+ + ".RowFilter\0224\n\016true_mutations\030\004 \003(\0132\034.goo"
+ + "gle.bigtable.v2.Mutation\0225\n\017false_mutati"
+ + "ons\030\005 \003(\0132\034.google.bigtable.v2.Mutation\""
+ + "6\n\031CheckAndMutateRowResponse\022\031\n\021predicat"
+ + "e_matched\030\001 \001(\010\"\301\001\n\031ReadModifyWriteRowRe"
+ + "quest\0229\n\ntable_name\030\001 \001(\tB%\340A\002\372A\037\n\035bigta"
+ + "ble.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\022;\n\005rules\030"
+ + "\003 \003(\0132\'.google.bigtable.v2.ReadModifyWri"
+ + "teRuleB\003\340A\002\"B\n\032ReadModifyWriteRowRespons"
+ + "e\022$\n\003row\030\001 \001(\0132\027.google.bigtable.v2.Row2"
+ + "\304\016\n\010Bigtable\022\306\001\n\010ReadRows\022#.google.bigta"
+ + "ble.v2.ReadRowsRequest\032$.google.bigtable"
+ + ".v2.ReadRowsResponse\"m\202\323\344\223\002>\"9/v2/{table"
+ + "_name=projects/*/instances/*/tables/*}:r"
+ + "eadRows:\001*\332A\ntable_name\332A\031table_name,app"
+ + "_profile_id0\001\022\327\001\n\rSampleRowKeys\022(.google"
+ + ".bigtable.v2.SampleRowKeysRequest\032).goog"
+ + "le.bigtable.v2.SampleRowKeysResponse\"o\202\323"
+ + "\344\223\002@\022>/v2/{table_name=projects/*/instanc"
+ + "es/*/tables/*}:sampleRowKeys\332A\ntable_nam"
+ + "e\332A\031table_name,app_profile_id0\001\022\355\001\n\tMuta"
+ + "teRow\022$.google.bigtable.v2.MutateRowRequ"
+ + "est\032%.google.bigtable.v2.MutateRowRespon"
+ + "se\"\222\001\202\323\344\223\002?\":/v2/{table_name=projects/*/"
+ + "instances/*/tables/*}:mutateRow:\001*\332A\034tab"
+ + "le_name,row_key,mutations\332A+table_name,r"
+ + "ow_key,mutations,app_profile_id\022\336\001\n\nMuta"
+ + "teRows\022%.google.bigtable.v2.MutateRowsRe"
+ + "quest\032&.google.bigtable.v2.MutateRowsRes"
+ + "ponse\"\177\202\323\344\223\002@\";/v2/{table_name=projects/"
+ + "*/instances/*/tables/*}:mutateRows:\001*\332A\022"
+ + "table_name,entries\332A!table_name,entries,"
+ + "app_profile_id0\001\022\331\002\n\021CheckAndMutateRow\022,"
+ + ".google.bigtable.v2.CheckAndMutateRowReq"
+ + "uest\032-.google.bigtable.v2.CheckAndMutate"
+ + "RowResponse\"\346\001\202\323\344\223\002G\"B/v2/{table_name=pr"
+ + "ojects/*/instances/*/tables/*}:checkAndM"
+ + "utateRow:\001*\332ABtable_name,row_key,predica"
+ + "te_filter,true_mutations,false_mutations"
+ + "\332AQtable_name,row_key,predicate_filter,t"
+ + "rue_mutations,false_mutations,app_profil"
+ + "e_id\022\211\002\n\022ReadModifyWriteRow\022-.google.big"
+ + "table.v2.ReadModifyWriteRowRequest\032..goo"
+ + "gle.bigtable.v2.ReadModifyWriteRowRespon"
+ + "se\"\223\001\202\323\344\223\002H\"C/v2/{table_name=projects/*/"
+ + "instances/*/tables/*}:readModifyWriteRow"
+ + ":\001*\332A\030table_name,row_key,rules\332A\'table_n"
+ + "ame,row_key,rules,app_profile_id\032\333\002\312A\027bi"
+ + "gtable.googleapis.com\322A\275\002https://www.goo"
+ + "gleapis.com/auth/bigtable.data,https://w"
+ + "ww.googleapis.com/auth/bigtable.data.rea"
+ + "donly,https://www.googleapis.com/auth/cl"
+ + "oud-bigtable.data,https://www.googleapis"
+ + ".com/auth/cloud-bigtable.data.readonly,h"
+ + "ttps://www.googleapis.com/auth/cloud-pla"
+ + "tform,https://www.googleapis.com/auth/cl"
+ + "oud-platform.read-onlyB\365\001\n\026com.google.bi"
+ + "gtable.v2B\rBigtableProtoP\001Z:google.golan"
+ + "g.org/genproto/googleapis/bigtable/v2;bi"
+ + "gtable\252\002\030Google.Cloud.Bigtable.V2\312\002\030Goog"
+ + "le\\Cloud\\Bigtable\\V2\352AW\n\035bigtable.google"
+ + "apis.com/Table\0226projects/{project}/insta"
+ + "nces/{instance}/tables/{table}b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.bigtable.v2.DataProto.getDescriptor(),
- com.google.protobuf.WrappersProto.getDescriptor(),
- com.google.rpc.StatusProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.api.ClientProto.getDescriptor(),
+ com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.api.ResourceProto.getDescriptor(),
+ com.google.bigtable.v2.DataProto.getDescriptor(),
+ com.google.protobuf.WrappersProto.getDescriptor(),
+ com.google.rpc.StatusProto.getDescriptor(),
+ });
internal_static_google_bigtable_v2_ReadRowsRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable =
@@ -327,10 +352,19 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
});
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
+ registry.add(com.google.api.ClientProto.defaultHost);
+ registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
registry.add(com.google.api.AnnotationsProto.http);
+ registry.add(com.google.api.ClientProto.methodSignature);
+ registry.add(com.google.api.ClientProto.oauthScopes);
+ registry.add(com.google.api.ResourceProto.resourceDefinition);
+ registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor();
+ com.google.api.ClientProto.getDescriptor();
+ com.google.api.FieldBehaviorProto.getDescriptor();
+ com.google.api.ResourceProto.getDescriptor();
com.google.bigtable.v2.DataProto.getDescriptor();
com.google.protobuf.WrappersProto.getDescriptor();
com.google.rpc.StatusProto.getDescriptor();
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java
index 770725e458..ca1cf43bc2 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -42,6 +42,12 @@ private Cell() {
labels_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Cell();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -79,9 +85,9 @@ private Cell(
case 26:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
labels_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000001;
}
labels_.add(s);
break;
@@ -100,7 +106,7 @@ private Cell(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
labels_ = labels_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
@@ -121,7 +127,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.bigtable.v2.Cell.class, com.google.bigtable.v2.Cell.Builder.class);
}
- private int bitField0_;
public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 1;
private long timestampMicros_;
/**
@@ -137,6 +142,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int64 timestamp_micros = 1;
+ *
+ * @return The timestampMicros.
*/
public long getTimestampMicros() {
return timestampMicros_;
@@ -154,6 +161,8 @@ public long getTimestampMicros() {
*
*
* bytes value = 2;
+ *
+ * @return The value.
*/
public com.google.protobuf.ByteString getValue() {
return value_;
@@ -169,6 +178,8 @@ public com.google.protobuf.ByteString getValue() {
*
*
* repeated string labels = 3;
+ *
+ * @return A list containing the labels.
*/
public com.google.protobuf.ProtocolStringList getLabelsList() {
return labels_;
@@ -181,6 +192,8 @@ public com.google.protobuf.ProtocolStringList getLabelsList() {
*
*
* repeated string labels = 3;
+ *
+ * @return The count of labels.
*/
public int getLabelsCount() {
return labels_.size();
@@ -193,6 +206,9 @@ public int getLabelsCount() {
*
*
* repeated string labels = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The labels at the given index.
*/
public java.lang.String getLabels(int index) {
return labels_.get(index);
@@ -205,6 +221,9 @@ public java.lang.String getLabels(int index) {
*
*
* repeated string labels = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the labels at the given index.
*/
public com.google.protobuf.ByteString getLabelsBytes(int index) {
return labels_.getByteString(index);
@@ -440,7 +459,7 @@ public Builder clear() {
value_ = com.google.protobuf.ByteString.EMPTY;
labels_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@@ -467,15 +486,13 @@ public com.google.bigtable.v2.Cell build() {
public com.google.bigtable.v2.Cell buildPartial() {
com.google.bigtable.v2.Cell result = new com.google.bigtable.v2.Cell(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.timestampMicros_ = timestampMicros_;
result.value_ = value_;
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
labels_ = labels_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.labels_ = labels_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -534,7 +551,7 @@ public Builder mergeFrom(com.google.bigtable.v2.Cell other) {
if (!other.labels_.isEmpty()) {
if (labels_.isEmpty()) {
labels_ = other.labels_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLabelsIsMutable();
labels_.addAll(other.labels_);
@@ -586,6 +603,8 @@ public Builder mergeFrom(
*
*
* int64 timestamp_micros = 1;
+ *
+ * @return The timestampMicros.
*/
public long getTimestampMicros() {
return timestampMicros_;
@@ -603,6 +622,9 @@ public long getTimestampMicros() {
*
*
* int64 timestamp_micros = 1;
+ *
+ * @param value The timestampMicros to set.
+ * @return This builder for chaining.
*/
public Builder setTimestampMicros(long value) {
@@ -623,6 +645,8 @@ public Builder setTimestampMicros(long value) {
*
*
* int64 timestamp_micros = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTimestampMicros() {
@@ -642,6 +666,8 @@ public Builder clearTimestampMicros() {
*
*
* bytes value = 2;
+ *
+ * @return The value.
*/
public com.google.protobuf.ByteString getValue() {
return value_;
@@ -656,6 +682,9 @@ public com.google.protobuf.ByteString getValue() {
*
*
* bytes value = 2;
+ *
+ * @param value The value to set.
+ * @return This builder for chaining.
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -676,6 +705,8 @@ public Builder setValue(com.google.protobuf.ByteString value) {
*
*
* bytes value = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValue() {
@@ -688,9 +719,9 @@ public Builder clearValue() {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureLabelsIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
labels_ = new com.google.protobuf.LazyStringArrayList(labels_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -701,6 +732,8 @@ private void ensureLabelsIsMutable() {
*
*
* repeated string labels = 3;
+ *
+ * @return A list containing the labels.
*/
public com.google.protobuf.ProtocolStringList getLabelsList() {
return labels_.getUnmodifiableView();
@@ -713,6 +746,8 @@ public com.google.protobuf.ProtocolStringList getLabelsList() {
*
*
* repeated string labels = 3;
+ *
+ * @return The count of labels.
*/
public int getLabelsCount() {
return labels_.size();
@@ -725,6 +760,9 @@ public int getLabelsCount() {
*
*
* repeated string labels = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The labels at the given index.
*/
public java.lang.String getLabels(int index) {
return labels_.get(index);
@@ -737,6 +775,9 @@ public java.lang.String getLabels(int index) {
*
*
* repeated string labels = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the labels at the given index.
*/
public com.google.protobuf.ByteString getLabelsBytes(int index) {
return labels_.getByteString(index);
@@ -749,6 +790,10 @@ public com.google.protobuf.ByteString getLabelsBytes(int index) {
*
*
* repeated string labels = 3;
+ *
+ * @param index The index to set the value at.
+ * @param value The labels to set.
+ * @return This builder for chaining.
*/
public Builder setLabels(int index, java.lang.String value) {
if (value == null) {
@@ -767,6 +812,9 @@ public Builder setLabels(int index, java.lang.String value) {
*
*
* repeated string labels = 3;
+ *
+ * @param value The labels to add.
+ * @return This builder for chaining.
*/
public Builder addLabels(java.lang.String value) {
if (value == null) {
@@ -785,6 +833,9 @@ public Builder addLabels(java.lang.String value) {
*
*
* repeated string labels = 3;
+ *
+ * @param values The labels to add.
+ * @return This builder for chaining.
*/
public Builder addAllLabels(java.lang.Iterable values) {
ensureLabelsIsMutable();
@@ -800,10 +851,12 @@ public Builder addAllLabels(java.lang.Iterable values) {
*
*
* repeated string labels = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLabels() {
labels_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -815,6 +868,9 @@ public Builder clearLabels() {
*
*
* repeated string labels = 3;
+ *
+ * @param value The bytes of the labels to add.
+ * @return This builder for chaining.
*/
public Builder addLabelsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java
index a65b93a89b..8f09773a0f 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -36,6 +36,8 @@ public interface CellOrBuilder
*
*
* int64 timestamp_micros = 1;
+ *
+ * @return The timestampMicros.
*/
long getTimestampMicros();
@@ -49,6 +51,8 @@ public interface CellOrBuilder
*
*
* bytes value = 2;
+ *
+ * @return The value.
*/
com.google.protobuf.ByteString getValue();
@@ -60,6 +64,8 @@ public interface CellOrBuilder
*
*
* repeated string labels = 3;
+ *
+ * @return A list containing the labels.
*/
java.util.List getLabelsList();
/**
@@ -70,6 +76,8 @@ public interface CellOrBuilder
*
*
* repeated string labels = 3;
+ *
+ * @return The count of labels.
*/
int getLabelsCount();
/**
@@ -80,6 +88,9 @@ public interface CellOrBuilder
*
*
* repeated string labels = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The labels at the given index.
*/
java.lang.String getLabels(int index);
/**
@@ -90,6 +101,9 @@ public interface CellOrBuilder
*
*
* repeated string labels = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the labels at the given index.
*/
com.google.protobuf.ByteString getLabelsBytes(int index);
}
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 baf3b9d86d..d6fcf92fbb 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -45,6 +45,12 @@ private CheckAndMutateRowRequest() {
falseMutations_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CheckAndMutateRowRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -83,9 +89,9 @@ private CheckAndMutateRowRequest(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
trueMutations_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000010;
+ mutable_bitField0_ |= 0x00000001;
}
trueMutations_.add(
input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry));
@@ -93,9 +99,9 @@ private CheckAndMutateRowRequest(
}
case 42:
{
- if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
falseMutations_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000020;
+ mutable_bitField0_ |= 0x00000002;
}
falseMutations_.add(
input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry));
@@ -137,10 +143,10 @@ private CheckAndMutateRowRequest(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000010) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
trueMutations_ = java.util.Collections.unmodifiableList(trueMutations_);
}
- if (((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
falseMutations_ = java.util.Collections.unmodifiableList(falseMutations_);
}
this.unknownFields = unknownFields.build();
@@ -163,20 +169,23 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.bigtable.v2.CheckAndMutateRowRequest.Builder.class);
}
- private int bitField0_;
public static final int TABLE_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object tableName_;
/**
*
*
*
- * The unique name of the table to which the conditional mutation should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
@@ -193,13 +202,17 @@ public java.lang.String getTableName() {
*
*
*
- * The unique name of the table to which the conditional mutation should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
public com.google.protobuf.ByteString getTableNameBytes() {
java.lang.Object ref = tableName_;
@@ -224,6 +237,8 @@ public com.google.protobuf.ByteString getTableNameBytes() {
*
*
* string app_profile_id = 7;
+ *
+ * @return The appProfileId.
*/
public java.lang.String getAppProfileId() {
java.lang.Object ref = appProfileId_;
@@ -245,6 +260,8 @@ public java.lang.String getAppProfileId() {
*
*
* string app_profile_id = 7;
+ *
+ * @return The bytes for appProfileId.
*/
public com.google.protobuf.ByteString getAppProfileIdBytes() {
java.lang.Object ref = appProfileId_;
@@ -264,10 +281,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
*
*
*
- * 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;
+ * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The rowKey.
*/
public com.google.protobuf.ByteString getRowKey() {
return rowKey_;
@@ -286,6 +305,8 @@ public com.google.protobuf.ByteString getRowKey() {
*
*
* .google.bigtable.v2.RowFilter predicate_filter = 6;
+ *
+ * @return Whether the predicateFilter field is set.
*/
public boolean hasPredicateFilter() {
return predicateFilter_ != null;
@@ -301,6 +322,8 @@ public boolean hasPredicateFilter() {
*
*
* .google.bigtable.v2.RowFilter predicate_filter = 6;
+ *
+ * @return The predicateFilter.
*/
public com.google.bigtable.v2.RowFilter getPredicateFilter() {
return predicateFilter_ == null
@@ -766,13 +789,13 @@ public Builder clear() {
}
if (trueMutationsBuilder_ == null) {
trueMutations_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
trueMutationsBuilder_.clear();
}
if (falseMutationsBuilder_ == null) {
falseMutations_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
falseMutationsBuilder_.clear();
}
@@ -804,7 +827,6 @@ public com.google.bigtable.v2.CheckAndMutateRowRequest buildPartial() {
com.google.bigtable.v2.CheckAndMutateRowRequest result =
new com.google.bigtable.v2.CheckAndMutateRowRequest(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.tableName_ = tableName_;
result.appProfileId_ = appProfileId_;
result.rowKey_ = rowKey_;
@@ -814,24 +836,23 @@ public com.google.bigtable.v2.CheckAndMutateRowRequest buildPartial() {
result.predicateFilter_ = predicateFilterBuilder_.build();
}
if (trueMutationsBuilder_ == null) {
- if (((bitField0_ & 0x00000010) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
trueMutations_ = java.util.Collections.unmodifiableList(trueMutations_);
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.trueMutations_ = trueMutations_;
} else {
result.trueMutations_ = trueMutationsBuilder_.build();
}
if (falseMutationsBuilder_ == null) {
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
falseMutations_ = java.util.Collections.unmodifiableList(falseMutations_);
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.falseMutations_ = falseMutations_;
} else {
result.falseMutations_ = falseMutationsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -900,7 +921,7 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other)
if (!other.trueMutations_.isEmpty()) {
if (trueMutations_.isEmpty()) {
trueMutations_ = other.trueMutations_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTrueMutationsIsMutable();
trueMutations_.addAll(other.trueMutations_);
@@ -913,7 +934,7 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other)
trueMutationsBuilder_.dispose();
trueMutationsBuilder_ = null;
trueMutations_ = other.trueMutations_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
trueMutationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getTrueMutationsFieldBuilder()
@@ -927,7 +948,7 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other)
if (!other.falseMutations_.isEmpty()) {
if (falseMutations_.isEmpty()) {
falseMutations_ = other.falseMutations_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureFalseMutationsIsMutable();
falseMutations_.addAll(other.falseMutations_);
@@ -940,7 +961,7 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other)
falseMutationsBuilder_.dispose();
falseMutationsBuilder_ = null;
falseMutations_ = other.falseMutations_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
falseMutationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getFalseMutationsFieldBuilder()
@@ -986,13 +1007,17 @@ public Builder mergeFrom(
*
*
*
- * The unique name of the table to which the conditional mutation should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
@@ -1009,13 +1034,17 @@ public java.lang.String getTableName() {
*
*
*
- * The unique name of the table to which the conditional mutation should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
public com.google.protobuf.ByteString getTableNameBytes() {
java.lang.Object ref = tableName_;
@@ -1032,13 +1061,18 @@ public com.google.protobuf.ByteString getTableNameBytes() {
*
*
*
- * The unique name of the table to which the conditional mutation should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The tableName to set.
+ * @return This builder for chaining.
*/
public Builder setTableName(java.lang.String value) {
if (value == null) {
@@ -1053,13 +1087,17 @@ public Builder setTableName(java.lang.String value) {
*
*
*
- * The unique name of the table to which the conditional mutation should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
*/
public Builder clearTableName() {
@@ -1071,13 +1109,18 @@ public Builder clearTableName() {
*
*
*
- * The unique name of the table to which the conditional mutation should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for tableName to set.
+ * @return This builder for chaining.
*/
public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1100,6 +1143,8 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
*
*
* string app_profile_id = 7;
+ *
+ * @return The appProfileId.
*/
public java.lang.String getAppProfileId() {
java.lang.Object ref = appProfileId_;
@@ -1121,6 +1166,8 @@ public java.lang.String getAppProfileId() {
*
*
* string app_profile_id = 7;
+ *
+ * @return The bytes for appProfileId.
*/
public com.google.protobuf.ByteString getAppProfileIdBytes() {
java.lang.Object ref = appProfileId_;
@@ -1142,6 +1189,9 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
*
*
* string app_profile_id = 7;
+ *
+ * @param value The appProfileId to set.
+ * @return This builder for chaining.
*/
public Builder setAppProfileId(java.lang.String value) {
if (value == null) {
@@ -1161,6 +1211,8 @@ public Builder setAppProfileId(java.lang.String value) {
*
*
* string app_profile_id = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAppProfileId() {
@@ -1177,6 +1229,9 @@ public Builder clearAppProfileId() {
*
*
* string app_profile_id = 7;
+ *
+ * @param value The bytes for appProfileId to set.
+ * @return This builder for chaining.
*/
public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1194,10 +1249,12 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) {
*
*
*
- * 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;
+ * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The rowKey.
*/
public com.google.protobuf.ByteString getRowKey() {
return rowKey_;
@@ -1206,10 +1263,13 @@ public com.google.protobuf.ByteString getRowKey() {
*
*
*
- * 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;
+ * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The rowKey to set.
+ * @return This builder for chaining.
*/
public Builder setRowKey(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1224,10 +1284,12 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
*
*
*
- * 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;
+ * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowKey() {
@@ -1253,6 +1315,8 @@ public Builder clearRowKey() {
*
*
* .google.bigtable.v2.RowFilter predicate_filter = 6;
+ *
+ * @return Whether the predicateFilter field is set.
*/
public boolean hasPredicateFilter() {
return predicateFilterBuilder_ != null || predicateFilter_ != null;
@@ -1268,6 +1332,8 @@ public boolean hasPredicateFilter() {
*
*
* .google.bigtable.v2.RowFilter predicate_filter = 6;
+ *
+ * @return The predicateFilter.
*/
public com.google.bigtable.v2.RowFilter getPredicateFilter() {
if (predicateFilterBuilder_ == null) {
@@ -1448,9 +1514,9 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
java.util.Collections.emptyList();
private void ensureTrueMutationsIsMutable() {
- if (!((bitField0_ & 0x00000010) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
trueMutations_ = new java.util.ArrayList(trueMutations_);
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000001;
}
}
@@ -1709,7 +1775,7 @@ public Builder addAllTrueMutations(
public Builder clearTrueMutations() {
if (trueMutationsBuilder_ == null) {
trueMutations_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
trueMutationsBuilder_.clear();
@@ -1859,7 +1925,7 @@ public java.util.List getTrueMutationsB
com.google.bigtable.v2.Mutation.Builder,
com.google.bigtable.v2.MutationOrBuilder>(
trueMutations_,
- ((bitField0_ & 0x00000010) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
trueMutations_ = null;
@@ -1871,9 +1937,9 @@ public java.util.List getTrueMutationsB
java.util.Collections.emptyList();
private void ensureFalseMutationsIsMutable() {
- if (!((bitField0_ & 0x00000020) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
falseMutations_ = new java.util.ArrayList(falseMutations_);
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000002;
}
}
@@ -2132,7 +2198,7 @@ public Builder addAllFalseMutations(
public Builder clearFalseMutations() {
if (falseMutationsBuilder_ == null) {
falseMutations_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
falseMutationsBuilder_.clear();
@@ -2282,7 +2348,7 @@ public java.util.List getFalseMutations
com.google.bigtable.v2.Mutation.Builder,
com.google.bigtable.v2.MutationOrBuilder>(
falseMutations_,
- ((bitField0_ & 0x00000020) != 0),
+ ((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
falseMutations_ = null;
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 6e61c74298..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
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -27,26 +27,34 @@ public interface CheckAndMutateRowRequestOrBuilder
*
*
*
- * The unique name of the table to which the conditional mutation should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
java.lang.String getTableName();
/**
*
*
*
- * The unique name of the table to which the conditional mutation should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
com.google.protobuf.ByteString getTableNameBytes();
@@ -59,6 +67,8 @@ public interface CheckAndMutateRowRequestOrBuilder
*
*
* string app_profile_id = 7;
+ *
+ * @return The appProfileId.
*/
java.lang.String getAppProfileId();
/**
@@ -70,6 +80,8 @@ public interface CheckAndMutateRowRequestOrBuilder
*
*
* string app_profile_id = 7;
+ *
+ * @return The bytes for appProfileId.
*/
com.google.protobuf.ByteString getAppProfileIdBytes();
@@ -77,10 +89,12 @@ public interface CheckAndMutateRowRequestOrBuilder
*
*
*
- * 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;
+ * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The rowKey.
*/
com.google.protobuf.ByteString getRowKey();
@@ -95,6 +109,8 @@ public interface CheckAndMutateRowRequestOrBuilder
*
*
* .google.bigtable.v2.RowFilter predicate_filter = 6;
+ *
+ * @return Whether the predicateFilter field is set.
*/
boolean hasPredicateFilter();
/**
@@ -108,6 +124,8 @@ public interface CheckAndMutateRowRequestOrBuilder
*
*
* .google.bigtable.v2.RowFilter predicate_filter = 6;
+ *
+ * @return The predicateFilter.
*/
com.google.bigtable.v2.RowFilter getPredicateFilter();
/**
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
index 1f3eb5a56a..19a77fcf4c 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private CheckAndMutateRowResponse(com.google.protobuf.GeneratedMessageV3.Builder
private CheckAndMutateRowResponse() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CheckAndMutateRowResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private CheckAndMutateRowResponse(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -113,6 +118,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bool predicate_matched = 1;
+ *
+ * @return The predicateMatched.
*/
public boolean getPredicateMatched() {
return predicateMatched_;
@@ -444,6 +451,8 @@ public Builder mergeFrom(
*
*
* bool predicate_matched = 1;
+ *
+ * @return The predicateMatched.
*/
public boolean getPredicateMatched() {
return predicateMatched_;
@@ -457,6 +466,9 @@ public boolean getPredicateMatched() {
*
*
* bool predicate_matched = 1;
+ *
+ * @param value The predicateMatched to set.
+ * @return This builder for chaining.
*/
public Builder setPredicateMatched(boolean value) {
@@ -473,6 +485,8 @@ public Builder setPredicateMatched(boolean value) {
*
*
* bool predicate_matched = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPredicateMatched() {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java
index da01ada9e6..6a3e935338 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface CheckAndMutateRowResponseOrBuilder
*
*
* bool predicate_matched = 1;
+ *
+ * @return The predicateMatched.
*/
boolean getPredicateMatched();
}
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java
index 87f3f9543b..ab08ecaaf7 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private Column() {
cells_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Column();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -74,9 +80,9 @@ private Column(
}
case 18:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
cells_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
cells_.add(
input.readMessage(com.google.bigtable.v2.Cell.parser(), extensionRegistry));
@@ -96,7 +102,7 @@ private Column(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
cells_ = java.util.Collections.unmodifiableList(cells_);
}
this.unknownFields = unknownFields.build();
@@ -117,7 +123,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.bigtable.v2.Column.class, com.google.bigtable.v2.Column.Builder.class);
}
- private int bitField0_;
public static final int QUALIFIER_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString qualifier_;
/**
@@ -132,6 +137,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bytes qualifier = 1;
+ *
+ * @return The qualifier.
*/
public com.google.protobuf.ByteString getQualifier() {
return qualifier_;
@@ -418,7 +425,7 @@ public Builder clear() {
if (cellsBuilder_ == null) {
cells_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
cellsBuilder_.clear();
}
@@ -448,18 +455,16 @@ public com.google.bigtable.v2.Column build() {
public com.google.bigtable.v2.Column buildPartial() {
com.google.bigtable.v2.Column result = new com.google.bigtable.v2.Column(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.qualifier_ = qualifier_;
if (cellsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
cells_ = java.util.Collections.unmodifiableList(cells_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.cells_ = cells_;
} else {
result.cells_ = cellsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -516,7 +521,7 @@ public Builder mergeFrom(com.google.bigtable.v2.Column other) {
if (!other.cells_.isEmpty()) {
if (cells_.isEmpty()) {
cells_ = other.cells_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureCellsIsMutable();
cells_.addAll(other.cells_);
@@ -529,7 +534,7 @@ public Builder mergeFrom(com.google.bigtable.v2.Column other) {
cellsBuilder_.dispose();
cellsBuilder_ = null;
cells_ = other.cells_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
cellsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getCellsFieldBuilder()
@@ -583,6 +588,8 @@ public Builder mergeFrom(
*
*
* bytes qualifier = 1;
+ *
+ * @return The qualifier.
*/
public com.google.protobuf.ByteString getQualifier() {
return qualifier_;
@@ -599,6 +606,9 @@ public com.google.protobuf.ByteString getQualifier() {
*
*
* bytes qualifier = 1;
+ *
+ * @param value The qualifier to set.
+ * @return This builder for chaining.
*/
public Builder setQualifier(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -621,6 +631,8 @@ public Builder setQualifier(com.google.protobuf.ByteString value) {
*
*
* bytes qualifier = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearQualifier() {
@@ -632,9 +644,9 @@ public Builder clearQualifier() {
private java.util.List cells_ = java.util.Collections.emptyList();
private void ensureCellsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
cells_ = new java.util.ArrayList(cells_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
@@ -846,7 +858,7 @@ public Builder addAllCells(java.lang.Iterable extends com.google.bigtable.v2.C
public Builder clearCells() {
if (cellsBuilder_ == null) {
cells_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
cellsBuilder_.clear();
@@ -965,7 +977,7 @@ public java.util.List getCellsBuilderList()
com.google.bigtable.v2.Cell,
com.google.bigtable.v2.Cell.Builder,
com.google.bigtable.v2.CellOrBuilder>(
- cells_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ cells_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
cells_ = null;
}
return cellsBuilder_;
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java
index d52f42c80f..fc994bb813 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -35,6 +35,8 @@ public interface ColumnOrBuilder
*
*
* bytes qualifier = 1;
+ *
+ * @return The qualifier.
*/
com.google.protobuf.ByteString getQualifier();
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java
index d8b94bc061..51bbb57ef7 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -44,6 +44,12 @@ private ColumnRange() {
familyName_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ColumnRange();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private ColumnRange(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -136,7 +141,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int startQualifierCase_ = 0;
private java.lang.Object startQualifier_;
- public enum StartQualifierCase implements com.google.protobuf.Internal.EnumLite {
+ public enum StartQualifierCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
START_QUALIFIER_CLOSED(2),
START_QUALIFIER_OPEN(3),
STARTQUALIFIER_NOT_SET(0);
@@ -145,7 +153,11 @@ public enum StartQualifierCase implements com.google.protobuf.Internal.EnumLite
private StartQualifierCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static StartQualifierCase valueOf(int value) {
return forNumber(value);
@@ -176,7 +188,10 @@ public StartQualifierCase getStartQualifierCase() {
private int endQualifierCase_ = 0;
private java.lang.Object endQualifier_;
- public enum EndQualifierCase implements com.google.protobuf.Internal.EnumLite {
+ public enum EndQualifierCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
END_QUALIFIER_CLOSED(4),
END_QUALIFIER_OPEN(5),
ENDQUALIFIER_NOT_SET(0);
@@ -185,7 +200,11 @@ public enum EndQualifierCase implements com.google.protobuf.Internal.EnumLite {
private EndQualifierCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static EndQualifierCase valueOf(int value) {
return forNumber(value);
@@ -223,6 +242,8 @@ public EndQualifierCase getEndQualifierCase() {
*
*
* string family_name = 1;
+ *
+ * @return The familyName.
*/
public java.lang.String getFamilyName() {
java.lang.Object ref = familyName_;
@@ -243,6 +264,8 @@ public java.lang.String getFamilyName() {
*
*
* string family_name = 1;
+ *
+ * @return The bytes for familyName.
*/
public com.google.protobuf.ByteString getFamilyNameBytes() {
java.lang.Object ref = familyName_;
@@ -265,6 +288,8 @@ public com.google.protobuf.ByteString getFamilyNameBytes() {
*
*
* bytes start_qualifier_closed = 2;
+ *
+ * @return The startQualifierClosed.
*/
public com.google.protobuf.ByteString getStartQualifierClosed() {
if (startQualifierCase_ == 2) {
@@ -282,6 +307,8 @@ public com.google.protobuf.ByteString getStartQualifierClosed() {
*
*
* bytes start_qualifier_open = 3;
+ *
+ * @return The startQualifierOpen.
*/
public com.google.protobuf.ByteString getStartQualifierOpen() {
if (startQualifierCase_ == 3) {
@@ -299,6 +326,8 @@ public com.google.protobuf.ByteString getStartQualifierOpen() {
*
*
* bytes end_qualifier_closed = 4;
+ *
+ * @return The endQualifierClosed.
*/
public com.google.protobuf.ByteString getEndQualifierClosed() {
if (endQualifierCase_ == 4) {
@@ -316,6 +345,8 @@ public com.google.protobuf.ByteString getEndQualifierClosed() {
*
*
* bytes end_qualifier_open = 5;
+ *
+ * @return The endQualifierOpen.
*/
public com.google.protobuf.ByteString getEndQualifierOpen() {
if (endQualifierCase_ == 5) {
@@ -805,6 +836,8 @@ public Builder clearEndQualifier() {
*
*
* string family_name = 1;
+ *
+ * @return The familyName.
*/
public java.lang.String getFamilyName() {
java.lang.Object ref = familyName_;
@@ -825,6 +858,8 @@ public java.lang.String getFamilyName() {
*
*
* string family_name = 1;
+ *
+ * @return The bytes for familyName.
*/
public com.google.protobuf.ByteString getFamilyNameBytes() {
java.lang.Object ref = familyName_;
@@ -845,6 +880,9 @@ public com.google.protobuf.ByteString getFamilyNameBytes() {
*
*
* string family_name = 1;
+ *
+ * @param value The familyName to set.
+ * @return This builder for chaining.
*/
public Builder setFamilyName(java.lang.String value) {
if (value == null) {
@@ -863,6 +901,8 @@ public Builder setFamilyName(java.lang.String value) {
*
*
* string family_name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFamilyName() {
@@ -878,6 +918,9 @@ public Builder clearFamilyName() {
*
*
* string family_name = 1;
+ *
+ * @param value The bytes for familyName to set.
+ * @return This builder for chaining.
*/
public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -898,6 +941,8 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) {
*
*
* bytes start_qualifier_closed = 2;
+ *
+ * @return The startQualifierClosed.
*/
public com.google.protobuf.ByteString getStartQualifierClosed() {
if (startQualifierCase_ == 2) {
@@ -913,6 +958,9 @@ public com.google.protobuf.ByteString getStartQualifierClosed() {
*
*
* bytes start_qualifier_closed = 2;
+ *
+ * @param value The startQualifierClosed to set.
+ * @return This builder for chaining.
*/
public Builder setStartQualifierClosed(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -931,6 +979,8 @@ public Builder setStartQualifierClosed(com.google.protobuf.ByteString value) {
*
*
* bytes start_qualifier_closed = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStartQualifierClosed() {
if (startQualifierCase_ == 2) {
@@ -949,6 +999,8 @@ public Builder clearStartQualifierClosed() {
*
*
* bytes start_qualifier_open = 3;
+ *
+ * @return The startQualifierOpen.
*/
public com.google.protobuf.ByteString getStartQualifierOpen() {
if (startQualifierCase_ == 3) {
@@ -964,6 +1016,9 @@ public com.google.protobuf.ByteString getStartQualifierOpen() {
*
*
* bytes start_qualifier_open = 3;
+ *
+ * @param value The startQualifierOpen to set.
+ * @return This builder for chaining.
*/
public Builder setStartQualifierOpen(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -982,6 +1037,8 @@ public Builder setStartQualifierOpen(com.google.protobuf.ByteString value) {
*
*
* bytes start_qualifier_open = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStartQualifierOpen() {
if (startQualifierCase_ == 3) {
@@ -1000,6 +1057,8 @@ public Builder clearStartQualifierOpen() {
*
*
* bytes end_qualifier_closed = 4;
+ *
+ * @return The endQualifierClosed.
*/
public com.google.protobuf.ByteString getEndQualifierClosed() {
if (endQualifierCase_ == 4) {
@@ -1015,6 +1074,9 @@ public com.google.protobuf.ByteString getEndQualifierClosed() {
*
*
* bytes end_qualifier_closed = 4;
+ *
+ * @param value The endQualifierClosed to set.
+ * @return This builder for chaining.
*/
public Builder setEndQualifierClosed(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1033,6 +1095,8 @@ public Builder setEndQualifierClosed(com.google.protobuf.ByteString value) {
*
*
* bytes end_qualifier_closed = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEndQualifierClosed() {
if (endQualifierCase_ == 4) {
@@ -1051,6 +1115,8 @@ public Builder clearEndQualifierClosed() {
*
*
* bytes end_qualifier_open = 5;
+ *
+ * @return The endQualifierOpen.
*/
public com.google.protobuf.ByteString getEndQualifierOpen() {
if (endQualifierCase_ == 5) {
@@ -1066,6 +1132,9 @@ public com.google.protobuf.ByteString getEndQualifierOpen() {
*
*
* bytes end_qualifier_open = 5;
+ *
+ * @param value The endQualifierOpen to set.
+ * @return This builder for chaining.
*/
public Builder setEndQualifierOpen(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1084,6 +1153,8 @@ public Builder setEndQualifierOpen(com.google.protobuf.ByteString value) {
*
*
* bytes end_qualifier_open = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEndQualifierOpen() {
if (endQualifierCase_ == 5) {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java
index 7d866b58f8..744de7b550 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface ColumnRangeOrBuilder
*
*
* string family_name = 1;
+ *
+ * @return The familyName.
*/
java.lang.String getFamilyName();
/**
@@ -41,6 +43,8 @@ public interface ColumnRangeOrBuilder
*
*
* string family_name = 1;
+ *
+ * @return The bytes for familyName.
*/
com.google.protobuf.ByteString getFamilyNameBytes();
@@ -52,6 +56,8 @@ public interface ColumnRangeOrBuilder
*
*
* bytes start_qualifier_closed = 2;
+ *
+ * @return The startQualifierClosed.
*/
com.google.protobuf.ByteString getStartQualifierClosed();
@@ -63,6 +69,8 @@ public interface ColumnRangeOrBuilder
*
*
* bytes start_qualifier_open = 3;
+ *
+ * @return The startQualifierOpen.
*/
com.google.protobuf.ByteString getStartQualifierOpen();
@@ -74,6 +82,8 @@ public interface ColumnRangeOrBuilder
*
*
* bytes end_qualifier_closed = 4;
+ *
+ * @return The endQualifierClosed.
*/
com.google.protobuf.ByteString getEndQualifierClosed();
@@ -85,6 +95,8 @@ public interface ColumnRangeOrBuilder
*
*
* bytes end_qualifier_open = 5;
+ *
+ * @return The endQualifierOpen.
*/
com.google.protobuf.ByteString getEndQualifierOpen();
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java
index 0dd84c61f8..677d08c779 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -188,16 +188,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "Google.Cloud.Bigtable.V2\312\002\030Google\\Cloud\\"
+ "Bigtable\\V2b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}, assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_google_bigtable_v2_Row_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_google_bigtable_v2_Row_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java
index 17b5583003..9567a8a122 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private Family() {
columns_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Family();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -76,9 +82,9 @@ private Family(
}
case 18:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
columns_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
columns_.add(
input.readMessage(com.google.bigtable.v2.Column.parser(), extensionRegistry));
@@ -98,7 +104,7 @@ private Family(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
columns_ = java.util.Collections.unmodifiableList(columns_);
}
this.unknownFields = unknownFields.build();
@@ -119,7 +125,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.bigtable.v2.Family.class, com.google.bigtable.v2.Family.Builder.class);
}
- private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
@@ -135,6 +140,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -160,6 +167,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -455,7 +464,7 @@ public Builder clear() {
if (columnsBuilder_ == null) {
columns_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
columnsBuilder_.clear();
}
@@ -485,18 +494,16 @@ public com.google.bigtable.v2.Family build() {
public com.google.bigtable.v2.Family buildPartial() {
com.google.bigtable.v2.Family result = new com.google.bigtable.v2.Family(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
if (columnsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
columns_ = java.util.Collections.unmodifiableList(columns_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.columns_ = columns_;
} else {
result.columns_ = columnsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -554,7 +561,7 @@ public Builder mergeFrom(com.google.bigtable.v2.Family other) {
if (!other.columns_.isEmpty()) {
if (columns_.isEmpty()) {
columns_ = other.columns_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureColumnsIsMutable();
columns_.addAll(other.columns_);
@@ -567,7 +574,7 @@ public Builder mergeFrom(com.google.bigtable.v2.Family other) {
columnsBuilder_.dispose();
columnsBuilder_ = null;
columns_ = other.columns_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
columnsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getColumnsFieldBuilder()
@@ -622,6 +629,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -647,6 +656,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -672,6 +683,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -695,6 +709,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -715,6 +731,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -731,9 +750,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensureColumnsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
columns_ = new java.util.ArrayList(columns_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
@@ -946,7 +965,7 @@ public Builder addAllColumns(
public Builder clearColumns() {
if (columnsBuilder_ == null) {
columns_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
columnsBuilder_.clear();
@@ -1067,7 +1086,7 @@ public java.util.List getColumnsBuilderLi
com.google.bigtable.v2.Column,
com.google.bigtable.v2.Column.Builder,
com.google.bigtable.v2.ColumnOrBuilder>(
- columns_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ columns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
columns_ = null;
}
return columnsBuilder_;
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java
index bd4954dd0d..7c90e78023 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -36,6 +36,8 @@ public interface FamilyOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -51,6 +53,8 @@ public interface FamilyOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
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 5e53874ee4..7d426e889f 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -44,6 +44,12 @@ private MutateRowRequest() {
mutations_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new MutateRowRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -82,9 +88,9 @@ private MutateRowRequest(
}
case 26:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
mutations_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
mutations_.add(
input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry));
@@ -111,7 +117,7 @@ private MutateRowRequest(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
mutations_ = java.util.Collections.unmodifiableList(mutations_);
}
this.unknownFields = unknownFields.build();
@@ -134,19 +140,22 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.bigtable.v2.MutateRowRequest.Builder.class);
}
- private int bitField0_;
public static final int TABLE_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object tableName_;
/**
*
*
*
- * The unique name of the table to which the mutation should be applied.
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
@@ -163,12 +172,16 @@ public java.lang.String getTableName() {
*
*
*
- * The unique name of the table to which the mutation should be applied.
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
public com.google.protobuf.ByteString getTableNameBytes() {
java.lang.Object ref = tableName_;
@@ -193,6 +206,8 @@ public com.google.protobuf.ByteString getTableNameBytes() {
*
*
* string app_profile_id = 4;
+ *
+ * @return The appProfileId.
*/
public java.lang.String getAppProfileId() {
java.lang.Object ref = appProfileId_;
@@ -214,6 +229,8 @@ public java.lang.String getAppProfileId() {
*
*
* string app_profile_id = 4;
+ *
+ * @return The bytes for appProfileId.
*/
public com.google.protobuf.ByteString getAppProfileIdBytes() {
java.lang.Object ref = appProfileId_;
@@ -233,10 +250,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
*
*
*
- * The key of the row to which the mutation should be applied.
+ * Required. The key of the row to which the mutation should be applied.
*
*
- * bytes row_key = 2;
+ * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The rowKey.
*/
public com.google.protobuf.ByteString getRowKey() {
return rowKey_;
@@ -248,12 +267,14 @@ public com.google.protobuf.ByteString getRowKey() {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List getMutationsList() {
return mutations_;
@@ -262,12 +283,14 @@ public java.util.List getMutationsList() {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List extends com.google.bigtable.v2.MutationOrBuilder>
getMutationsOrBuilderList() {
@@ -277,12 +300,14 @@ public java.util.List getMutationsList() {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public int getMutationsCount() {
return mutations_.size();
@@ -291,12 +316,14 @@ public int getMutationsCount() {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.Mutation getMutations(int index) {
return mutations_.get(index);
@@ -305,12 +332,14 @@ public com.google.bigtable.v2.Mutation getMutations(int index) {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) {
return mutations_.get(index);
@@ -558,7 +587,7 @@ public Builder clear() {
if (mutationsBuilder_ == null) {
mutations_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
mutationsBuilder_.clear();
}
@@ -590,20 +619,18 @@ public com.google.bigtable.v2.MutateRowRequest buildPartial() {
com.google.bigtable.v2.MutateRowRequest result =
new com.google.bigtable.v2.MutateRowRequest(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.tableName_ = tableName_;
result.appProfileId_ = appProfileId_;
result.rowKey_ = rowKey_;
if (mutationsBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
mutations_ = java.util.Collections.unmodifiableList(mutations_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.mutations_ = mutations_;
} else {
result.mutations_ = mutationsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -668,7 +695,7 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowRequest other) {
if (!other.mutations_.isEmpty()) {
if (mutations_.isEmpty()) {
mutations_ = other.mutations_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMutationsIsMutable();
mutations_.addAll(other.mutations_);
@@ -681,7 +708,7 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowRequest other) {
mutationsBuilder_.dispose();
mutationsBuilder_ = null;
mutations_ = other.mutations_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
mutationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getMutationsFieldBuilder()
@@ -727,12 +754,16 @@ public Builder mergeFrom(
*
*
*
- * The unique name of the table to which the mutation should be applied.
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
@@ -749,12 +780,16 @@ public java.lang.String getTableName() {
*
*
*
- * The unique name of the table to which the mutation should be applied.
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
public com.google.protobuf.ByteString getTableNameBytes() {
java.lang.Object ref = tableName_;
@@ -771,12 +806,17 @@ public com.google.protobuf.ByteString getTableNameBytes() {
*
*
*
- * The unique name of the table to which the mutation should be applied.
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The tableName to set.
+ * @return This builder for chaining.
*/
public Builder setTableName(java.lang.String value) {
if (value == null) {
@@ -791,12 +831,16 @@ public Builder setTableName(java.lang.String value) {
*
*
*
- * The unique name of the table to which the mutation should be applied.
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
*/
public Builder clearTableName() {
@@ -808,12 +852,17 @@ public Builder clearTableName() {
*
*
*
- * The unique name of the table to which the mutation should be applied.
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for tableName to set.
+ * @return This builder for chaining.
*/
public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -836,6 +885,8 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
*
*
* string app_profile_id = 4;
+ *
+ * @return The appProfileId.
*/
public java.lang.String getAppProfileId() {
java.lang.Object ref = appProfileId_;
@@ -857,6 +908,8 @@ public java.lang.String getAppProfileId() {
*
*
* string app_profile_id = 4;
+ *
+ * @return The bytes for appProfileId.
*/
public com.google.protobuf.ByteString getAppProfileIdBytes() {
java.lang.Object ref = appProfileId_;
@@ -878,6 +931,9 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
*
*
* string app_profile_id = 4;
+ *
+ * @param value The appProfileId to set.
+ * @return This builder for chaining.
*/
public Builder setAppProfileId(java.lang.String value) {
if (value == null) {
@@ -897,6 +953,8 @@ public Builder setAppProfileId(java.lang.String value) {
*
*
* string app_profile_id = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAppProfileId() {
@@ -913,6 +971,9 @@ public Builder clearAppProfileId() {
*
*
* string app_profile_id = 4;
+ *
+ * @param value The bytes for appProfileId to set.
+ * @return This builder for chaining.
*/
public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -930,10 +991,12 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) {
*
*
*
- * The key of the row to which the mutation should be applied.
+ * Required. The key of the row to which the mutation should be applied.
*
*
- * bytes row_key = 2;
+ * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The rowKey.
*/
public com.google.protobuf.ByteString getRowKey() {
return rowKey_;
@@ -942,10 +1005,13 @@ public com.google.protobuf.ByteString getRowKey() {
*
*
*
- * The key of the row to which the mutation should be applied.
+ * Required. The key of the row to which the mutation should be applied.
*
*
- * bytes row_key = 2;
+ * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The rowKey to set.
+ * @return This builder for chaining.
*/
public Builder setRowKey(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -960,10 +1026,12 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
*
*
*
- * The key of the row to which the mutation should be applied.
+ * Required. The key of the row to which the mutation should be applied.
*
*
- * bytes row_key = 2;
+ * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowKey() {
@@ -976,9 +1044,9 @@ public Builder clearRowKey() {
java.util.Collections.emptyList();
private void ensureMutationsIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
mutations_ = new java.util.ArrayList(mutations_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
@@ -992,12 +1060,14 @@ private void ensureMutationsIsMutable() {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List getMutationsList() {
if (mutationsBuilder_ == null) {
@@ -1010,12 +1080,14 @@ public java.util.List getMutationsList() {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public int getMutationsCount() {
if (mutationsBuilder_ == null) {
@@ -1028,12 +1100,14 @@ public int getMutationsCount() {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.Mutation getMutations(int index) {
if (mutationsBuilder_ == null) {
@@ -1046,12 +1120,14 @@ public com.google.bigtable.v2.Mutation getMutations(int index) {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) {
if (mutationsBuilder_ == null) {
@@ -1070,12 +1146,14 @@ public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder setMutations(
int index, com.google.bigtable.v2.Mutation.Builder builderForValue) {
@@ -1092,12 +1170,14 @@ public Builder setMutations(
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addMutations(com.google.bigtable.v2.Mutation value) {
if (mutationsBuilder_ == null) {
@@ -1116,12 +1196,14 @@ public Builder addMutations(com.google.bigtable.v2.Mutation value) {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) {
if (mutationsBuilder_ == null) {
@@ -1140,12 +1222,14 @@ public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForValue) {
if (mutationsBuilder_ == null) {
@@ -1161,12 +1245,14 @@ public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForVa
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addMutations(
int index, com.google.bigtable.v2.Mutation.Builder builderForValue) {
@@ -1183,12 +1269,14 @@ public Builder addMutations(
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addAllMutations(
java.lang.Iterable extends com.google.bigtable.v2.Mutation> values) {
@@ -1205,17 +1293,19 @@ public Builder addAllMutations(
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder clearMutations() {
if (mutationsBuilder_ == null) {
mutations_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
mutationsBuilder_.clear();
@@ -1226,12 +1316,14 @@ public Builder clearMutations() {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder removeMutations(int index) {
if (mutationsBuilder_ == null) {
@@ -1247,12 +1339,14 @@ public Builder removeMutations(int index) {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder(int index) {
return getMutationsFieldBuilder().getBuilder(index);
@@ -1261,12 +1355,14 @@ public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder(int index) {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) {
if (mutationsBuilder_ == null) {
@@ -1279,12 +1375,14 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index)
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List extends com.google.bigtable.v2.MutationOrBuilder>
getMutationsOrBuilderList() {
@@ -1298,12 +1396,14 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index)
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder() {
return getMutationsFieldBuilder()
@@ -1313,12 +1413,14 @@ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder() {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder(int index) {
return getMutationsFieldBuilder()
@@ -1328,12 +1430,14 @@ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder(int index) {
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List getMutationsBuilderList() {
return getMutationsFieldBuilder().getBuilderList();
@@ -1350,7 +1454,7 @@ public java.util.List getMutationsBuild
com.google.bigtable.v2.Mutation,
com.google.bigtable.v2.Mutation.Builder,
com.google.bigtable.v2.MutationOrBuilder>(
- mutations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+ mutations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
mutations_ = null;
}
return mutationsBuilder_;
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 4c9125d719..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
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -27,24 +27,32 @@ public interface MutateRowRequestOrBuilder
*
*
*
- * The unique name of the table to which the mutation should be applied.
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
java.lang.String getTableName();
/**
*
*
*
- * The unique name of the table to which the mutation should be applied.
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
com.google.protobuf.ByteString getTableNameBytes();
@@ -57,6 +65,8 @@ public interface MutateRowRequestOrBuilder
*
*
* string app_profile_id = 4;
+ *
+ * @return The appProfileId.
*/
java.lang.String getAppProfileId();
/**
@@ -68,6 +78,8 @@ public interface MutateRowRequestOrBuilder
*
*
* string app_profile_id = 4;
+ *
+ * @return The bytes for appProfileId.
*/
com.google.protobuf.ByteString getAppProfileIdBytes();
@@ -75,10 +87,12 @@ public interface MutateRowRequestOrBuilder
*
*
*
- * The key of the row to which the mutation should be applied.
+ * Required. The key of the row to which the mutation should be applied.
*
*
- * bytes row_key = 2;
+ * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The rowKey.
*/
com.google.protobuf.ByteString getRowKey();
@@ -86,60 +100,70 @@ public interface MutateRowRequestOrBuilder
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
java.util.List getMutationsList();
/**
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
com.google.bigtable.v2.Mutation getMutations(int index);
/**
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
int getMutationsCount();
/**
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
java.util.List extends com.google.bigtable.v2.MutationOrBuilder> getMutationsOrBuilderList();
/**
*
*
*
- * Changes to be atomically applied to the specified row. Entries are applied
+ * 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 .google.bigtable.v2.Mutation mutations = 3;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index);
}
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java
index bc3fc147ef..1a7e77ded5 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private MutateRowResponse(com.google.protobuf.GeneratedMessageV3.Builder> buil
private MutateRowResponse() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new MutateRowResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java
index 02d8ec8150..54dffa3f98 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
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 2cb1f029c7..7ee4524ecf 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private MutateRowsRequest() {
entries_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new MutateRowsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -76,10 +82,10 @@ private MutateRowsRequest(
}
case 18:
{
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
entries_ =
new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000001;
}
entries_.add(
input.readMessage(
@@ -107,7 +113,7 @@ private MutateRowsRequest(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
entries_ = java.util.Collections.unmodifiableList(entries_);
}
this.unknownFields = unknownFields.build();
@@ -143,6 +149,8 @@ public interface EntryOrBuilder
*
*
* bytes row_key = 1;
+ *
+ * @return The rowKey.
*/
com.google.protobuf.ByteString getRowKey();
@@ -150,69 +158,87 @@ public interface EntryOrBuilder
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
java.util.List getMutationsList();
/**
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
com.google.bigtable.v2.Mutation getMutations(int index);
/**
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
int getMutationsCount();
/**
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
java.util.List extends com.google.bigtable.v2.MutationOrBuilder> getMutationsOrBuilderList();
/**
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index);
}
- /** Protobuf type {@code google.bigtable.v2.MutateRowsRequest.Entry} */
+ /**
+ *
+ *
+ *
+ * A mutation for a given row.
+ *
+ *
+ * Protobuf type {@code google.bigtable.v2.MutateRowsRequest.Entry}
+ */
public static final class Entry extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsRequest.Entry)
@@ -228,6 +254,12 @@ private Entry() {
mutations_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Entry();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -259,9 +291,9 @@ private Entry(
}
case 18:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
mutations_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
mutations_.add(
input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry));
@@ -281,7 +313,7 @@ private Entry(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
mutations_ = java.util.Collections.unmodifiableList(mutations_);
}
this.unknownFields = unknownFields.build();
@@ -304,7 +336,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.bigtable.v2.MutateRowsRequest.Entry.Builder.class);
}
- private int bitField0_;
public static final int ROW_KEY_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString rowKey_;
/**
@@ -315,6 +346,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bytes row_key = 1;
+ *
+ * @return The rowKey.
*/
public com.google.protobuf.ByteString getRowKey() {
return rowKey_;
@@ -326,13 +359,15 @@ public com.google.protobuf.ByteString getRowKey() {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List getMutationsList() {
return mutations_;
@@ -341,13 +376,15 @@ public java.util.List getMutationsList() {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List extends com.google.bigtable.v2.MutationOrBuilder>
getMutationsOrBuilderList() {
@@ -357,13 +394,15 @@ public java.util.List getMutationsList() {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public int getMutationsCount() {
return mutations_.size();
@@ -372,13 +411,15 @@ public int getMutationsCount() {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.Mutation getMutations(int index) {
return mutations_.get(index);
@@ -387,13 +428,15 @@ public com.google.bigtable.v2.Mutation getMutations(int index) {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) {
return mutations_.get(index);
@@ -570,7 +613,15 @@ protected Builder newBuilderForType(
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.bigtable.v2.MutateRowsRequest.Entry} */
+ /**
+ *
+ *
+ *
+ * A mutation for a given row.
+ *
+ *
+ * Protobuf type {@code google.bigtable.v2.MutateRowsRequest.Entry}
+ */
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder
implements
@@ -614,7 +665,7 @@ public Builder clear() {
if (mutationsBuilder_ == null) {
mutations_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
mutationsBuilder_.clear();
}
@@ -646,18 +697,16 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry buildPartial() {
com.google.bigtable.v2.MutateRowsRequest.Entry result =
new com.google.bigtable.v2.MutateRowsRequest.Entry(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.rowKey_ = rowKey_;
if (mutationsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
mutations_ = java.util.Collections.unmodifiableList(mutations_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.mutations_ = mutations_;
} else {
result.mutations_ = mutationsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -717,7 +766,7 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest.Entry other) {
if (!other.mutations_.isEmpty()) {
if (mutations_.isEmpty()) {
mutations_ = other.mutations_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMutationsIsMutable();
mutations_.addAll(other.mutations_);
@@ -730,7 +779,7 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest.Entry other) {
mutationsBuilder_.dispose();
mutationsBuilder_ = null;
mutations_ = other.mutations_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
mutationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getMutationsFieldBuilder()
@@ -780,6 +829,8 @@ public Builder mergeFrom(
*
*
* bytes row_key = 1;
+ *
+ * @return The rowKey.
*/
public com.google.protobuf.ByteString getRowKey() {
return rowKey_;
@@ -792,6 +843,9 @@ public com.google.protobuf.ByteString getRowKey() {
*
*
* bytes row_key = 1;
+ *
+ * @param value The rowKey to set.
+ * @return This builder for chaining.
*/
public Builder setRowKey(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -810,6 +864,8 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
*
*
* bytes row_key = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowKey() {
@@ -822,9 +878,9 @@ public Builder clearRowKey() {
java.util.Collections.emptyList();
private void ensureMutationsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
mutations_ = new java.util.ArrayList(mutations_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
@@ -838,13 +894,15 @@ private void ensureMutationsIsMutable() {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List getMutationsList() {
if (mutationsBuilder_ == null) {
@@ -857,13 +915,15 @@ public java.util.List getMutationsList() {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public int getMutationsCount() {
if (mutationsBuilder_ == null) {
@@ -876,13 +936,15 @@ public int getMutationsCount() {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.Mutation getMutations(int index) {
if (mutationsBuilder_ == null) {
@@ -895,13 +957,15 @@ public com.google.bigtable.v2.Mutation getMutations(int index) {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) {
if (mutationsBuilder_ == null) {
@@ -920,13 +984,15 @@ public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder setMutations(
int index, com.google.bigtable.v2.Mutation.Builder builderForValue) {
@@ -943,13 +1009,15 @@ public Builder setMutations(
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addMutations(com.google.bigtable.v2.Mutation value) {
if (mutationsBuilder_ == null) {
@@ -968,13 +1036,15 @@ public Builder addMutations(com.google.bigtable.v2.Mutation value) {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) {
if (mutationsBuilder_ == null) {
@@ -993,13 +1063,15 @@ public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForValue) {
if (mutationsBuilder_ == null) {
@@ -1015,13 +1087,15 @@ public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForVa
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addMutations(
int index, com.google.bigtable.v2.Mutation.Builder builderForValue) {
@@ -1038,13 +1112,15 @@ public Builder addMutations(
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addAllMutations(
java.lang.Iterable extends com.google.bigtable.v2.Mutation> values) {
@@ -1061,18 +1137,20 @@ public Builder addAllMutations(
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder clearMutations() {
if (mutationsBuilder_ == null) {
mutations_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
mutationsBuilder_.clear();
@@ -1083,13 +1161,15 @@ public Builder clearMutations() {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder removeMutations(int index) {
if (mutationsBuilder_ == null) {
@@ -1105,13 +1185,15 @@ public Builder removeMutations(int index) {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder(int index) {
return getMutationsFieldBuilder().getBuilder(index);
@@ -1120,13 +1202,15 @@ public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder(int index) {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) {
if (mutationsBuilder_ == null) {
@@ -1139,13 +1223,15 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index)
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List extends com.google.bigtable.v2.MutationOrBuilder>
getMutationsOrBuilderList() {
@@ -1159,13 +1245,15 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index)
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder() {
return getMutationsFieldBuilder()
@@ -1175,13 +1263,15 @@ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder() {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder(int index) {
return getMutationsFieldBuilder()
@@ -1191,13 +1281,15 @@ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder(int index) {
*
*
*
- * Changes to be atomically applied to the specified row. Mutations are
+ * 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 .google.bigtable.v2.Mutation mutations = 2;
+ *
+ * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List getMutationsBuilderList() {
return getMutationsFieldBuilder().getBuilderList();
@@ -1214,7 +1306,7 @@ public java.util.List getMutationsBuild
com.google.bigtable.v2.Mutation,
com.google.bigtable.v2.Mutation.Builder,
com.google.bigtable.v2.MutationOrBuilder>(
- mutations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ mutations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
mutations_ = null;
}
return mutationsBuilder_;
@@ -1272,17 +1364,20 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry getDefaultInstanceForType(
}
}
- private int bitField0_;
public static final int TABLE_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object tableName_;
/**
*
*
*
- * 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;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
@@ -1299,10 +1394,14 @@ public java.lang.String getTableName() {
*
*
*
- * 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;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
public com.google.protobuf.ByteString getTableNameBytes() {
java.lang.Object ref = tableName_;
@@ -1327,6 +1426,8 @@ public com.google.protobuf.ByteString getTableNameBytes() {
*
*
* string app_profile_id = 3;
+ *
+ * @return The appProfileId.
*/
public java.lang.String getAppProfileId() {
java.lang.Object ref = appProfileId_;
@@ -1348,6 +1449,8 @@ public java.lang.String getAppProfileId() {
*
*
* string app_profile_id = 3;
+ *
+ * @return The bytes for appProfileId.
*/
public com.google.protobuf.ByteString getAppProfileIdBytes() {
java.lang.Object ref = appProfileId_;
@@ -1367,14 +1470,16 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List getEntriesList() {
return entries_;
@@ -1383,14 +1488,16 @@ public java.util.List getEntries
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List extends com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder>
getEntriesOrBuilderList() {
@@ -1400,14 +1507,16 @@ public java.util.List getEntries
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public int getEntriesCount() {
return entries_.size();
@@ -1416,14 +1525,16 @@ public int getEntriesCount() {
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) {
return entries_.get(index);
@@ -1432,14 +1543,16 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) {
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder(int index) {
return entries_.get(index);
@@ -1676,7 +1789,7 @@ public Builder clear() {
if (entriesBuilder_ == null) {
entries_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
entriesBuilder_.clear();
}
@@ -1708,19 +1821,17 @@ public com.google.bigtable.v2.MutateRowsRequest buildPartial() {
com.google.bigtable.v2.MutateRowsRequest result =
new com.google.bigtable.v2.MutateRowsRequest(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.tableName_ = tableName_;
result.appProfileId_ = appProfileId_;
if (entriesBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
entries_ = java.util.Collections.unmodifiableList(entries_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.entries_ = entries_;
} else {
result.entries_ = entriesBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1782,7 +1893,7 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest other) {
if (!other.entries_.isEmpty()) {
if (entries_.isEmpty()) {
entries_ = other.entries_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureEntriesIsMutable();
entries_.addAll(other.entries_);
@@ -1795,7 +1906,7 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest other) {
entriesBuilder_.dispose();
entriesBuilder_ = null;
entries_ = other.entries_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
entriesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getEntriesFieldBuilder()
@@ -1841,10 +1952,14 @@ public Builder mergeFrom(
*
*
*
- * 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;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
@@ -1861,10 +1976,14 @@ public java.lang.String getTableName() {
*
*
*
- * 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;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
public com.google.protobuf.ByteString getTableNameBytes() {
java.lang.Object ref = tableName_;
@@ -1881,10 +2000,15 @@ public com.google.protobuf.ByteString getTableNameBytes() {
*
*
*
- * 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;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The tableName to set.
+ * @return This builder for chaining.
*/
public Builder setTableName(java.lang.String value) {
if (value == null) {
@@ -1899,10 +2023,14 @@ public Builder setTableName(java.lang.String value) {
*
*
*
- * 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;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
*/
public Builder clearTableName() {
@@ -1914,10 +2042,15 @@ public Builder clearTableName() {
*
*
*
- * 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;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for tableName to set.
+ * @return This builder for chaining.
*/
public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1940,6 +2073,8 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
*
*
* string app_profile_id = 3;
+ *
+ * @return The appProfileId.
*/
public java.lang.String getAppProfileId() {
java.lang.Object ref = appProfileId_;
@@ -1961,6 +2096,8 @@ public java.lang.String getAppProfileId() {
*
*
* string app_profile_id = 3;
+ *
+ * @return The bytes for appProfileId.
*/
public com.google.protobuf.ByteString getAppProfileIdBytes() {
java.lang.Object ref = appProfileId_;
@@ -1982,6 +2119,9 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
*
*
* string app_profile_id = 3;
+ *
+ * @param value The appProfileId to set.
+ * @return This builder for chaining.
*/
public Builder setAppProfileId(java.lang.String value) {
if (value == null) {
@@ -2001,6 +2141,8 @@ public Builder setAppProfileId(java.lang.String value) {
*
*
* string app_profile_id = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAppProfileId() {
@@ -2017,6 +2159,9 @@ public Builder clearAppProfileId() {
*
*
* string app_profile_id = 3;
+ *
+ * @param value The bytes for appProfileId to set.
+ * @return This builder for chaining.
*/
public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2033,10 +2178,10 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensureEntriesIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
entries_ =
new java.util.ArrayList(entries_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
}
}
@@ -2050,14 +2195,16 @@ private void ensureEntriesIsMutable() {
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List getEntriesList() {
if (entriesBuilder_ == null) {
@@ -2070,14 +2217,16 @@ public java.util.List getEntries
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public int getEntriesCount() {
if (entriesBuilder_ == null) {
@@ -2090,14 +2239,16 @@ public int getEntriesCount() {
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) {
if (entriesBuilder_ == null) {
@@ -2110,14 +2261,16 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) {
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsRequest.Entry value) {
if (entriesBuilder_ == null) {
@@ -2136,14 +2289,16 @@ public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsRequest.En
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder setEntries(
int index, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder builderForValue) {
@@ -2160,14 +2315,16 @@ public Builder setEntries(
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addEntries(com.google.bigtable.v2.MutateRowsRequest.Entry value) {
if (entriesBuilder_ == null) {
@@ -2186,14 +2343,16 @@ public Builder addEntries(com.google.bigtable.v2.MutateRowsRequest.Entry value)
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsRequest.Entry value) {
if (entriesBuilder_ == null) {
@@ -2212,14 +2371,16 @@ public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsRequest.En
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addEntries(
com.google.bigtable.v2.MutateRowsRequest.Entry.Builder builderForValue) {
@@ -2236,14 +2397,16 @@ public Builder addEntries(
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addEntries(
int index, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder builderForValue) {
@@ -2260,14 +2423,16 @@ public Builder addEntries(
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addAllEntries(
java.lang.Iterable extends com.google.bigtable.v2.MutateRowsRequest.Entry> values) {
@@ -2284,19 +2449,21 @@ public Builder addAllEntries(
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder clearEntries() {
if (entriesBuilder_ == null) {
entries_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
entriesBuilder_.clear();
@@ -2307,14 +2474,16 @@ public Builder clearEntries() {
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder removeEntries(int index) {
if (entriesBuilder_ == null) {
@@ -2330,14 +2499,16 @@ public Builder removeEntries(int index) {
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder getEntriesBuilder(int index) {
return getEntriesFieldBuilder().getBuilder(index);
@@ -2346,14 +2517,16 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder getEntriesBuilder(
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder(int index) {
if (entriesBuilder_ == null) {
@@ -2366,14 +2539,16 @@ public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuild
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List extends com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder>
getEntriesOrBuilderList() {
@@ -2387,14 +2562,16 @@ public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuild
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder() {
return getEntriesFieldBuilder()
@@ -2404,14 +2581,16 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder(
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder(int index) {
return getEntriesFieldBuilder()
@@ -2421,14 +2600,16 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder(
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List
getEntriesBuilderList() {
@@ -2446,7 +2627,7 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder(
com.google.bigtable.v2.MutateRowsRequest.Entry,
com.google.bigtable.v2.MutateRowsRequest.Entry.Builder,
com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder>(
- entries_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+ entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
entries_ = null;
}
return entriesBuilder_;
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 a1abc7aa07..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
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -27,20 +27,28 @@ public interface MutateRowsRequestOrBuilder
*
*
*
- * 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;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
java.lang.String getTableName();
/**
*
*
*
- * 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;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
com.google.protobuf.ByteString getTableNameBytes();
@@ -53,6 +61,8 @@ public interface MutateRowsRequestOrBuilder
*
*
* string app_profile_id = 3;
+ *
+ * @return The appProfileId.
*/
java.lang.String getAppProfileId();
/**
@@ -64,6 +74,8 @@ public interface MutateRowsRequestOrBuilder
*
*
* string app_profile_id = 3;
+ *
+ * @return The bytes for appProfileId.
*/
com.google.protobuf.ByteString getAppProfileIdBytes();
@@ -71,56 +83,64 @@ public interface MutateRowsRequestOrBuilder
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
java.util.List getEntriesList();
/**
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index);
/**
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
int getEntriesCount();
/**
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
java.util.List extends com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder>
getEntriesOrBuilderList();
@@ -128,14 +148,16 @@ public interface MutateRowsRequestOrBuilder
*
*
*
- * The row keys and corresponding mutations to be applied in bulk.
+ * Required. The row keys and corresponding mutations to be applied in bulk.
* Each entry is applied as an atomic mutation, but the entries may be
* applied in arbitrary order (even between entries for the same row).
* At least one entry must be specified, and in total the entries can
* contain at most 100000 mutations.
*
*
- * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2;
+ *
+ * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder(int index);
}
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java
index b8d7b8bf25..c0f0f4eb6e 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -41,6 +41,12 @@ private MutateRowsResponse() {
entries_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new MutateRowsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -128,6 +134,8 @@ public interface EntryOrBuilder
*
*
* int64 index = 1;
+ *
+ * @return The index.
*/
long getIndex();
@@ -142,6 +150,8 @@ public interface EntryOrBuilder
*
*
* .google.rpc.Status status = 2;
+ *
+ * @return Whether the status field is set.
*/
boolean hasStatus();
/**
@@ -155,6 +165,8 @@ public interface EntryOrBuilder
*
*
* .google.rpc.Status status = 2;
+ *
+ * @return The status.
*/
com.google.rpc.Status getStatus();
/**
@@ -171,7 +183,15 @@ public interface EntryOrBuilder
*/
com.google.rpc.StatusOrBuilder getStatusOrBuilder();
}
- /** Protobuf type {@code google.bigtable.v2.MutateRowsResponse.Entry} */
+ /**
+ *
+ *
+ *
+ * The result of applying a passed mutation in the original request.
+ *
+ *
+ * Protobuf type {@code google.bigtable.v2.MutateRowsResponse.Entry}
+ */
public static final class Entry extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsResponse.Entry)
@@ -184,6 +204,12 @@ private Entry(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Entry() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Entry();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -197,7 +223,6 @@ private Entry(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -272,6 +297,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int64 index = 1;
+ *
+ * @return The index.
*/
public long getIndex() {
return index_;
@@ -290,6 +317,8 @@ public long getIndex() {
*
*
* .google.rpc.Status status = 2;
+ *
+ * @return Whether the status field is set.
*/
public boolean hasStatus() {
return status_ != null;
@@ -305,6 +334,8 @@ public boolean hasStatus() {
*
*
* .google.rpc.Status status = 2;
+ *
+ * @return The status.
*/
public com.google.rpc.Status getStatus() {
return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
@@ -499,7 +530,15 @@ protected Builder newBuilderForType(
Builder builder = new Builder(parent);
return builder;
}
- /** Protobuf type {@code google.bigtable.v2.MutateRowsResponse.Entry} */
+ /**
+ *
+ *
+ *
+ * The result of applying a passed mutation in the original request.
+ *
+ *
+ * Protobuf type {@code google.bigtable.v2.MutateRowsResponse.Entry}
+ */
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder
implements
@@ -676,6 +715,8 @@ public Builder mergeFrom(
*
*
* int64 index = 1;
+ *
+ * @return The index.
*/
public long getIndex() {
return index_;
@@ -689,6 +730,9 @@ public long getIndex() {
*
*
* int64 index = 1;
+ *
+ * @param value The index to set.
+ * @return This builder for chaining.
*/
public Builder setIndex(long value) {
@@ -705,6 +749,8 @@ public Builder setIndex(long value) {
*
*
* int64 index = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearIndex() {
@@ -728,6 +774,8 @@ public Builder clearIndex() {
*
*
* .google.rpc.Status status = 2;
+ *
+ * @return Whether the status field is set.
*/
public boolean hasStatus() {
return statusBuilder_ != null || status_ != null;
@@ -743,6 +791,8 @@ public boolean hasStatus() {
*
*
* .google.rpc.Status status = 2;
+ *
+ * @return The status.
*/
public com.google.rpc.Status getStatus() {
if (statusBuilder_ == null) {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
index aeabc741bf..ca4b764ba7 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
index 11fe49bc1f..9a07b05cfb 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private Mutation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Mutation() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Mutation();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private Mutation(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -176,6 +181,8 @@ public interface SetCellOrBuilder
*
*
* string family_name = 1;
+ *
+ * @return The familyName.
*/
java.lang.String getFamilyName();
/**
@@ -187,6 +194,8 @@ public interface SetCellOrBuilder
*
*
* string family_name = 1;
+ *
+ * @return The bytes for familyName.
*/
com.google.protobuf.ByteString getFamilyNameBytes();
@@ -199,6 +208,8 @@ public interface SetCellOrBuilder
*
*
* bytes column_qualifier = 2;
+ *
+ * @return The columnQualifier.
*/
com.google.protobuf.ByteString getColumnQualifier();
@@ -214,6 +225,8 @@ public interface SetCellOrBuilder
*
*
* int64 timestamp_micros = 3;
+ *
+ * @return The timestampMicros.
*/
long getTimestampMicros();
@@ -225,6 +238,8 @@ public interface SetCellOrBuilder
*
*
* bytes value = 4;
+ *
+ * @return The value.
*/
com.google.protobuf.ByteString getValue();
}
@@ -253,6 +268,12 @@ private SetCell() {
value_ = com.google.protobuf.ByteString.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SetCell();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -266,7 +287,6 @@ private SetCell(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -344,6 +364,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string family_name = 1;
+ *
+ * @return The familyName.
*/
public java.lang.String getFamilyName() {
java.lang.Object ref = familyName_;
@@ -365,6 +387,8 @@ public java.lang.String getFamilyName() {
*
*
* string family_name = 1;
+ *
+ * @return The bytes for familyName.
*/
public com.google.protobuf.ByteString getFamilyNameBytes() {
java.lang.Object ref = familyName_;
@@ -389,6 +413,8 @@ public com.google.protobuf.ByteString getFamilyNameBytes() {
*
*
* bytes column_qualifier = 2;
+ *
+ * @return The columnQualifier.
*/
public com.google.protobuf.ByteString getColumnQualifier() {
return columnQualifier_;
@@ -408,6 +434,8 @@ public com.google.protobuf.ByteString getColumnQualifier() {
*
*
* int64 timestamp_micros = 3;
+ *
+ * @return The timestampMicros.
*/
public long getTimestampMicros() {
return timestampMicros_;
@@ -423,6 +451,8 @@ public long getTimestampMicros() {
*
*
* bytes value = 4;
+ *
+ * @return The value.
*/
public com.google.protobuf.ByteString getValue() {
return value_;
@@ -802,6 +832,8 @@ public Builder mergeFrom(
*
*
* string family_name = 1;
+ *
+ * @return The familyName.
*/
public java.lang.String getFamilyName() {
java.lang.Object ref = familyName_;
@@ -823,6 +855,8 @@ public java.lang.String getFamilyName() {
*
*
* string family_name = 1;
+ *
+ * @return The bytes for familyName.
*/
public com.google.protobuf.ByteString getFamilyNameBytes() {
java.lang.Object ref = familyName_;
@@ -844,6 +878,9 @@ public com.google.protobuf.ByteString getFamilyNameBytes() {
*
*
* string family_name = 1;
+ *
+ * @param value The familyName to set.
+ * @return This builder for chaining.
*/
public Builder setFamilyName(java.lang.String value) {
if (value == null) {
@@ -863,6 +900,8 @@ public Builder setFamilyName(java.lang.String value) {
*
*
* string family_name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFamilyName() {
@@ -879,6 +918,9 @@ public Builder clearFamilyName() {
*
*
* string family_name = 1;
+ *
+ * @param value The bytes for familyName to set.
+ * @return This builder for chaining.
*/
public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -902,6 +944,8 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) {
*
*
* bytes column_qualifier = 2;
+ *
+ * @return The columnQualifier.
*/
public com.google.protobuf.ByteString getColumnQualifier() {
return columnQualifier_;
@@ -915,6 +959,9 @@ public com.google.protobuf.ByteString getColumnQualifier() {
*
*
* bytes column_qualifier = 2;
+ *
+ * @param value The columnQualifier to set.
+ * @return This builder for chaining.
*/
public Builder setColumnQualifier(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -934,6 +981,8 @@ public Builder setColumnQualifier(com.google.protobuf.ByteString value) {
*
*
* bytes column_qualifier = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearColumnQualifier() {
@@ -955,6 +1004,8 @@ public Builder clearColumnQualifier() {
*
*
* int64 timestamp_micros = 3;
+ *
+ * @return The timestampMicros.
*/
public long getTimestampMicros() {
return timestampMicros_;
@@ -971,6 +1022,9 @@ public long getTimestampMicros() {
*
*
* int64 timestamp_micros = 3;
+ *
+ * @param value The timestampMicros to set.
+ * @return This builder for chaining.
*/
public Builder setTimestampMicros(long value) {
@@ -990,6 +1044,8 @@ public Builder setTimestampMicros(long value) {
*
*
* int64 timestamp_micros = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTimestampMicros() {
@@ -1007,6 +1063,8 @@ public Builder clearTimestampMicros() {
*
*
* bytes value = 4;
+ *
+ * @return The value.
*/
public com.google.protobuf.ByteString getValue() {
return value_;
@@ -1019,6 +1077,9 @@ public com.google.protobuf.ByteString getValue() {
*
*
* bytes value = 4;
+ *
+ * @param value The value to set.
+ * @return This builder for chaining.
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1037,6 +1098,8 @@ public Builder setValue(com.google.protobuf.ByteString value) {
*
*
* bytes value = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValue() {
@@ -1111,6 +1174,8 @@ public interface DeleteFromColumnOrBuilder
*
*
* string family_name = 1;
+ *
+ * @return The familyName.
*/
java.lang.String getFamilyName();
/**
@@ -1122,6 +1187,8 @@ public interface DeleteFromColumnOrBuilder
*
*
* string family_name = 1;
+ *
+ * @return The bytes for familyName.
*/
com.google.protobuf.ByteString getFamilyNameBytes();
@@ -1134,6 +1201,8 @@ public interface DeleteFromColumnOrBuilder
*
*
* bytes column_qualifier = 2;
+ *
+ * @return The columnQualifier.
*/
com.google.protobuf.ByteString getColumnQualifier();
@@ -1145,6 +1214,8 @@ public interface DeleteFromColumnOrBuilder
*
*
* .google.bigtable.v2.TimestampRange time_range = 3;
+ *
+ * @return Whether the timeRange field is set.
*/
boolean hasTimeRange();
/**
@@ -1155,6 +1226,8 @@ public interface DeleteFromColumnOrBuilder
*
*
* .google.bigtable.v2.TimestampRange time_range = 3;
+ *
+ * @return The timeRange.
*/
com.google.bigtable.v2.TimestampRange getTimeRange();
/**
@@ -1193,6 +1266,12 @@ private DeleteFromColumn() {
columnQualifier_ = com.google.protobuf.ByteString.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteFromColumn();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -1206,7 +1285,6 @@ private DeleteFromColumn(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -1290,6 +1368,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string family_name = 1;
+ *
+ * @return The familyName.
*/
public java.lang.String getFamilyName() {
java.lang.Object ref = familyName_;
@@ -1311,6 +1391,8 @@ public java.lang.String getFamilyName() {
*
*
* string family_name = 1;
+ *
+ * @return The bytes for familyName.
*/
public com.google.protobuf.ByteString getFamilyNameBytes() {
java.lang.Object ref = familyName_;
@@ -1335,6 +1417,8 @@ public com.google.protobuf.ByteString getFamilyNameBytes() {
*
*
* bytes column_qualifier = 2;
+ *
+ * @return The columnQualifier.
*/
public com.google.protobuf.ByteString getColumnQualifier() {
return columnQualifier_;
@@ -1350,6 +1434,8 @@ public com.google.protobuf.ByteString getColumnQualifier() {
*
*
* .google.bigtable.v2.TimestampRange time_range = 3;
+ *
+ * @return Whether the timeRange field is set.
*/
public boolean hasTimeRange() {
return timeRange_ != null;
@@ -1362,6 +1448,8 @@ public boolean hasTimeRange() {
*
*
* .google.bigtable.v2.TimestampRange time_range = 3;
+ *
+ * @return The timeRange.
*/
public com.google.bigtable.v2.TimestampRange getTimeRange() {
return timeRange_ == null
@@ -1757,6 +1845,8 @@ public Builder mergeFrom(
*
*
* string family_name = 1;
+ *
+ * @return The familyName.
*/
public java.lang.String getFamilyName() {
java.lang.Object ref = familyName_;
@@ -1778,6 +1868,8 @@ public java.lang.String getFamilyName() {
*
*
* string family_name = 1;
+ *
+ * @return The bytes for familyName.
*/
public com.google.protobuf.ByteString getFamilyNameBytes() {
java.lang.Object ref = familyName_;
@@ -1799,6 +1891,9 @@ public com.google.protobuf.ByteString getFamilyNameBytes() {
*
*
* string family_name = 1;
+ *
+ * @param value The familyName to set.
+ * @return This builder for chaining.
*/
public Builder setFamilyName(java.lang.String value) {
if (value == null) {
@@ -1818,6 +1913,8 @@ public Builder setFamilyName(java.lang.String value) {
*
*
* string family_name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFamilyName() {
@@ -1834,6 +1931,9 @@ public Builder clearFamilyName() {
*
*
* string family_name = 1;
+ *
+ * @param value The bytes for familyName to set.
+ * @return This builder for chaining.
*/
public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1857,6 +1957,8 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) {
*
*
* bytes column_qualifier = 2;
+ *
+ * @return The columnQualifier.
*/
public com.google.protobuf.ByteString getColumnQualifier() {
return columnQualifier_;
@@ -1870,6 +1972,9 @@ public com.google.protobuf.ByteString getColumnQualifier() {
*
*
* bytes column_qualifier = 2;
+ *
+ * @param value The columnQualifier to set.
+ * @return This builder for chaining.
*/
public Builder setColumnQualifier(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1889,6 +1994,8 @@ public Builder setColumnQualifier(com.google.protobuf.ByteString value) {
*
*
* bytes column_qualifier = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearColumnQualifier() {
@@ -1911,6 +2018,8 @@ public Builder clearColumnQualifier() {
*
*
* .google.bigtable.v2.TimestampRange time_range = 3;
+ *
+ * @return Whether the timeRange field is set.
*/
public boolean hasTimeRange() {
return timeRangeBuilder_ != null || timeRange_ != null;
@@ -1923,6 +2032,8 @@ public boolean hasTimeRange() {
*
*
* .google.bigtable.v2.TimestampRange time_range = 3;
+ *
+ * @return The timeRange.
*/
public com.google.bigtable.v2.TimestampRange getTimeRange() {
if (timeRangeBuilder_ == null) {
@@ -2144,6 +2255,8 @@ public interface DeleteFromFamilyOrBuilder
*
*
* string family_name = 1;
+ *
+ * @return The familyName.
*/
java.lang.String getFamilyName();
/**
@@ -2155,6 +2268,8 @@ public interface DeleteFromFamilyOrBuilder
*
*
* string family_name = 1;
+ *
+ * @return The bytes for familyName.
*/
com.google.protobuf.ByteString getFamilyNameBytes();
}
@@ -2181,6 +2296,12 @@ private DeleteFromFamily() {
familyName_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteFromFamily();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -2194,7 +2315,6 @@ private DeleteFromFamily(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -2257,6 +2377,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string family_name = 1;
+ *
+ * @return The familyName.
*/
public java.lang.String getFamilyName() {
java.lang.Object ref = familyName_;
@@ -2278,6 +2400,8 @@ public java.lang.String getFamilyName() {
*
*
* string family_name = 1;
+ *
+ * @return The bytes for familyName.
*/
public com.google.protobuf.ByteString getFamilyNameBytes() {
java.lang.Object ref = familyName_;
@@ -2623,6 +2747,8 @@ public Builder mergeFrom(
*
*
* string family_name = 1;
+ *
+ * @return The familyName.
*/
public java.lang.String getFamilyName() {
java.lang.Object ref = familyName_;
@@ -2644,6 +2770,8 @@ public java.lang.String getFamilyName() {
*
*
* string family_name = 1;
+ *
+ * @return The bytes for familyName.
*/
public com.google.protobuf.ByteString getFamilyNameBytes() {
java.lang.Object ref = familyName_;
@@ -2665,6 +2793,9 @@ public com.google.protobuf.ByteString getFamilyNameBytes() {
*
*
* string family_name = 1;
+ *
+ * @param value The familyName to set.
+ * @return This builder for chaining.
*/
public Builder setFamilyName(java.lang.String value) {
if (value == null) {
@@ -2684,6 +2815,8 @@ public Builder setFamilyName(java.lang.String value) {
*
*
* string family_name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFamilyName() {
@@ -2700,6 +2833,9 @@ public Builder clearFamilyName() {
*
*
* string family_name = 1;
+ *
+ * @param value The bytes for familyName to set.
+ * @return This builder for chaining.
*/
public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2789,6 +2925,12 @@ private DeleteFromRow(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private DeleteFromRow() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteFromRow();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -3206,7 +3348,10 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow getDefaultInstanceForType()
private int mutationCase_ = 0;
private java.lang.Object mutation_;
- public enum MutationCase implements com.google.protobuf.Internal.EnumLite {
+ public enum MutationCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
SET_CELL(1),
DELETE_FROM_COLUMN(2),
DELETE_FROM_FAMILY(3),
@@ -3217,7 +3362,11 @@ public enum MutationCase implements com.google.protobuf.Internal.EnumLite {
private MutationCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static MutationCase valueOf(int value) {
return forNumber(value);
@@ -3258,6 +3407,8 @@ public MutationCase getMutationCase() {
*
*
* .google.bigtable.v2.Mutation.SetCell set_cell = 1;
+ *
+ * @return Whether the setCell field is set.
*/
public boolean hasSetCell() {
return mutationCase_ == 1;
@@ -3270,6 +3421,8 @@ public boolean hasSetCell() {
*
*
* .google.bigtable.v2.Mutation.SetCell set_cell = 1;
+ *
+ * @return The setCell.
*/
public com.google.bigtable.v2.Mutation.SetCell getSetCell() {
if (mutationCase_ == 1) {
@@ -3302,6 +3455,8 @@ public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() {
*
*
* .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;
+ *
+ * @return Whether the deleteFromColumn field is set.
*/
public boolean hasDeleteFromColumn() {
return mutationCase_ == 2;
@@ -3314,6 +3469,8 @@ public boolean hasDeleteFromColumn() {
*
*
* .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;
+ *
+ * @return The deleteFromColumn.
*/
public com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn() {
if (mutationCase_ == 2) {
@@ -3346,6 +3503,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder getDeleteFromCo
*
*
* .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;
+ *
+ * @return Whether the deleteFromFamily field is set.
*/
public boolean hasDeleteFromFamily() {
return mutationCase_ == 3;
@@ -3358,6 +3517,8 @@ public boolean hasDeleteFromFamily() {
*
*
* .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;
+ *
+ * @return The deleteFromFamily.
*/
public com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily() {
if (mutationCase_ == 3) {
@@ -3390,6 +3551,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder getDeleteFromFa
*
*
* .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;
+ *
+ * @return Whether the deleteFromRow field is set.
*/
public boolean hasDeleteFromRow() {
return mutationCase_ == 4;
@@ -3402,6 +3565,8 @@ public boolean hasDeleteFromRow() {
*
*
* .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;
+ *
+ * @return The deleteFromRow.
*/
public com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow() {
if (mutationCase_ == 4) {
@@ -3874,6 +4039,8 @@ public Builder clearMutation() {
*
*
* .google.bigtable.v2.Mutation.SetCell set_cell = 1;
+ *
+ * @return Whether the setCell field is set.
*/
public boolean hasSetCell() {
return mutationCase_ == 1;
@@ -3886,6 +4053,8 @@ public boolean hasSetCell() {
*
*
* .google.bigtable.v2.Mutation.SetCell set_cell = 1;
+ *
+ * @return The setCell.
*/
public com.google.bigtable.v2.Mutation.SetCell getSetCell() {
if (setCellBuilder_ == null) {
@@ -4075,6 +4244,8 @@ public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() {
*
*
* .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;
+ *
+ * @return Whether the deleteFromColumn field is set.
*/
public boolean hasDeleteFromColumn() {
return mutationCase_ == 2;
@@ -4087,6 +4258,8 @@ public boolean hasDeleteFromColumn() {
*
*
* .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;
+ *
+ * @return The deleteFromColumn.
*/
public com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn() {
if (deleteFromColumnBuilder_ == null) {
@@ -4278,6 +4451,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol
*
*
* .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;
+ *
+ * @return Whether the deleteFromFamily field is set.
*/
public boolean hasDeleteFromFamily() {
return mutationCase_ == 3;
@@ -4290,6 +4465,8 @@ public boolean hasDeleteFromFamily() {
*
*
* .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;
+ *
+ * @return The deleteFromFamily.
*/
public com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily() {
if (deleteFromFamilyBuilder_ == null) {
@@ -4481,6 +4658,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam
*
*
* .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;
+ *
+ * @return Whether the deleteFromRow field is set.
*/
public boolean hasDeleteFromRow() {
return mutationCase_ == 4;
@@ -4493,6 +4672,8 @@ public boolean hasDeleteFromRow() {
*
*
* .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;
+ *
+ * @return The deleteFromRow.
*/
public com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow() {
if (deleteFromRowBuilder_ == null) {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java
index 9d18ae6487..61a6bb4cce 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface MutationOrBuilder
*
*
* .google.bigtable.v2.Mutation.SetCell set_cell = 1;
+ *
+ * @return Whether the setCell field is set.
*/
boolean hasSetCell();
/**
@@ -41,6 +43,8 @@ public interface MutationOrBuilder
*
*
* .google.bigtable.v2.Mutation.SetCell set_cell = 1;
+ *
+ * @return The setCell.
*/
com.google.bigtable.v2.Mutation.SetCell getSetCell();
/**
@@ -62,6 +66,8 @@ public interface MutationOrBuilder
*
*
* .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;
+ *
+ * @return Whether the deleteFromColumn field is set.
*/
boolean hasDeleteFromColumn();
/**
@@ -72,6 +78,8 @@ public interface MutationOrBuilder
*
*
* .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2;
+ *
+ * @return The deleteFromColumn.
*/
com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn();
/**
@@ -93,6 +101,8 @@ public interface MutationOrBuilder
*
*
* .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;
+ *
+ * @return Whether the deleteFromFamily field is set.
*/
boolean hasDeleteFromFamily();
/**
@@ -103,6 +113,8 @@ public interface MutationOrBuilder
*
*
* .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;
+ *
+ * @return The deleteFromFamily.
*/
com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily();
/**
@@ -124,6 +136,8 @@ public interface MutationOrBuilder
*
*
* .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;
+ *
+ * @return Whether the deleteFromRow field is set.
*/
boolean hasDeleteFromRow();
/**
@@ -134,6 +148,8 @@ public interface MutationOrBuilder
*
*
* .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;
+ *
+ * @return The deleteFromRow.
*/
com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow();
/**
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 3f57c27f68..2db0156004 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -44,6 +44,12 @@ private ReadModifyWriteRowRequest() {
rules_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReadModifyWriteRowRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -82,9 +88,9 @@ private ReadModifyWriteRowRequest(
}
case 26:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
rules_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
rules_.add(
input.readMessage(
@@ -112,7 +118,7 @@ private ReadModifyWriteRowRequest(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
rules_ = java.util.Collections.unmodifiableList(rules_);
}
this.unknownFields = unknownFields.build();
@@ -135,20 +141,23 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.bigtable.v2.ReadModifyWriteRowRequest.Builder.class);
}
- private int bitField0_;
public static final int TABLE_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object tableName_;
/**
*
*
*
- * The unique name of the table to which the read/modify/write rules should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
@@ -165,13 +174,17 @@ public java.lang.String getTableName() {
*
*
*
- * The unique name of the table to which the read/modify/write rules should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
public com.google.protobuf.ByteString getTableNameBytes() {
java.lang.Object ref = tableName_;
@@ -196,6 +209,8 @@ public com.google.protobuf.ByteString getTableNameBytes() {
*
*
* string app_profile_id = 4;
+ *
+ * @return The appProfileId.
*/
public java.lang.String getAppProfileId() {
java.lang.Object ref = appProfileId_;
@@ -217,6 +232,8 @@ public java.lang.String getAppProfileId() {
*
*
* string app_profile_id = 4;
+ *
+ * @return The bytes for appProfileId.
*/
public com.google.protobuf.ByteString getAppProfileIdBytes() {
java.lang.Object ref = appProfileId_;
@@ -236,10 +253,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
*
*
*
- * 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;
+ * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The rowKey.
*/
public com.google.protobuf.ByteString getRowKey() {
return rowKey_;
@@ -251,12 +270,14 @@ public com.google.protobuf.ByteString getRowKey() {
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List getRulesList() {
return rules_;
@@ -265,12 +286,14 @@ public java.util.List getRulesList()
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List extends com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder>
getRulesOrBuilderList() {
@@ -280,12 +303,14 @@ public java.util.List getRulesList()
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public int getRulesCount() {
return rules_.size();
@@ -294,12 +319,14 @@ public int getRulesCount() {
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) {
return rules_.get(index);
@@ -308,12 +335,14 @@ public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) {
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index) {
return rules_.get(index);
@@ -562,7 +591,7 @@ public Builder clear() {
if (rulesBuilder_ == null) {
rules_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
rulesBuilder_.clear();
}
@@ -594,20 +623,18 @@ public com.google.bigtable.v2.ReadModifyWriteRowRequest buildPartial() {
com.google.bigtable.v2.ReadModifyWriteRowRequest result =
new com.google.bigtable.v2.ReadModifyWriteRowRequest(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.tableName_ = tableName_;
result.appProfileId_ = appProfileId_;
result.rowKey_ = rowKey_;
if (rulesBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
rules_ = java.util.Collections.unmodifiableList(rules_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.rules_ = rules_;
} else {
result.rules_ = rulesBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -673,7 +700,7 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRowRequest other)
if (!other.rules_.isEmpty()) {
if (rules_.isEmpty()) {
rules_ = other.rules_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureRulesIsMutable();
rules_.addAll(other.rules_);
@@ -686,7 +713,7 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRowRequest other)
rulesBuilder_.dispose();
rulesBuilder_ = null;
rules_ = other.rules_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
rulesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getRulesFieldBuilder()
@@ -732,13 +759,17 @@ public Builder mergeFrom(
*
*
*
- * The unique name of the table to which the read/modify/write rules should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
@@ -755,13 +786,17 @@ public java.lang.String getTableName() {
*
*
*
- * The unique name of the table to which the read/modify/write rules should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
public com.google.protobuf.ByteString getTableNameBytes() {
java.lang.Object ref = tableName_;
@@ -778,13 +813,18 @@ public com.google.protobuf.ByteString getTableNameBytes() {
*
*
*
- * The unique name of the table to which the read/modify/write rules should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The tableName to set.
+ * @return This builder for chaining.
*/
public Builder setTableName(java.lang.String value) {
if (value == null) {
@@ -799,13 +839,17 @@ public Builder setTableName(java.lang.String value) {
*
*
*
- * The unique name of the table to which the read/modify/write rules should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
*/
public Builder clearTableName() {
@@ -817,13 +861,18 @@ public Builder clearTableName() {
*
*
*
- * The unique name of the table to which the read/modify/write rules should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for tableName to set.
+ * @return This builder for chaining.
*/
public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -846,6 +895,8 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
*
*
* string app_profile_id = 4;
+ *
+ * @return The appProfileId.
*/
public java.lang.String getAppProfileId() {
java.lang.Object ref = appProfileId_;
@@ -867,6 +918,8 @@ public java.lang.String getAppProfileId() {
*
*
* string app_profile_id = 4;
+ *
+ * @return The bytes for appProfileId.
*/
public com.google.protobuf.ByteString getAppProfileIdBytes() {
java.lang.Object ref = appProfileId_;
@@ -888,6 +941,9 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
*
*
* string app_profile_id = 4;
+ *
+ * @param value The appProfileId to set.
+ * @return This builder for chaining.
*/
public Builder setAppProfileId(java.lang.String value) {
if (value == null) {
@@ -907,6 +963,8 @@ public Builder setAppProfileId(java.lang.String value) {
*
*
* string app_profile_id = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAppProfileId() {
@@ -923,6 +981,9 @@ public Builder clearAppProfileId() {
*
*
* string app_profile_id = 4;
+ *
+ * @param value The bytes for appProfileId to set.
+ * @return This builder for chaining.
*/
public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -940,10 +1001,12 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) {
*
*
*
- * 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;
+ * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The rowKey.
*/
public com.google.protobuf.ByteString getRowKey() {
return rowKey_;
@@ -952,10 +1015,13 @@ public com.google.protobuf.ByteString getRowKey() {
*
*
*
- * 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;
+ * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The rowKey to set.
+ * @return This builder for chaining.
*/
public Builder setRowKey(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -970,10 +1036,12 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
*
*
*
- * 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;
+ * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowKey() {
@@ -986,9 +1054,9 @@ public Builder clearRowKey() {
java.util.Collections.emptyList();
private void ensureRulesIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
rules_ = new java.util.ArrayList(rules_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
@@ -1002,12 +1070,14 @@ private void ensureRulesIsMutable() {
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List getRulesList() {
if (rulesBuilder_ == null) {
@@ -1020,12 +1090,14 @@ public java.util.List getRulesList()
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public int getRulesCount() {
if (rulesBuilder_ == null) {
@@ -1038,12 +1110,14 @@ public int getRulesCount() {
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) {
if (rulesBuilder_ == null) {
@@ -1056,12 +1130,14 @@ public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) {
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder setRules(int index, com.google.bigtable.v2.ReadModifyWriteRule value) {
if (rulesBuilder_ == null) {
@@ -1080,12 +1156,14 @@ public Builder setRules(int index, com.google.bigtable.v2.ReadModifyWriteRule va
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder setRules(
int index, com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) {
@@ -1102,12 +1180,14 @@ public Builder setRules(
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule value) {
if (rulesBuilder_ == null) {
@@ -1126,12 +1206,14 @@ public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule value) {
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addRules(int index, com.google.bigtable.v2.ReadModifyWriteRule value) {
if (rulesBuilder_ == null) {
@@ -1150,12 +1232,14 @@ public Builder addRules(int index, com.google.bigtable.v2.ReadModifyWriteRule va
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) {
if (rulesBuilder_ == null) {
@@ -1171,12 +1255,14 @@ public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule.Builder build
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addRules(
int index, com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) {
@@ -1193,12 +1279,14 @@ public Builder addRules(
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder addAllRules(
java.lang.Iterable extends com.google.bigtable.v2.ReadModifyWriteRule> values) {
@@ -1215,17 +1303,19 @@ public Builder addAllRules(
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder clearRules() {
if (rulesBuilder_ == null) {
rules_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
rulesBuilder_.clear();
@@ -1236,12 +1326,14 @@ public Builder clearRules() {
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder removeRules(int index) {
if (rulesBuilder_ == null) {
@@ -1257,12 +1349,14 @@ public Builder removeRules(int index) {
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.ReadModifyWriteRule.Builder getRulesBuilder(int index) {
return getRulesFieldBuilder().getBuilder(index);
@@ -1271,12 +1365,14 @@ public com.google.bigtable.v2.ReadModifyWriteRule.Builder getRulesBuilder(int in
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index) {
if (rulesBuilder_ == null) {
@@ -1289,12 +1385,14 @@ public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List extends com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder>
getRulesOrBuilderList() {
@@ -1308,12 +1406,14 @@ public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder() {
return getRulesFieldBuilder()
@@ -1323,12 +1423,14 @@ public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder() {
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder(int index) {
return getRulesFieldBuilder()
@@ -1338,12 +1440,14 @@ public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder(int in
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public java.util.List
getRulesBuilderList() {
@@ -1361,7 +1465,7 @@ public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder(int in
com.google.bigtable.v2.ReadModifyWriteRule,
com.google.bigtable.v2.ReadModifyWriteRule.Builder,
com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder>(
- rules_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+ rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
rules_ = null;
}
return rulesBuilder_;
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 de4c0f059e..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
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -27,26 +27,34 @@ public interface ReadModifyWriteRowRequestOrBuilder
*
*
*
- * The unique name of the table to which the read/modify/write rules should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
java.lang.String getTableName();
/**
*
*
*
- * The unique name of the table to which the read/modify/write rules should be
+ * 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>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
com.google.protobuf.ByteString getTableNameBytes();
@@ -59,6 +67,8 @@ public interface ReadModifyWriteRowRequestOrBuilder
*
*
* string app_profile_id = 4;
+ *
+ * @return The appProfileId.
*/
java.lang.String getAppProfileId();
/**
@@ -70,6 +80,8 @@ public interface ReadModifyWriteRowRequestOrBuilder
*
*
* string app_profile_id = 4;
+ *
+ * @return The bytes for appProfileId.
*/
com.google.protobuf.ByteString getAppProfileIdBytes();
@@ -77,10 +89,12 @@ public interface ReadModifyWriteRowRequestOrBuilder
*
*
*
- * 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;
+ * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The rowKey.
*/
com.google.protobuf.ByteString getRowKey();
@@ -88,48 +102,56 @@ public interface ReadModifyWriteRowRequestOrBuilder
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
java.util.List getRulesList();
/**
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
com.google.bigtable.v2.ReadModifyWriteRule getRules(int index);
/**
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
int getRulesCount();
/**
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
java.util.List extends com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder>
getRulesOrBuilderList();
@@ -137,12 +159,14 @@ public interface ReadModifyWriteRowRequestOrBuilder
*
*
*
- * Rules specifying how the specified row's contents are to be transformed
+ * 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 .google.bigtable.v2.ReadModifyWriteRule rules = 3;
+ *
+ * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index);
}
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java
index 65f2102f8d..3d95cae49e 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private ReadModifyWriteRowResponse(com.google.protobuf.GeneratedMessageV3.Builde
private ReadModifyWriteRowResponse() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReadModifyWriteRowResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private ReadModifyWriteRowResponse(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -121,6 +126,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.bigtable.v2.Row row = 1;
+ *
+ * @return Whether the row field is set.
*/
public boolean hasRow() {
return row_ != null;
@@ -133,6 +140,8 @@ public boolean hasRow() {
*
*
* .google.bigtable.v2.Row row = 1;
+ *
+ * @return The row.
*/
public com.google.bigtable.v2.Row getRow() {
return row_ == null ? com.google.bigtable.v2.Row.getDefaultInstance() : row_;
@@ -494,6 +503,8 @@ public Builder mergeFrom(
*
*
* .google.bigtable.v2.Row row = 1;
+ *
+ * @return Whether the row field is set.
*/
public boolean hasRow() {
return rowBuilder_ != null || row_ != null;
@@ -506,6 +517,8 @@ public boolean hasRow() {
*
*
* .google.bigtable.v2.Row row = 1;
+ *
+ * @return The row.
*/
public com.google.bigtable.v2.Row getRow() {
if (rowBuilder_ == null) {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java
index 185a70b4d8..c0b096ad7f 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface ReadModifyWriteRowResponseOrBuilder
*
*
* .google.bigtable.v2.Row row = 1;
+ *
+ * @return Whether the row field is set.
*/
boolean hasRow();
/**
@@ -41,6 +43,8 @@ public interface ReadModifyWriteRowResponseOrBuilder
*
*
* .google.bigtable.v2.Row row = 1;
+ *
+ * @return The row.
*/
com.google.bigtable.v2.Row getRow();
/**
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java
index a7cb61400b..8ac046beb1 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private ReadModifyWriteRule() {
columnQualifier_ = com.google.protobuf.ByteString.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReadModifyWriteRule();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private ReadModifyWriteRule(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -128,7 +133,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int ruleCase_ = 0;
private java.lang.Object rule_;
- public enum RuleCase implements com.google.protobuf.Internal.EnumLite {
+ public enum RuleCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
APPEND_VALUE(3),
INCREMENT_AMOUNT(4),
RULE_NOT_SET(0);
@@ -137,7 +145,11 @@ public enum RuleCase implements com.google.protobuf.Internal.EnumLite {
private RuleCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static RuleCase valueOf(int value) {
return forNumber(value);
@@ -176,6 +188,8 @@ public RuleCase getRuleCase() {
*
*
* string family_name = 1;
+ *
+ * @return The familyName.
*/
public java.lang.String getFamilyName() {
java.lang.Object ref = familyName_;
@@ -197,6 +211,8 @@ public java.lang.String getFamilyName() {
*
*
* string family_name = 1;
+ *
+ * @return The bytes for familyName.
*/
public com.google.protobuf.ByteString getFamilyNameBytes() {
java.lang.Object ref = familyName_;
@@ -222,6 +238,8 @@ public com.google.protobuf.ByteString getFamilyNameBytes() {
*
*
* bytes column_qualifier = 2;
+ *
+ * @return The columnQualifier.
*/
public com.google.protobuf.ByteString getColumnQualifier() {
return columnQualifier_;
@@ -238,6 +256,8 @@ public com.google.protobuf.ByteString getColumnQualifier() {
*
*
* bytes append_value = 3;
+ *
+ * @return The appendValue.
*/
public com.google.protobuf.ByteString getAppendValue() {
if (ruleCase_ == 3) {
@@ -258,6 +278,8 @@ public com.google.protobuf.ByteString getAppendValue() {
*
*
* int64 increment_amount = 4;
+ *
+ * @return The incrementAmount.
*/
public long getIncrementAmount() {
if (ruleCase_ == 4) {
@@ -686,6 +708,8 @@ public Builder clearRule() {
*
*
* string family_name = 1;
+ *
+ * @return The familyName.
*/
public java.lang.String getFamilyName() {
java.lang.Object ref = familyName_;
@@ -707,6 +731,8 @@ public java.lang.String getFamilyName() {
*
*
* string family_name = 1;
+ *
+ * @return The bytes for familyName.
*/
public com.google.protobuf.ByteString getFamilyNameBytes() {
java.lang.Object ref = familyName_;
@@ -728,6 +754,9 @@ public com.google.protobuf.ByteString getFamilyNameBytes() {
*
*
* string family_name = 1;
+ *
+ * @param value The familyName to set.
+ * @return This builder for chaining.
*/
public Builder setFamilyName(java.lang.String value) {
if (value == null) {
@@ -747,6 +776,8 @@ public Builder setFamilyName(java.lang.String value) {
*
*
* string family_name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFamilyName() {
@@ -763,6 +794,9 @@ public Builder clearFamilyName() {
*
*
* string family_name = 1;
+ *
+ * @param value The bytes for familyName to set.
+ * @return This builder for chaining.
*/
public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -786,6 +820,8 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) {
*
*
* bytes column_qualifier = 2;
+ *
+ * @return The columnQualifier.
*/
public com.google.protobuf.ByteString getColumnQualifier() {
return columnQualifier_;
@@ -800,6 +836,9 @@ public com.google.protobuf.ByteString getColumnQualifier() {
*
*
* bytes column_qualifier = 2;
+ *
+ * @param value The columnQualifier to set.
+ * @return This builder for chaining.
*/
public Builder setColumnQualifier(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -820,6 +859,8 @@ public Builder setColumnQualifier(com.google.protobuf.ByteString value) {
*
*
* bytes column_qualifier = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearColumnQualifier() {
@@ -838,6 +879,8 @@ public Builder clearColumnQualifier() {
*
*
* bytes append_value = 3;
+ *
+ * @return The appendValue.
*/
public com.google.protobuf.ByteString getAppendValue() {
if (ruleCase_ == 3) {
@@ -855,6 +898,9 @@ public com.google.protobuf.ByteString getAppendValue() {
*
*
* bytes append_value = 3;
+ *
+ * @param value The appendValue to set.
+ * @return This builder for chaining.
*/
public Builder setAppendValue(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -875,6 +921,8 @@ public Builder setAppendValue(com.google.protobuf.ByteString value) {
*
*
* bytes append_value = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAppendValue() {
if (ruleCase_ == 3) {
@@ -896,6 +944,8 @@ public Builder clearAppendValue() {
*
*
* int64 increment_amount = 4;
+ *
+ * @return The incrementAmount.
*/
public long getIncrementAmount() {
if (ruleCase_ == 4) {
@@ -914,6 +964,9 @@ public long getIncrementAmount() {
*
*
* int64 increment_amount = 4;
+ *
+ * @param value The incrementAmount to set.
+ * @return This builder for chaining.
*/
public Builder setIncrementAmount(long value) {
ruleCase_ = 4;
@@ -932,6 +985,8 @@ public Builder setIncrementAmount(long value) {
*
*
* int64 increment_amount = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearIncrementAmount() {
if (ruleCase_ == 4) {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java
index 05eeb1dd6a..2bbe3caa99 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface ReadModifyWriteRuleOrBuilder
*
*
* string family_name = 1;
+ *
+ * @return The familyName.
*/
java.lang.String getFamilyName();
/**
@@ -43,6 +45,8 @@ public interface ReadModifyWriteRuleOrBuilder
*
*
* string family_name = 1;
+ *
+ * @return The bytes for familyName.
*/
com.google.protobuf.ByteString getFamilyNameBytes();
@@ -56,6 +60,8 @@ public interface ReadModifyWriteRuleOrBuilder
*
*
* bytes column_qualifier = 2;
+ *
+ * @return The columnQualifier.
*/
com.google.protobuf.ByteString getColumnQualifier();
@@ -69,6 +75,8 @@ public interface ReadModifyWriteRuleOrBuilder
*
*
* bytes append_value = 3;
+ *
+ * @return The appendValue.
*/
com.google.protobuf.ByteString getAppendValue();
@@ -83,6 +91,8 @@ public interface ReadModifyWriteRuleOrBuilder
*
*
* int64 increment_amount = 4;
+ *
+ * @return The incrementAmount.
*/
long getIncrementAmount();
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 b1f672387b..a357f0e6d7 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -42,6 +42,12 @@ private ReadRowsRequest() {
appProfileId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReadRowsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private ReadRowsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -154,12 +159,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * The unique name of the table from which to read.
+ * Required. The unique name of the table from which to read.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
@@ -176,12 +185,16 @@ public java.lang.String getTableName() {
*
*
*
- * The unique name of the table from which to read.
+ * Required. The unique name of the table from which to read.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
public com.google.protobuf.ByteString getTableNameBytes() {
java.lang.Object ref = tableName_;
@@ -206,6 +219,8 @@ public com.google.protobuf.ByteString getTableNameBytes() {
*
*
* string app_profile_id = 5;
+ *
+ * @return The appProfileId.
*/
public java.lang.String getAppProfileId() {
java.lang.Object ref = appProfileId_;
@@ -227,6 +242,8 @@ public java.lang.String getAppProfileId() {
*
*
* string app_profile_id = 5;
+ *
+ * @return The bytes for appProfileId.
*/
public com.google.protobuf.ByteString getAppProfileIdBytes() {
java.lang.Object ref = appProfileId_;
@@ -250,6 +267,8 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
*
*
* .google.bigtable.v2.RowSet rows = 2;
+ *
+ * @return Whether the rows field is set.
*/
public boolean hasRows() {
return rows_ != null;
@@ -262,6 +281,8 @@ public boolean hasRows() {
*
*
* .google.bigtable.v2.RowSet rows = 2;
+ *
+ * @return The rows.
*/
public com.google.bigtable.v2.RowSet getRows() {
return rows_ == null ? com.google.bigtable.v2.RowSet.getDefaultInstance() : rows_;
@@ -290,6 +311,8 @@ public com.google.bigtable.v2.RowSetOrBuilder getRowsOrBuilder() {
*
*
* .google.bigtable.v2.RowFilter filter = 3;
+ *
+ * @return Whether the filter field is set.
*/
public boolean hasFilter() {
return filter_ != null;
@@ -303,6 +326,8 @@ public boolean hasFilter() {
*
*
* .google.bigtable.v2.RowFilter filter = 3;
+ *
+ * @return The filter.
*/
public com.google.bigtable.v2.RowFilter getFilter() {
return filter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : filter_;
@@ -332,6 +357,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFilterOrBuilder() {
*
*
* int64 rows_limit = 4;
+ *
+ * @return The rowsLimit.
*/
public long getRowsLimit() {
return rowsLimit_;
@@ -744,12 +771,16 @@ public Builder mergeFrom(
*
*
*
- * The unique name of the table from which to read.
+ * Required. The unique name of the table from which to read.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
@@ -766,12 +797,16 @@ public java.lang.String getTableName() {
*
*
*
- * The unique name of the table from which to read.
+ * Required. The unique name of the table from which to read.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
public com.google.protobuf.ByteString getTableNameBytes() {
java.lang.Object ref = tableName_;
@@ -788,12 +823,17 @@ public com.google.protobuf.ByteString getTableNameBytes() {
*
*
*
- * The unique name of the table from which to read.
+ * Required. The unique name of the table from which to read.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The tableName to set.
+ * @return This builder for chaining.
*/
public Builder setTableName(java.lang.String value) {
if (value == null) {
@@ -808,12 +848,16 @@ public Builder setTableName(java.lang.String value) {
*
*
*
- * The unique name of the table from which to read.
+ * Required. The unique name of the table from which to read.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
*/
public Builder clearTableName() {
@@ -825,12 +869,17 @@ public Builder clearTableName() {
*
*
*
- * The unique name of the table from which to read.
+ * Required. The unique name of the table from which to read.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for tableName to set.
+ * @return This builder for chaining.
*/
public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -853,6 +902,8 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
*
*
* string app_profile_id = 5;
+ *
+ * @return The appProfileId.
*/
public java.lang.String getAppProfileId() {
java.lang.Object ref = appProfileId_;
@@ -874,6 +925,8 @@ public java.lang.String getAppProfileId() {
*
*
* string app_profile_id = 5;
+ *
+ * @return The bytes for appProfileId.
*/
public com.google.protobuf.ByteString getAppProfileIdBytes() {
java.lang.Object ref = appProfileId_;
@@ -895,6 +948,9 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
*
*
* string app_profile_id = 5;
+ *
+ * @param value The appProfileId to set.
+ * @return This builder for chaining.
*/
public Builder setAppProfileId(java.lang.String value) {
if (value == null) {
@@ -914,6 +970,8 @@ public Builder setAppProfileId(java.lang.String value) {
*
*
* string app_profile_id = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAppProfileId() {
@@ -930,6 +988,9 @@ public Builder clearAppProfileId() {
*
*
* string app_profile_id = 5;
+ *
+ * @param value The bytes for appProfileId to set.
+ * @return This builder for chaining.
*/
public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -956,6 +1017,8 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) {
*
*
* .google.bigtable.v2.RowSet rows = 2;
+ *
+ * @return Whether the rows field is set.
*/
public boolean hasRows() {
return rowsBuilder_ != null || rows_ != null;
@@ -968,6 +1031,8 @@ public boolean hasRows() {
*
*
* .google.bigtable.v2.RowSet rows = 2;
+ *
+ * @return The rows.
*/
public com.google.bigtable.v2.RowSet getRows() {
if (rowsBuilder_ == null) {
@@ -1131,6 +1196,8 @@ public com.google.bigtable.v2.RowSetOrBuilder getRowsOrBuilder() {
*
*
* .google.bigtable.v2.RowFilter filter = 3;
+ *
+ * @return Whether the filter field is set.
*/
public boolean hasFilter() {
return filterBuilder_ != null || filter_ != null;
@@ -1144,6 +1211,8 @@ public boolean hasFilter() {
*
*
* .google.bigtable.v2.RowFilter filter = 3;
+ *
+ * @return The filter.
*/
public com.google.bigtable.v2.RowFilter getFilter() {
if (filterBuilder_ == null) {
@@ -1310,6 +1379,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFilterOrBuilder() {
*
*
* int64 rows_limit = 4;
+ *
+ * @return The rowsLimit.
*/
public long getRowsLimit() {
return rowsLimit_;
@@ -1323,6 +1394,9 @@ public long getRowsLimit() {
*
*
* int64 rows_limit = 4;
+ *
+ * @param value The rowsLimit to set.
+ * @return This builder for chaining.
*/
public Builder setRowsLimit(long value) {
@@ -1339,6 +1413,8 @@ public Builder setRowsLimit(long value) {
*
*
* int64 rows_limit = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowsLimit() {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java
index 22b7694541..a38045db61 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -27,24 +27,32 @@ public interface ReadRowsRequestOrBuilder
*
*
*
- * The unique name of the table from which to read.
+ * Required. The unique name of the table from which to read.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
java.lang.String getTableName();
/**
*
*
*
- * The unique name of the table from which to read.
+ * Required. The unique name of the table from which to read.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
com.google.protobuf.ByteString getTableNameBytes();
@@ -57,6 +65,8 @@ public interface ReadRowsRequestOrBuilder
*
*
* string app_profile_id = 5;
+ *
+ * @return The appProfileId.
*/
java.lang.String getAppProfileId();
/**
@@ -68,6 +78,8 @@ public interface ReadRowsRequestOrBuilder
*
*
* string app_profile_id = 5;
+ *
+ * @return The bytes for appProfileId.
*/
com.google.protobuf.ByteString getAppProfileIdBytes();
@@ -79,6 +91,8 @@ public interface ReadRowsRequestOrBuilder
*
*
* .google.bigtable.v2.RowSet rows = 2;
+ *
+ * @return Whether the rows field is set.
*/
boolean hasRows();
/**
@@ -89,6 +103,8 @@ public interface ReadRowsRequestOrBuilder
*
*
* .google.bigtable.v2.RowSet rows = 2;
+ *
+ * @return The rows.
*/
com.google.bigtable.v2.RowSet getRows();
/**
@@ -111,6 +127,8 @@ public interface ReadRowsRequestOrBuilder
*
*
* .google.bigtable.v2.RowFilter filter = 3;
+ *
+ * @return Whether the filter field is set.
*/
boolean hasFilter();
/**
@@ -122,6 +140,8 @@ public interface ReadRowsRequestOrBuilder
*
*
* .google.bigtable.v2.RowFilter filter = 3;
+ *
+ * @return The filter.
*/
com.google.bigtable.v2.RowFilter getFilter();
/**
@@ -145,6 +165,8 @@ public interface ReadRowsRequestOrBuilder
*
*
* int64 rows_limit = 4;
+ *
+ * @return The rowsLimit.
*/
long getRowsLimit();
}
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java
index e9adf8b827..9c8b7b6dd1 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -42,6 +42,12 @@ private ReadRowsResponse() {
lastScannedRowKey_ = com.google.protobuf.ByteString.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReadRowsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -137,6 +143,8 @@ public interface CellChunkOrBuilder
*
*
* bytes row_key = 1;
+ *
+ * @return The rowKey.
*/
com.google.protobuf.ByteString getRowKey();
@@ -153,6 +161,8 @@ public interface CellChunkOrBuilder
*
*
* .google.protobuf.StringValue family_name = 2;
+ *
+ * @return Whether the familyName field is set.
*/
boolean hasFamilyName();
/**
@@ -168,6 +178,8 @@ public interface CellChunkOrBuilder
*
*
* .google.protobuf.StringValue family_name = 2;
+ *
+ * @return The familyName.
*/
com.google.protobuf.StringValue getFamilyName();
/**
@@ -198,6 +210,8 @@ public interface CellChunkOrBuilder
*
*
* .google.protobuf.BytesValue qualifier = 3;
+ *
+ * @return Whether the qualifier field is set.
*/
boolean hasQualifier();
/**
@@ -212,6 +226,8 @@ public interface CellChunkOrBuilder
*
*
* .google.protobuf.BytesValue qualifier = 3;
+ *
+ * @return The qualifier.
*/
com.google.protobuf.BytesValue getQualifier();
/**
@@ -244,6 +260,8 @@ public interface CellChunkOrBuilder
*
*
* int64 timestamp_micros = 4;
+ *
+ * @return The timestampMicros.
*/
long getTimestampMicros();
@@ -257,6 +275,8 @@ public interface CellChunkOrBuilder
*
*
* repeated string labels = 5;
+ *
+ * @return A list containing the labels.
*/
java.util.List getLabelsList();
/**
@@ -269,6 +289,8 @@ public interface CellChunkOrBuilder
*
*
* repeated string labels = 5;
+ *
+ * @return The count of labels.
*/
int getLabelsCount();
/**
@@ -281,6 +303,9 @@ public interface CellChunkOrBuilder
*
*
* repeated string labels = 5;
+ *
+ * @param index The index of the element to return.
+ * @return The labels at the given index.
*/
java.lang.String getLabels(int index);
/**
@@ -293,6 +318,9 @@ public interface CellChunkOrBuilder
*
*
* repeated string labels = 5;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the labels at the given index.
*/
com.google.protobuf.ByteString getLabelsBytes(int index);
@@ -308,6 +336,8 @@ public interface CellChunkOrBuilder
*
*
* bytes value = 6;
+ *
+ * @return The value.
*/
com.google.protobuf.ByteString getValue();
@@ -322,6 +352,8 @@ public interface CellChunkOrBuilder
*
*
* int32 value_size = 7;
+ *
+ * @return The valueSize.
*/
int getValueSize();
@@ -334,6 +366,8 @@ public interface CellChunkOrBuilder
*
*
* bool reset_row = 8;
+ *
+ * @return The resetRow.
*/
boolean getResetRow();
@@ -346,6 +380,8 @@ public interface CellChunkOrBuilder
*
*
* bool commit_row = 9;
+ *
+ * @return The commitRow.
*/
boolean getCommitRow();
@@ -377,6 +413,12 @@ private CellChunk() {
value_ = com.google.protobuf.ByteString.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CellChunk();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -444,9 +486,9 @@ private CellChunk(
case 42:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
labels_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000010;
+ mutable_bitField0_ |= 0x00000001;
}
labels_.add(s);
break;
@@ -487,7 +529,7 @@ private CellChunk(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000010) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
labels_ = labels_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
@@ -510,11 +552,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder.class);
}
- private int bitField0_;
private int rowStatusCase_ = 0;
private java.lang.Object rowStatus_;
- public enum RowStatusCase implements com.google.protobuf.Internal.EnumLite {
+ public enum RowStatusCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
RESET_ROW(8),
COMMIT_ROW(9),
ROWSTATUS_NOT_SET(0);
@@ -523,7 +567,11 @@ public enum RowStatusCase implements com.google.protobuf.Internal.EnumLite {
private RowStatusCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static RowStatusCase valueOf(int value) {
return forNumber(value);
@@ -564,6 +612,8 @@ public RowStatusCase getRowStatusCase() {
*
*
* bytes row_key = 1;
+ *
+ * @return The rowKey.
*/
public com.google.protobuf.ByteString getRowKey() {
return rowKey_;
@@ -584,6 +634,8 @@ public com.google.protobuf.ByteString getRowKey() {
*
*
* .google.protobuf.StringValue family_name = 2;
+ *
+ * @return Whether the familyName field is set.
*/
public boolean hasFamilyName() {
return familyName_ != null;
@@ -601,6 +653,8 @@ public boolean hasFamilyName() {
*
*
* .google.protobuf.StringValue family_name = 2;
+ *
+ * @return The familyName.
*/
public com.google.protobuf.StringValue getFamilyName() {
return familyName_ == null
@@ -639,6 +693,8 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
*
*
* .google.protobuf.BytesValue qualifier = 3;
+ *
+ * @return Whether the qualifier field is set.
*/
public boolean hasQualifier() {
return qualifier_ != null;
@@ -655,6 +711,8 @@ public boolean hasQualifier() {
*
*
* .google.protobuf.BytesValue qualifier = 3;
+ *
+ * @return The qualifier.
*/
public com.google.protobuf.BytesValue getQualifier() {
return qualifier_ == null ? com.google.protobuf.BytesValue.getDefaultInstance() : qualifier_;
@@ -693,6 +751,8 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
*
*
* int64 timestamp_micros = 4;
+ *
+ * @return The timestampMicros.
*/
public long getTimestampMicros() {
return timestampMicros_;
@@ -710,6 +770,8 @@ public long getTimestampMicros() {
*
*
* repeated string labels = 5;
+ *
+ * @return A list containing the labels.
*/
public com.google.protobuf.ProtocolStringList getLabelsList() {
return labels_;
@@ -724,6 +786,8 @@ public com.google.protobuf.ProtocolStringList getLabelsList() {
*
*
* repeated string labels = 5;
+ *
+ * @return The count of labels.
*/
public int getLabelsCount() {
return labels_.size();
@@ -738,6 +802,9 @@ public int getLabelsCount() {
*
*
* repeated string labels = 5;
+ *
+ * @param index The index of the element to return.
+ * @return The labels at the given index.
*/
public java.lang.String getLabels(int index) {
return labels_.get(index);
@@ -752,6 +819,9 @@ public java.lang.String getLabels(int index) {
*
*
* repeated string labels = 5;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the labels at the given index.
*/
public com.google.protobuf.ByteString getLabelsBytes(int index) {
return labels_.getByteString(index);
@@ -771,6 +841,8 @@ public com.google.protobuf.ByteString getLabelsBytes(int index) {
*
*
* bytes value = 6;
+ *
+ * @return The value.
*/
public com.google.protobuf.ByteString getValue() {
return value_;
@@ -789,6 +861,8 @@ public com.google.protobuf.ByteString getValue() {
*
*
* int32 value_size = 7;
+ *
+ * @return The valueSize.
*/
public int getValueSize() {
return valueSize_;
@@ -804,6 +878,8 @@ public int getValueSize() {
*
*
* bool reset_row = 8;
+ *
+ * @return The resetRow.
*/
public boolean getResetRow() {
if (rowStatusCase_ == 8) {
@@ -822,6 +898,8 @@ public boolean getResetRow() {
*
*
* bool commit_row = 9;
+ *
+ * @return The commitRow.
*/
public boolean getCommitRow() {
if (rowStatusCase_ == 9) {
@@ -1164,7 +1242,7 @@ public Builder clear() {
timestampMicros_ = 0L;
labels_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
value_ = com.google.protobuf.ByteString.EMPTY;
valueSize_ = 0;
@@ -1199,7 +1277,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk buildPartial() {
com.google.bigtable.v2.ReadRowsResponse.CellChunk result =
new com.google.bigtable.v2.ReadRowsResponse.CellChunk(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.rowKey_ = rowKey_;
if (familyNameBuilder_ == null) {
result.familyName_ = familyName_;
@@ -1212,9 +1289,9 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk buildPartial() {
result.qualifier_ = qualifierBuilder_.build();
}
result.timestampMicros_ = timestampMicros_;
- if (((bitField0_ & 0x00000010) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
labels_ = labels_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.labels_ = labels_;
result.value_ = value_;
@@ -1225,7 +1302,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk buildPartial() {
if (rowStatusCase_ == 9) {
result.rowStatus_ = rowStatus_;
}
- result.bitField0_ = to_bitField0_;
result.rowStatusCase_ = rowStatusCase_;
onBuilt();
return result;
@@ -1294,7 +1370,7 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadRowsResponse.CellChunk other
if (!other.labels_.isEmpty()) {
if (labels_.isEmpty()) {
labels_ = other.labels_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLabelsIsMutable();
labels_.addAll(other.labels_);
@@ -1381,6 +1457,8 @@ public Builder clearRowStatus() {
*
*
* bytes row_key = 1;
+ *
+ * @return The rowKey.
*/
public com.google.protobuf.ByteString getRowKey() {
return rowKey_;
@@ -1396,6 +1474,9 @@ public com.google.protobuf.ByteString getRowKey() {
*
*
* bytes row_key = 1;
+ *
+ * @param value The rowKey to set.
+ * @return This builder for chaining.
*/
public Builder setRowKey(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1417,6 +1498,8 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
*
*
* bytes row_key = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowKey() {
@@ -1444,6 +1527,8 @@ public Builder clearRowKey() {
*
*
* .google.protobuf.StringValue family_name = 2;
+ *
+ * @return Whether the familyName field is set.
*/
public boolean hasFamilyName() {
return familyNameBuilder_ != null || familyName_ != null;
@@ -1461,6 +1546,8 @@ public boolean hasFamilyName() {
*
*
* .google.protobuf.StringValue family_name = 2;
+ *
+ * @return The familyName.
*/
public com.google.protobuf.StringValue getFamilyName() {
if (familyNameBuilder_ == null) {
@@ -1669,6 +1756,8 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
*
*
* .google.protobuf.BytesValue qualifier = 3;
+ *
+ * @return Whether the qualifier field is set.
*/
public boolean hasQualifier() {
return qualifierBuilder_ != null || qualifier_ != null;
@@ -1685,6 +1774,8 @@ public boolean hasQualifier() {
*
*
* .google.protobuf.BytesValue qualifier = 3;
+ *
+ * @return The qualifier.
*/
public com.google.protobuf.BytesValue getQualifier() {
if (qualifierBuilder_ == null) {
@@ -1884,6 +1975,8 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
*
*
* int64 timestamp_micros = 4;
+ *
+ * @return The timestampMicros.
*/
public long getTimestampMicros() {
return timestampMicros_;
@@ -1903,6 +1996,9 @@ public long getTimestampMicros() {
*
*
* int64 timestamp_micros = 4;
+ *
+ * @param value The timestampMicros to set.
+ * @return This builder for chaining.
*/
public Builder setTimestampMicros(long value) {
@@ -1925,6 +2021,8 @@ public Builder setTimestampMicros(long value) {
*
*
* int64 timestamp_micros = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTimestampMicros() {
@@ -1937,9 +2035,9 @@ public Builder clearTimestampMicros() {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureLabelsIsMutable() {
- if (!((bitField0_ & 0x00000010) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
labels_ = new com.google.protobuf.LazyStringArrayList(labels_);
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -1952,6 +2050,8 @@ private void ensureLabelsIsMutable() {
*
*
* repeated string labels = 5;
+ *
+ * @return A list containing the labels.
*/
public com.google.protobuf.ProtocolStringList getLabelsList() {
return labels_.getUnmodifiableView();
@@ -1966,6 +2066,8 @@ public com.google.protobuf.ProtocolStringList getLabelsList() {
*
*
* repeated string labels = 5;
+ *
+ * @return The count of labels.
*/
public int getLabelsCount() {
return labels_.size();
@@ -1980,6 +2082,9 @@ public int getLabelsCount() {
*
*
* repeated string labels = 5;
+ *
+ * @param index The index of the element to return.
+ * @return The labels at the given index.
*/
public java.lang.String getLabels(int index) {
return labels_.get(index);
@@ -1994,6 +2099,9 @@ public java.lang.String getLabels(int index) {
*
*
* repeated string labels = 5;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the labels at the given index.
*/
public com.google.protobuf.ByteString getLabelsBytes(int index) {
return labels_.getByteString(index);
@@ -2008,6 +2116,10 @@ public com.google.protobuf.ByteString getLabelsBytes(int index) {
*
*
* repeated string labels = 5;
+ *
+ * @param index The index to set the value at.
+ * @param value The labels to set.
+ * @return This builder for chaining.
*/
public Builder setLabels(int index, java.lang.String value) {
if (value == null) {
@@ -2028,6 +2140,9 @@ public Builder setLabels(int index, java.lang.String value) {
*
*
* repeated string labels = 5;
+ *
+ * @param value The labels to add.
+ * @return This builder for chaining.
*/
public Builder addLabels(java.lang.String value) {
if (value == null) {
@@ -2048,6 +2163,9 @@ public Builder addLabels(java.lang.String value) {
*
*
* repeated string labels = 5;
+ *
+ * @param values The labels to add.
+ * @return This builder for chaining.
*/
public Builder addAllLabels(java.lang.Iterable values) {
ensureLabelsIsMutable();
@@ -2065,10 +2183,12 @@ public Builder addAllLabels(java.lang.Iterable values) {
*
*
* repeated string labels = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLabels() {
labels_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -2082,6 +2202,9 @@ public Builder clearLabels() {
*
*
* repeated string labels = 5;
+ *
+ * @param value The bytes of the labels to add.
+ * @return This builder for chaining.
*/
public Builder addLabelsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2107,6 +2230,8 @@ public Builder addLabelsBytes(com.google.protobuf.ByteString value) {
*
*
* bytes value = 6;
+ *
+ * @return The value.
*/
public com.google.protobuf.ByteString getValue() {
return value_;
@@ -2123,6 +2248,9 @@ public com.google.protobuf.ByteString getValue() {
*
*
* bytes value = 6;
+ *
+ * @param value The value to set.
+ * @return This builder for chaining.
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2145,6 +2273,8 @@ public Builder setValue(com.google.protobuf.ByteString value) {
*
*
* bytes value = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValue() {
@@ -2165,6 +2295,8 @@ public Builder clearValue() {
*
*
* int32 value_size = 7;
+ *
+ * @return The valueSize.
*/
public int getValueSize() {
return valueSize_;
@@ -2180,6 +2312,9 @@ public int getValueSize() {
*
*
* int32 value_size = 7;
+ *
+ * @param value The valueSize to set.
+ * @return This builder for chaining.
*/
public Builder setValueSize(int value) {
@@ -2198,6 +2333,8 @@ public Builder setValueSize(int value) {
*
*
* int32 value_size = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValueSize() {
@@ -2215,6 +2352,8 @@ public Builder clearValueSize() {
*
*
* bool reset_row = 8;
+ *
+ * @return The resetRow.
*/
public boolean getResetRow() {
if (rowStatusCase_ == 8) {
@@ -2231,6 +2370,9 @@ public boolean getResetRow() {
*
*
* bool reset_row = 8;
+ *
+ * @param value The resetRow to set.
+ * @return This builder for chaining.
*/
public Builder setResetRow(boolean value) {
rowStatusCase_ = 8;
@@ -2247,6 +2389,8 @@ public Builder setResetRow(boolean value) {
*
*
* bool reset_row = 8;
+ *
+ * @return This builder for chaining.
*/
public Builder clearResetRow() {
if (rowStatusCase_ == 8) {
@@ -2266,6 +2410,8 @@ public Builder clearResetRow() {
*
*
* bool commit_row = 9;
+ *
+ * @return The commitRow.
*/
public boolean getCommitRow() {
if (rowStatusCase_ == 9) {
@@ -2282,6 +2428,9 @@ public boolean getCommitRow() {
*
*
* bool commit_row = 9;
+ *
+ * @param value The commitRow to set.
+ * @return This builder for chaining.
*/
public Builder setCommitRow(boolean value) {
rowStatusCase_ = 9;
@@ -2298,6 +2447,8 @@ public Builder setCommitRow(boolean value) {
*
*
* bool commit_row = 9;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCommitRow() {
if (rowStatusCase_ == 9) {
@@ -2360,27 +2511,66 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk getDefaultInstanceForTy
}
}
- private int bitField0_;
public static final int CHUNKS_FIELD_NUMBER = 1;
private java.util.List chunks_;
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public java.util.List getChunksList() {
return chunks_;
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public java.util.List extends com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder>
getChunksOrBuilderList() {
return chunks_;
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public int getChunksCount() {
return chunks_.size();
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index) {
return chunks_.get(index);
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder(int index) {
return chunks_.get(index);
}
@@ -2401,6 +2591,8 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui
*
*
* bytes last_scanned_row_key = 2;
+ *
+ * @return The lastScannedRowKey.
*/
public com.google.protobuf.ByteString getLastScannedRowKey() {
return lastScannedRowKey_;
@@ -2658,7 +2850,6 @@ public com.google.bigtable.v2.ReadRowsResponse buildPartial() {
com.google.bigtable.v2.ReadRowsResponse result =
new com.google.bigtable.v2.ReadRowsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (chunksBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
chunks_ = java.util.Collections.unmodifiableList(chunks_);
@@ -2669,7 +2860,6 @@ public com.google.bigtable.v2.ReadRowsResponse buildPartial() {
result.chunks_ = chunksBuilder_.build();
}
result.lastScannedRowKey_ = lastScannedRowKey_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -2797,7 +2987,15 @@ private void ensureChunksIsMutable() {
com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder>
chunksBuilder_;
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public java.util.List getChunksList() {
if (chunksBuilder_ == null) {
return java.util.Collections.unmodifiableList(chunks_);
@@ -2805,7 +3003,15 @@ public java.util.List getChun
return chunksBuilder_.getMessageList();
}
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public int getChunksCount() {
if (chunksBuilder_ == null) {
return chunks_.size();
@@ -2813,7 +3019,15 @@ public int getChunksCount() {
return chunksBuilder_.getCount();
}
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index) {
if (chunksBuilder_ == null) {
return chunks_.get(index);
@@ -2821,7 +3035,15 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index) {
return chunksBuilder_.getMessage(index);
}
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public Builder setChunks(int index, com.google.bigtable.v2.ReadRowsResponse.CellChunk value) {
if (chunksBuilder_ == null) {
if (value == null) {
@@ -2835,7 +3057,15 @@ public Builder setChunks(int index, com.google.bigtable.v2.ReadRowsResponse.Cell
}
return this;
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public Builder setChunks(
int index, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder builderForValue) {
if (chunksBuilder_ == null) {
@@ -2847,7 +3077,15 @@ public Builder setChunks(
}
return this;
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public Builder addChunks(com.google.bigtable.v2.ReadRowsResponse.CellChunk value) {
if (chunksBuilder_ == null) {
if (value == null) {
@@ -2861,7 +3099,15 @@ public Builder addChunks(com.google.bigtable.v2.ReadRowsResponse.CellChunk value
}
return this;
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public Builder addChunks(int index, com.google.bigtable.v2.ReadRowsResponse.CellChunk value) {
if (chunksBuilder_ == null) {
if (value == null) {
@@ -2875,7 +3121,15 @@ public Builder addChunks(int index, com.google.bigtable.v2.ReadRowsResponse.Cell
}
return this;
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public Builder addChunks(
com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder builderForValue) {
if (chunksBuilder_ == null) {
@@ -2887,7 +3141,15 @@ public Builder addChunks(
}
return this;
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public Builder addChunks(
int index, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder builderForValue) {
if (chunksBuilder_ == null) {
@@ -2899,7 +3161,15 @@ public Builder addChunks(
}
return this;
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public Builder addAllChunks(
java.lang.Iterable extends com.google.bigtable.v2.ReadRowsResponse.CellChunk> values) {
if (chunksBuilder_ == null) {
@@ -2911,7 +3181,15 @@ public Builder addAllChunks(
}
return this;
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public Builder clearChunks() {
if (chunksBuilder_ == null) {
chunks_ = java.util.Collections.emptyList();
@@ -2922,7 +3200,15 @@ public Builder clearChunks() {
}
return this;
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public Builder removeChunks(int index) {
if (chunksBuilder_ == null) {
ensureChunksIsMutable();
@@ -2933,11 +3219,27 @@ public Builder removeChunks(int index) {
}
return this;
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder getChunksBuilder(int index) {
return getChunksFieldBuilder().getBuilder(index);
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder(
int index) {
if (chunksBuilder_ == null) {
@@ -2946,7 +3248,15 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui
return chunksBuilder_.getMessageOrBuilder(index);
}
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public java.util.List extends com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder>
getChunksOrBuilderList() {
if (chunksBuilder_ != null) {
@@ -2955,18 +3265,42 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui
return java.util.Collections.unmodifiableList(chunks_);
}
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilder() {
return getChunksFieldBuilder()
.addBuilder(com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance());
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilder(int index) {
return getChunksFieldBuilder()
.addBuilder(
index, com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance());
}
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
public java.util.List
getChunksBuilderList() {
return getChunksFieldBuilder().getBuilderList();
@@ -3005,6 +3339,8 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilde
*
*
* bytes last_scanned_row_key = 2;
+ *
+ * @return The lastScannedRowKey.
*/
public com.google.protobuf.ByteString getLastScannedRowKey() {
return lastScannedRowKey_;
@@ -3023,6 +3359,9 @@ public com.google.protobuf.ByteString getLastScannedRowKey() {
*
*
* bytes last_scanned_row_key = 2;
+ *
+ * @param value The lastScannedRowKey to set.
+ * @return This builder for chaining.
*/
public Builder setLastScannedRowKey(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3047,6 +3386,8 @@ public Builder setLastScannedRowKey(com.google.protobuf.ByteString value) {
*
*
* bytes last_scanned_row_key = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLastScannedRowKey() {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
index dc6205e3fe..84410a4c1e 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -23,16 +23,56 @@ public interface ReadRowsResponseOrBuilder
// @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadRowsResponse)
com.google.protobuf.MessageOrBuilder {
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
java.util.List getChunksList();
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index);
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
int getChunksCount();
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
java.util.List extends com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder>
getChunksOrBuilderList();
- /** repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
+ /**
+ *
+ *
+ *
+ * A collection of a row's contents as part of the read request.
+ *
+ *
+ * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
+ */
com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder(int index);
/**
@@ -49,6 +89,8 @@ public interface ReadRowsResponseOrBuilder
*
*
* bytes last_scanned_row_key = 2;
+ *
+ * @return The lastScannedRowKey.
*/
com.google.protobuf.ByteString getLastScannedRowKey();
}
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java
index 06a798db1b..8c84fa266d 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -43,6 +43,12 @@ private Row() {
families_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Row();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -74,9 +80,9 @@ private Row(
}
case 18:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
families_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
families_.add(
input.readMessage(com.google.bigtable.v2.Family.parser(), extensionRegistry));
@@ -96,7 +102,7 @@ private Row(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
families_ = java.util.Collections.unmodifiableList(families_);
}
this.unknownFields = unknownFields.build();
@@ -117,7 +123,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.bigtable.v2.Row.class, com.google.bigtable.v2.Row.Builder.class);
}
- private int bitField0_;
public static final int KEY_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString key_;
/**
@@ -130,6 +135,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bytes key = 1;
+ *
+ * @return The key.
*/
public com.google.protobuf.ByteString getKey() {
return key_;
@@ -422,7 +429,7 @@ public Builder clear() {
if (familiesBuilder_ == null) {
families_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
familiesBuilder_.clear();
}
@@ -452,18 +459,16 @@ public com.google.bigtable.v2.Row build() {
public com.google.bigtable.v2.Row buildPartial() {
com.google.bigtable.v2.Row result = new com.google.bigtable.v2.Row(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.key_ = key_;
if (familiesBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
families_ = java.util.Collections.unmodifiableList(families_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.families_ = families_;
} else {
result.families_ = familiesBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -520,7 +525,7 @@ public Builder mergeFrom(com.google.bigtable.v2.Row other) {
if (!other.families_.isEmpty()) {
if (families_.isEmpty()) {
families_ = other.families_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFamiliesIsMutable();
families_.addAll(other.families_);
@@ -533,7 +538,7 @@ public Builder mergeFrom(com.google.bigtable.v2.Row other) {
familiesBuilder_.dispose();
familiesBuilder_ = null;
families_ = other.families_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
familiesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getFamiliesFieldBuilder()
@@ -585,6 +590,8 @@ public Builder mergeFrom(
*
*
* bytes key = 1;
+ *
+ * @return The key.
*/
public com.google.protobuf.ByteString getKey() {
return key_;
@@ -599,6 +606,9 @@ public com.google.protobuf.ByteString getKey() {
*
*
* bytes key = 1;
+ *
+ * @param value The key to set.
+ * @return This builder for chaining.
*/
public Builder setKey(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -619,6 +629,8 @@ public Builder setKey(com.google.protobuf.ByteString value) {
*
*
* bytes key = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearKey() {
@@ -631,9 +643,9 @@ public Builder clearKey() {
java.util.Collections.emptyList();
private void ensureFamiliesIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
families_ = new java.util.ArrayList(families_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
@@ -857,7 +869,7 @@ public Builder addAllFamilies(
public Builder clearFamilies() {
if (familiesBuilder_ == null) {
families_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
familiesBuilder_.clear();
@@ -985,7 +997,7 @@ public java.util.List getFamiliesBuilderL
com.google.bigtable.v2.Family,
com.google.bigtable.v2.Family.Builder,
com.google.bigtable.v2.FamilyOrBuilder>(
- families_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ families_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
families_ = null;
}
return familiesBuilder_;
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
index 060ef005a4..b420babf44 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -66,6 +66,12 @@ private RowFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private RowFilter() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RowFilter();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -79,7 +85,6 @@ private RowFilter(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -385,6 +390,12 @@ private Chain() {
filters_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Chain();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -1518,6 +1529,12 @@ private Interleave() {
filters_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Interleave();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -2937,6 +2954,8 @@ public interface ConditionOrBuilder
*
*
* .google.bigtable.v2.RowFilter predicate_filter = 1;
+ *
+ * @return Whether the predicateFilter field is set.
*/
boolean hasPredicateFilter();
/**
@@ -2948,6 +2967,8 @@ public interface ConditionOrBuilder
*
*
* .google.bigtable.v2.RowFilter predicate_filter = 1;
+ *
+ * @return The predicateFilter.
*/
com.google.bigtable.v2.RowFilter getPredicateFilter();
/**
@@ -2971,6 +2992,8 @@ public interface ConditionOrBuilder
*
*
* .google.bigtable.v2.RowFilter true_filter = 2;
+ *
+ * @return Whether the trueFilter field is set.
*/
boolean hasTrueFilter();
/**
@@ -2982,6 +3005,8 @@ public interface ConditionOrBuilder
*
*
* .google.bigtable.v2.RowFilter true_filter = 2;
+ *
+ * @return The trueFilter.
*/
com.google.bigtable.v2.RowFilter getTrueFilter();
/**
@@ -3006,6 +3031,8 @@ public interface ConditionOrBuilder
*
*
* .google.bigtable.v2.RowFilter false_filter = 3;
+ *
+ * @return Whether the falseFilter field is set.
*/
boolean hasFalseFilter();
/**
@@ -3018,6 +3045,8 @@ public interface ConditionOrBuilder
*
*
* .google.bigtable.v2.RowFilter false_filter = 3;
+ *
+ * @return The falseFilter.
*/
com.google.bigtable.v2.RowFilter getFalseFilter();
/**
@@ -3059,6 +3088,12 @@ private Condition(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Condition() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Condition();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -3072,7 +3107,6 @@ private Condition(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -3173,6 +3207,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.bigtable.v2.RowFilter predicate_filter = 1;
+ *
+ * @return Whether the predicateFilter field is set.
*/
public boolean hasPredicateFilter() {
return predicateFilter_ != null;
@@ -3186,6 +3222,8 @@ public boolean hasPredicateFilter() {
*
*
* .google.bigtable.v2.RowFilter predicate_filter = 1;
+ *
+ * @return The predicateFilter.
*/
public com.google.bigtable.v2.RowFilter getPredicateFilter() {
return predicateFilter_ == null
@@ -3217,6 +3255,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
*
*
* .google.bigtable.v2.RowFilter true_filter = 2;
+ *
+ * @return Whether the trueFilter field is set.
*/
public boolean hasTrueFilter() {
return trueFilter_ != null;
@@ -3230,6 +3270,8 @@ public boolean hasTrueFilter() {
*
*
* .google.bigtable.v2.RowFilter true_filter = 2;
+ *
+ * @return The trueFilter.
*/
public com.google.bigtable.v2.RowFilter getTrueFilter() {
return trueFilter_ == null
@@ -3262,6 +3304,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
*
*
* .google.bigtable.v2.RowFilter false_filter = 3;
+ *
+ * @return Whether the falseFilter field is set.
*/
public boolean hasFalseFilter() {
return falseFilter_ != null;
@@ -3276,6 +3320,8 @@ public boolean hasFalseFilter() {
*
*
* .google.bigtable.v2.RowFilter false_filter = 3;
+ *
+ * @return The falseFilter.
*/
public com.google.bigtable.v2.RowFilter getFalseFilter() {
return falseFilter_ == null
@@ -3705,6 +3751,8 @@ public Builder mergeFrom(
*
*
* .google.bigtable.v2.RowFilter predicate_filter = 1;
+ *
+ * @return Whether the predicateFilter field is set.
*/
public boolean hasPredicateFilter() {
return predicateFilterBuilder_ != null || predicateFilter_ != null;
@@ -3718,6 +3766,8 @@ public boolean hasPredicateFilter() {
*
*
* .google.bigtable.v2.RowFilter predicate_filter = 1;
+ *
+ * @return The predicateFilter.
*/
public com.google.bigtable.v2.RowFilter getPredicateFilter() {
if (predicateFilterBuilder_ == null) {
@@ -3895,6 +3945,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
*
*
* .google.bigtable.v2.RowFilter true_filter = 2;
+ *
+ * @return Whether the trueFilter field is set.
*/
public boolean hasTrueFilter() {
return trueFilterBuilder_ != null || trueFilter_ != null;
@@ -3908,6 +3960,8 @@ public boolean hasTrueFilter() {
*
*
* .google.bigtable.v2.RowFilter true_filter = 2;
+ *
+ * @return The trueFilter.
*/
public com.google.bigtable.v2.RowFilter getTrueFilter() {
if (trueFilterBuilder_ == null) {
@@ -4086,6 +4140,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
*
*
* .google.bigtable.v2.RowFilter false_filter = 3;
+ *
+ * @return Whether the falseFilter field is set.
*/
public boolean hasFalseFilter() {
return falseFilterBuilder_ != null || falseFilter_ != null;
@@ -4100,6 +4156,8 @@ public boolean hasFalseFilter() {
*
*
* .google.bigtable.v2.RowFilter false_filter = 3;
+ *
+ * @return The falseFilter.
*/
public com.google.bigtable.v2.RowFilter getFalseFilter() {
if (falseFilterBuilder_ == null) {
@@ -4324,7 +4382,10 @@ public com.google.bigtable.v2.RowFilter.Condition getDefaultInstanceForType() {
private int filterCase_ = 0;
private java.lang.Object filter_;
- public enum FilterCase implements com.google.protobuf.Internal.EnumLite {
+ public enum FilterCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
CHAIN(1),
INTERLEAVE(2),
CONDITION(3),
@@ -4350,7 +4411,11 @@ public enum FilterCase implements com.google.protobuf.Internal.EnumLite {
private FilterCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static FilterCase valueOf(int value) {
return forNumber(value);
@@ -4422,6 +4487,8 @@ public FilterCase getFilterCase() {
*
*
* .google.bigtable.v2.RowFilter.Chain chain = 1;
+ *
+ * @return Whether the chain field is set.
*/
public boolean hasChain() {
return filterCase_ == 1;
@@ -4435,6 +4502,8 @@ public boolean hasChain() {
*
*
* .google.bigtable.v2.RowFilter.Chain chain = 1;
+ *
+ * @return The chain.
*/
public com.google.bigtable.v2.RowFilter.Chain getChain() {
if (filterCase_ == 1) {
@@ -4469,6 +4538,8 @@ public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
*
*
* .google.bigtable.v2.RowFilter.Interleave interleave = 2;
+ *
+ * @return Whether the interleave field is set.
*/
public boolean hasInterleave() {
return filterCase_ == 2;
@@ -4482,6 +4553,8 @@ public boolean hasInterleave() {
*
*
* .google.bigtable.v2.RowFilter.Interleave interleave = 2;
+ *
+ * @return The interleave.
*/
public com.google.bigtable.v2.RowFilter.Interleave getInterleave() {
if (filterCase_ == 2) {
@@ -4516,6 +4589,8 @@ public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuild
*
*
* .google.bigtable.v2.RowFilter.Condition condition = 3;
+ *
+ * @return Whether the condition field is set.
*/
public boolean hasCondition() {
return filterCase_ == 3;
@@ -4529,6 +4604,8 @@ public boolean hasCondition() {
*
*
* .google.bigtable.v2.RowFilter.Condition condition = 3;
+ *
+ * @return The condition.
*/
public com.google.bigtable.v2.RowFilter.Condition getCondition() {
if (filterCase_ == 3) {
@@ -4615,6 +4692,8 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
*
*
* bool sink = 16;
+ *
+ * @return The sink.
*/
public boolean getSink() {
if (filterCase_ == 16) {
@@ -4633,6 +4712,8 @@ public boolean getSink() {
*
*
* bool pass_all_filter = 17;
+ *
+ * @return The passAllFilter.
*/
public boolean getPassAllFilter() {
if (filterCase_ == 17) {
@@ -4651,6 +4732,8 @@ public boolean getPassAllFilter() {
*
*
* bool block_all_filter = 18;
+ *
+ * @return The blockAllFilter.
*/
public boolean getBlockAllFilter() {
if (filterCase_ == 18) {
@@ -4674,6 +4757,8 @@ public boolean getBlockAllFilter() {
*
*
* bytes row_key_regex_filter = 4;
+ *
+ * @return The rowKeyRegexFilter.
*/
public com.google.protobuf.ByteString getRowKeyRegexFilter() {
if (filterCase_ == 4) {
@@ -4692,6 +4777,8 @@ public com.google.protobuf.ByteString getRowKeyRegexFilter() {
*
*
* double row_sample_filter = 14;
+ *
+ * @return The rowSampleFilter.
*/
public double getRowSampleFilter() {
if (filterCase_ == 14) {
@@ -4714,6 +4801,8 @@ public double getRowSampleFilter() {
*
*
* string family_name_regex_filter = 5;
+ *
+ * @return The familyNameRegexFilter.
*/
public java.lang.String getFamilyNameRegexFilter() {
java.lang.Object ref = "";
@@ -4744,6 +4833,8 @@ public java.lang.String getFamilyNameRegexFilter() {
*
*
* string family_name_regex_filter = 5;
+ *
+ * @return The bytes for familyNameRegexFilter.
*/
public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() {
java.lang.Object ref = "";
@@ -4776,6 +4867,8 @@ public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() {
*
*
* bytes column_qualifier_regex_filter = 6;
+ *
+ * @return The columnQualifierRegexFilter.
*/
public com.google.protobuf.ByteString getColumnQualifierRegexFilter() {
if (filterCase_ == 6) {
@@ -4793,6 +4886,8 @@ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() {
*
*
* .google.bigtable.v2.ColumnRange column_range_filter = 7;
+ *
+ * @return Whether the columnRangeFilter field is set.
*/
public boolean hasColumnRangeFilter() {
return filterCase_ == 7;
@@ -4805,6 +4900,8 @@ public boolean hasColumnRangeFilter() {
*
*
* .google.bigtable.v2.ColumnRange column_range_filter = 7;
+ *
+ * @return The columnRangeFilter.
*/
public com.google.bigtable.v2.ColumnRange getColumnRangeFilter() {
if (filterCase_ == 7) {
@@ -4837,6 +4934,8 @@ public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder
*
*
* .google.bigtable.v2.TimestampRange timestamp_range_filter = 8;
+ *
+ * @return Whether the timestampRangeFilter field is set.
*/
public boolean hasTimestampRangeFilter() {
return filterCase_ == 8;
@@ -4849,6 +4948,8 @@ public boolean hasTimestampRangeFilter() {
*
*
* .google.bigtable.v2.TimestampRange timestamp_range_filter = 8;
+ *
+ * @return The timestampRangeFilter.
*/
public com.google.bigtable.v2.TimestampRange getTimestampRangeFilter() {
if (filterCase_ == 8) {
@@ -4885,6 +4986,8 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB
*
*
* bytes value_regex_filter = 9;
+ *
+ * @return The valueRegexFilter.
*/
public com.google.protobuf.ByteString getValueRegexFilter() {
if (filterCase_ == 9) {
@@ -4902,6 +5005,8 @@ public com.google.protobuf.ByteString getValueRegexFilter() {
*
*
* .google.bigtable.v2.ValueRange value_range_filter = 15;
+ *
+ * @return Whether the valueRangeFilter field is set.
*/
public boolean hasValueRangeFilter() {
return filterCase_ == 15;
@@ -4914,6 +5019,8 @@ public boolean hasValueRangeFilter() {
*
*
* .google.bigtable.v2.ValueRange value_range_filter = 15;
+ *
+ * @return The valueRangeFilter.
*/
public com.google.bigtable.v2.ValueRange getValueRangeFilter() {
if (filterCase_ == 15) {
@@ -4948,6 +5055,8 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder()
*
*
* int32 cells_per_row_offset_filter = 10;
+ *
+ * @return The cellsPerRowOffsetFilter.
*/
public int getCellsPerRowOffsetFilter() {
if (filterCase_ == 10) {
@@ -4967,6 +5076,8 @@ public int getCellsPerRowOffsetFilter() {
*
*
* int32 cells_per_row_limit_filter = 11;
+ *
+ * @return The cellsPerRowLimitFilter.
*/
public int getCellsPerRowLimitFilter() {
if (filterCase_ == 11) {
@@ -4989,6 +5100,8 @@ public int getCellsPerRowLimitFilter() {
*
*
* int32 cells_per_column_limit_filter = 12;
+ *
+ * @return The cellsPerColumnLimitFilter.
*/
public int getCellsPerColumnLimitFilter() {
if (filterCase_ == 12) {
@@ -5006,6 +5119,8 @@ public int getCellsPerColumnLimitFilter() {
*
*
* bool strip_value_transformer = 13;
+ *
+ * @return The stripValueTransformer.
*/
public boolean getStripValueTransformer() {
if (filterCase_ == 13) {
@@ -5033,6 +5148,8 @@ public boolean getStripValueTransformer() {
*
*
* string apply_label_transformer = 19;
+ *
+ * @return The applyLabelTransformer.
*/
public java.lang.String getApplyLabelTransformer() {
java.lang.Object ref = "";
@@ -5068,6 +5185,8 @@ public java.lang.String getApplyLabelTransformer() {
*
*
* string apply_label_transformer = 19;
+ *
+ * @return The bytes for applyLabelTransformer.
*/
public com.google.protobuf.ByteString getApplyLabelTransformerBytes() {
java.lang.Object ref = "";
@@ -5922,6 +6041,8 @@ public Builder clearFilter() {
*
*
* .google.bigtable.v2.RowFilter.Chain chain = 1;
+ *
+ * @return Whether the chain field is set.
*/
public boolean hasChain() {
return filterCase_ == 1;
@@ -5935,6 +6056,8 @@ public boolean hasChain() {
*
*
* .google.bigtable.v2.RowFilter.Chain chain = 1;
+ *
+ * @return The chain.
*/
public com.google.bigtable.v2.RowFilter.Chain getChain() {
if (chainBuilder_ == null) {
@@ -6132,6 +6255,8 @@ public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
*
*
* .google.bigtable.v2.RowFilter.Interleave interleave = 2;
+ *
+ * @return Whether the interleave field is set.
*/
public boolean hasInterleave() {
return filterCase_ == 2;
@@ -6145,6 +6270,8 @@ public boolean hasInterleave() {
*
*
* .google.bigtable.v2.RowFilter.Interleave interleave = 2;
+ *
+ * @return The interleave.
*/
public com.google.bigtable.v2.RowFilter.Interleave getInterleave() {
if (interleaveBuilder_ == null) {
@@ -6343,6 +6470,8 @@ public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuild
*
*
* .google.bigtable.v2.RowFilter.Condition condition = 3;
+ *
+ * @return Whether the condition field is set.
*/
public boolean hasCondition() {
return filterCase_ == 3;
@@ -6356,6 +6485,8 @@ public boolean hasCondition() {
*
*
* .google.bigtable.v2.RowFilter.Condition condition = 3;
+ *
+ * @return The condition.
*/
public com.google.bigtable.v2.RowFilter.Condition getCondition() {
if (conditionBuilder_ == null) {
@@ -6601,6 +6732,8 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
*
*
* bool sink = 16;
+ *
+ * @return The sink.
*/
public boolean getSink() {
if (filterCase_ == 16) {
@@ -6669,6 +6802,9 @@ public boolean getSink() {
*
*
* bool sink = 16;
+ *
+ * @param value The sink to set.
+ * @return This builder for chaining.
*/
public Builder setSink(boolean value) {
filterCase_ = 16;
@@ -6737,6 +6873,8 @@ public Builder setSink(boolean value) {
*
*
* bool sink = 16;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSink() {
if (filterCase_ == 16) {
@@ -6756,6 +6894,8 @@ public Builder clearSink() {
*
*
* bool pass_all_filter = 17;
+ *
+ * @return The passAllFilter.
*/
public boolean getPassAllFilter() {
if (filterCase_ == 17) {
@@ -6772,6 +6912,9 @@ public boolean getPassAllFilter() {
*
*
* bool pass_all_filter = 17;
+ *
+ * @param value The passAllFilter to set.
+ * @return This builder for chaining.
*/
public Builder setPassAllFilter(boolean value) {
filterCase_ = 17;
@@ -6788,6 +6931,8 @@ public Builder setPassAllFilter(boolean value) {
*
*
* bool pass_all_filter = 17;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPassAllFilter() {
if (filterCase_ == 17) {
@@ -6807,6 +6952,8 @@ public Builder clearPassAllFilter() {
*
*
* bool block_all_filter = 18;
+ *
+ * @return The blockAllFilter.
*/
public boolean getBlockAllFilter() {
if (filterCase_ == 18) {
@@ -6823,6 +6970,9 @@ public boolean getBlockAllFilter() {
*
*
* bool block_all_filter = 18;
+ *
+ * @param value The blockAllFilter to set.
+ * @return This builder for chaining.
*/
public Builder setBlockAllFilter(boolean value) {
filterCase_ = 18;
@@ -6839,6 +6989,8 @@ public Builder setBlockAllFilter(boolean value) {
*
*
* bool block_all_filter = 18;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBlockAllFilter() {
if (filterCase_ == 18) {
@@ -6863,6 +7015,8 @@ public Builder clearBlockAllFilter() {
*
*
* bytes row_key_regex_filter = 4;
+ *
+ * @return The rowKeyRegexFilter.
*/
public com.google.protobuf.ByteString getRowKeyRegexFilter() {
if (filterCase_ == 4) {
@@ -6884,6 +7038,9 @@ public com.google.protobuf.ByteString getRowKeyRegexFilter() {
*
*
* bytes row_key_regex_filter = 4;
+ *
+ * @param value The rowKeyRegexFilter to set.
+ * @return This builder for chaining.
*/
public Builder setRowKeyRegexFilter(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -6908,6 +7065,8 @@ public Builder setRowKeyRegexFilter(com.google.protobuf.ByteString value) {
*
*
* bytes row_key_regex_filter = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowKeyRegexFilter() {
if (filterCase_ == 4) {
@@ -6927,6 +7086,8 @@ public Builder clearRowKeyRegexFilter() {
*
*
* double row_sample_filter = 14;
+ *
+ * @return The rowSampleFilter.
*/
public double getRowSampleFilter() {
if (filterCase_ == 14) {
@@ -6943,6 +7104,9 @@ public double getRowSampleFilter() {
*
*
* double row_sample_filter = 14;
+ *
+ * @param value The rowSampleFilter to set.
+ * @return This builder for chaining.
*/
public Builder setRowSampleFilter(double value) {
filterCase_ = 14;
@@ -6959,6 +7123,8 @@ public Builder setRowSampleFilter(double value) {
*
*
* double row_sample_filter = 14;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowSampleFilter() {
if (filterCase_ == 14) {
@@ -6982,6 +7148,8 @@ public Builder clearRowSampleFilter() {
*
*
* string family_name_regex_filter = 5;
+ *
+ * @return The familyNameRegexFilter.
*/
public java.lang.String getFamilyNameRegexFilter() {
java.lang.Object ref = "";
@@ -7012,6 +7180,8 @@ public java.lang.String getFamilyNameRegexFilter() {
*
*
* string family_name_regex_filter = 5;
+ *
+ * @return The bytes for familyNameRegexFilter.
*/
public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() {
java.lang.Object ref = "";
@@ -7042,6 +7212,9 @@ public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() {
*
*
* string family_name_regex_filter = 5;
+ *
+ * @param value The familyNameRegexFilter to set.
+ * @return This builder for chaining.
*/
public Builder setFamilyNameRegexFilter(java.lang.String value) {
if (value == null) {
@@ -7065,6 +7238,8 @@ public Builder setFamilyNameRegexFilter(java.lang.String value) {
*
*
* string family_name_regex_filter = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFamilyNameRegexFilter() {
if (filterCase_ == 5) {
@@ -7087,6 +7262,9 @@ public Builder clearFamilyNameRegexFilter() {
*
*
* string family_name_regex_filter = 5;
+ *
+ * @param value The bytes for familyNameRegexFilter to set.
+ * @return This builder for chaining.
*/
public Builder setFamilyNameRegexFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -7112,6 +7290,8 @@ public Builder setFamilyNameRegexFilterBytes(com.google.protobuf.ByteString valu
*
*
* bytes column_qualifier_regex_filter = 6;
+ *
+ * @return The columnQualifierRegexFilter.
*/
public com.google.protobuf.ByteString getColumnQualifierRegexFilter() {
if (filterCase_ == 6) {
@@ -7132,6 +7312,9 @@ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() {
*
*
* bytes column_qualifier_regex_filter = 6;
+ *
+ * @param value The columnQualifierRegexFilter to set.
+ * @return This builder for chaining.
*/
public Builder setColumnQualifierRegexFilter(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -7155,6 +7338,8 @@ public Builder setColumnQualifierRegexFilter(com.google.protobuf.ByteString valu
*
*
* bytes column_qualifier_regex_filter = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearColumnQualifierRegexFilter() {
if (filterCase_ == 6) {
@@ -7178,6 +7363,8 @@ public Builder clearColumnQualifierRegexFilter() {
*
*
* .google.bigtable.v2.ColumnRange column_range_filter = 7;
+ *
+ * @return Whether the columnRangeFilter field is set.
*/
public boolean hasColumnRangeFilter() {
return filterCase_ == 7;
@@ -7190,6 +7377,8 @@ public boolean hasColumnRangeFilter() {
*
*
* .google.bigtable.v2.ColumnRange column_range_filter = 7;
+ *
+ * @return The columnRangeFilter.
*/
public com.google.bigtable.v2.ColumnRange getColumnRangeFilter() {
if (columnRangeFilterBuilder_ == null) {
@@ -7378,6 +7567,8 @@ public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder
*
*
* .google.bigtable.v2.TimestampRange timestamp_range_filter = 8;
+ *
+ * @return Whether the timestampRangeFilter field is set.
*/
public boolean hasTimestampRangeFilter() {
return filterCase_ == 8;
@@ -7390,6 +7581,8 @@ public boolean hasTimestampRangeFilter() {
*
*
* .google.bigtable.v2.TimestampRange timestamp_range_filter = 8;
+ *
+ * @return The timestampRangeFilter.
*/
public com.google.bigtable.v2.TimestampRange getTimestampRangeFilter() {
if (timestampRangeFilterBuilder_ == null) {
@@ -7577,6 +7770,8 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB
*
*
* bytes value_regex_filter = 9;
+ *
+ * @return The valueRegexFilter.
*/
public com.google.protobuf.ByteString getValueRegexFilter() {
if (filterCase_ == 9) {
@@ -7596,6 +7791,9 @@ public com.google.protobuf.ByteString getValueRegexFilter() {
*
*
* bytes value_regex_filter = 9;
+ *
+ * @param value The valueRegexFilter to set.
+ * @return This builder for chaining.
*/
public Builder setValueRegexFilter(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -7618,6 +7816,8 @@ public Builder setValueRegexFilter(com.google.protobuf.ByteString value) {
*
*
* bytes value_regex_filter = 9;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValueRegexFilter() {
if (filterCase_ == 9) {
@@ -7641,6 +7841,8 @@ public Builder clearValueRegexFilter() {
*
*
* .google.bigtable.v2.ValueRange value_range_filter = 15;
+ *
+ * @return Whether the valueRangeFilter field is set.
*/
public boolean hasValueRangeFilter() {
return filterCase_ == 15;
@@ -7653,6 +7855,8 @@ public boolean hasValueRangeFilter() {
*
*
* .google.bigtable.v2.ValueRange value_range_filter = 15;
+ *
+ * @return The valueRangeFilter.
*/
public com.google.bigtable.v2.ValueRange getValueRangeFilter() {
if (valueRangeFilterBuilder_ == null) {
@@ -7837,6 +8041,8 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder()
*
*
* int32 cells_per_row_offset_filter = 10;
+ *
+ * @return The cellsPerRowOffsetFilter.
*/
public int getCellsPerRowOffsetFilter() {
if (filterCase_ == 10) {
@@ -7854,6 +8060,9 @@ public int getCellsPerRowOffsetFilter() {
*
*
* int32 cells_per_row_offset_filter = 10;
+ *
+ * @param value The cellsPerRowOffsetFilter to set.
+ * @return This builder for chaining.
*/
public Builder setCellsPerRowOffsetFilter(int value) {
filterCase_ = 10;
@@ -7871,6 +8080,8 @@ public Builder setCellsPerRowOffsetFilter(int value) {
*
*
* int32 cells_per_row_offset_filter = 10;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCellsPerRowOffsetFilter() {
if (filterCase_ == 10) {
@@ -7891,6 +8102,8 @@ public Builder clearCellsPerRowOffsetFilter() {
*
*
* int32 cells_per_row_limit_filter = 11;
+ *
+ * @return The cellsPerRowLimitFilter.
*/
public int getCellsPerRowLimitFilter() {
if (filterCase_ == 11) {
@@ -7908,6 +8121,9 @@ public int getCellsPerRowLimitFilter() {
*
*
* int32 cells_per_row_limit_filter = 11;
+ *
+ * @param value The cellsPerRowLimitFilter to set.
+ * @return This builder for chaining.
*/
public Builder setCellsPerRowLimitFilter(int value) {
filterCase_ = 11;
@@ -7925,6 +8141,8 @@ public Builder setCellsPerRowLimitFilter(int value) {
*
*
* int32 cells_per_row_limit_filter = 11;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCellsPerRowLimitFilter() {
if (filterCase_ == 11) {
@@ -7948,6 +8166,8 @@ public Builder clearCellsPerRowLimitFilter() {
*
*
* int32 cells_per_column_limit_filter = 12;
+ *
+ * @return The cellsPerColumnLimitFilter.
*/
public int getCellsPerColumnLimitFilter() {
if (filterCase_ == 12) {
@@ -7968,6 +8188,9 @@ public int getCellsPerColumnLimitFilter() {
*
*
* int32 cells_per_column_limit_filter = 12;
+ *
+ * @param value The cellsPerColumnLimitFilter to set.
+ * @return This builder for chaining.
*/
public Builder setCellsPerColumnLimitFilter(int value) {
filterCase_ = 12;
@@ -7988,6 +8211,8 @@ public Builder setCellsPerColumnLimitFilter(int value) {
*
*
* int32 cells_per_column_limit_filter = 12;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCellsPerColumnLimitFilter() {
if (filterCase_ == 12) {
@@ -8006,6 +8231,8 @@ public Builder clearCellsPerColumnLimitFilter() {
*
*
* bool strip_value_transformer = 13;
+ *
+ * @return The stripValueTransformer.
*/
public boolean getStripValueTransformer() {
if (filterCase_ == 13) {
@@ -8021,6 +8248,9 @@ public boolean getStripValueTransformer() {
*
*
* bool strip_value_transformer = 13;
+ *
+ * @param value The stripValueTransformer to set.
+ * @return This builder for chaining.
*/
public Builder setStripValueTransformer(boolean value) {
filterCase_ = 13;
@@ -8036,6 +8266,8 @@ public Builder setStripValueTransformer(boolean value) {
*
*
* bool strip_value_transformer = 13;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStripValueTransformer() {
if (filterCase_ == 13) {
@@ -8064,6 +8296,8 @@ public Builder clearStripValueTransformer() {
*
*
* string apply_label_transformer = 19;
+ *
+ * @return The applyLabelTransformer.
*/
public java.lang.String getApplyLabelTransformer() {
java.lang.Object ref = "";
@@ -8099,6 +8333,8 @@ public java.lang.String getApplyLabelTransformer() {
*
*
* string apply_label_transformer = 19;
+ *
+ * @return The bytes for applyLabelTransformer.
*/
public com.google.protobuf.ByteString getApplyLabelTransformerBytes() {
java.lang.Object ref = "";
@@ -8134,6 +8370,9 @@ public com.google.protobuf.ByteString getApplyLabelTransformerBytes() {
*
*
* string apply_label_transformer = 19;
+ *
+ * @param value The applyLabelTransformer to set.
+ * @return This builder for chaining.
*/
public Builder setApplyLabelTransformer(java.lang.String value) {
if (value == null) {
@@ -8162,6 +8401,8 @@ public Builder setApplyLabelTransformer(java.lang.String value) {
*
*
* string apply_label_transformer = 19;
+ *
+ * @return This builder for chaining.
*/
public Builder clearApplyLabelTransformer() {
if (filterCase_ == 19) {
@@ -8189,6 +8430,9 @@ public Builder clearApplyLabelTransformer() {
*
*
* string apply_label_transformer = 19;
+ *
+ * @param value The bytes for applyLabelTransformer to set.
+ * @return This builder for chaining.
*/
public Builder setApplyLabelTransformerBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java
index dc77ecb95b..3fdcc29561 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -32,6 +32,8 @@ public interface RowFilterOrBuilder
*
*
* .google.bigtable.v2.RowFilter.Chain chain = 1;
+ *
+ * @return Whether the chain field is set.
*/
boolean hasChain();
/**
@@ -43,6 +45,8 @@ public interface RowFilterOrBuilder
*
*
* .google.bigtable.v2.RowFilter.Chain chain = 1;
+ *
+ * @return The chain.
*/
com.google.bigtable.v2.RowFilter.Chain getChain();
/**
@@ -66,6 +70,8 @@ public interface RowFilterOrBuilder
*
*
* .google.bigtable.v2.RowFilter.Interleave interleave = 2;
+ *
+ * @return Whether the interleave field is set.
*/
boolean hasInterleave();
/**
@@ -77,6 +83,8 @@ public interface RowFilterOrBuilder
*
*
* .google.bigtable.v2.RowFilter.Interleave interleave = 2;
+ *
+ * @return The interleave.
*/
com.google.bigtable.v2.RowFilter.Interleave getInterleave();
/**
@@ -100,6 +108,8 @@ public interface RowFilterOrBuilder
*
*
* .google.bigtable.v2.RowFilter.Condition condition = 3;
+ *
+ * @return Whether the condition field is set.
*/
boolean hasCondition();
/**
@@ -111,6 +121,8 @@ public interface RowFilterOrBuilder
*
*
* .google.bigtable.v2.RowFilter.Condition condition = 3;
+ *
+ * @return The condition.
*/
com.google.bigtable.v2.RowFilter.Condition getCondition();
/**
@@ -186,6 +198,8 @@ public interface RowFilterOrBuilder
*
*
* bool sink = 16;
+ *
+ * @return The sink.
*/
boolean getSink();
@@ -198,6 +212,8 @@ public interface RowFilterOrBuilder
*
*
* bool pass_all_filter = 17;
+ *
+ * @return The passAllFilter.
*/
boolean getPassAllFilter();
@@ -210,6 +226,8 @@ public interface RowFilterOrBuilder
*
*
* bool block_all_filter = 18;
+ *
+ * @return The blockAllFilter.
*/
boolean getBlockAllFilter();
@@ -227,6 +245,8 @@ public interface RowFilterOrBuilder
*
*
* bytes row_key_regex_filter = 4;
+ *
+ * @return The rowKeyRegexFilter.
*/
com.google.protobuf.ByteString getRowKeyRegexFilter();
@@ -239,6 +259,8 @@ public interface RowFilterOrBuilder
*
*
* double row_sample_filter = 14;
+ *
+ * @return The rowSampleFilter.
*/
double getRowSampleFilter();
@@ -255,6 +277,8 @@ public interface RowFilterOrBuilder
*
*
* string family_name_regex_filter = 5;
+ *
+ * @return The familyNameRegexFilter.
*/
java.lang.String getFamilyNameRegexFilter();
/**
@@ -270,6 +294,8 @@ public interface RowFilterOrBuilder
*
*
* string family_name_regex_filter = 5;
+ *
+ * @return The bytes for familyNameRegexFilter.
*/
com.google.protobuf.ByteString getFamilyNameRegexFilterBytes();
@@ -286,6 +312,8 @@ public interface RowFilterOrBuilder
*
*
* bytes column_qualifier_regex_filter = 6;
+ *
+ * @return The columnQualifierRegexFilter.
*/
com.google.protobuf.ByteString getColumnQualifierRegexFilter();
@@ -297,6 +325,8 @@ public interface RowFilterOrBuilder
*
*
* .google.bigtable.v2.ColumnRange column_range_filter = 7;
+ *
+ * @return Whether the columnRangeFilter field is set.
*/
boolean hasColumnRangeFilter();
/**
@@ -307,6 +337,8 @@ public interface RowFilterOrBuilder
*
*
* .google.bigtable.v2.ColumnRange column_range_filter = 7;
+ *
+ * @return The columnRangeFilter.
*/
com.google.bigtable.v2.ColumnRange getColumnRangeFilter();
/**
@@ -328,6 +360,8 @@ public interface RowFilterOrBuilder
*
*
* .google.bigtable.v2.TimestampRange timestamp_range_filter = 8;
+ *
+ * @return Whether the timestampRangeFilter field is set.
*/
boolean hasTimestampRangeFilter();
/**
@@ -338,6 +372,8 @@ public interface RowFilterOrBuilder
*
*
* .google.bigtable.v2.TimestampRange timestamp_range_filter = 8;
+ *
+ * @return The timestampRangeFilter.
*/
com.google.bigtable.v2.TimestampRange getTimestampRangeFilter();
/**
@@ -363,6 +399,8 @@ public interface RowFilterOrBuilder
*
*
* bytes value_regex_filter = 9;
+ *
+ * @return The valueRegexFilter.
*/
com.google.protobuf.ByteString getValueRegexFilter();
@@ -374,6 +412,8 @@ public interface RowFilterOrBuilder
*
*
* .google.bigtable.v2.ValueRange value_range_filter = 15;
+ *
+ * @return Whether the valueRangeFilter field is set.
*/
boolean hasValueRangeFilter();
/**
@@ -384,6 +424,8 @@ public interface RowFilterOrBuilder
*
*
* .google.bigtable.v2.ValueRange value_range_filter = 15;
+ *
+ * @return The valueRangeFilter.
*/
com.google.bigtable.v2.ValueRange getValueRangeFilter();
/**
@@ -407,6 +449,8 @@ public interface RowFilterOrBuilder
*
*
* int32 cells_per_row_offset_filter = 10;
+ *
+ * @return The cellsPerRowOffsetFilter.
*/
int getCellsPerRowOffsetFilter();
@@ -420,6 +464,8 @@ public interface RowFilterOrBuilder
*
*
* int32 cells_per_row_limit_filter = 11;
+ *
+ * @return The cellsPerRowLimitFilter.
*/
int getCellsPerRowLimitFilter();
@@ -436,6 +482,8 @@ public interface RowFilterOrBuilder
*
*
* int32 cells_per_column_limit_filter = 12;
+ *
+ * @return The cellsPerColumnLimitFilter.
*/
int getCellsPerColumnLimitFilter();
@@ -447,6 +495,8 @@ public interface RowFilterOrBuilder
*
*
* bool strip_value_transformer = 13;
+ *
+ * @return The stripValueTransformer.
*/
boolean getStripValueTransformer();
@@ -468,6 +518,8 @@ public interface RowFilterOrBuilder
*
*
* string apply_label_transformer = 19;
+ *
+ * @return The applyLabelTransformer.
*/
java.lang.String getApplyLabelTransformer();
/**
@@ -488,6 +540,8 @@ public interface RowFilterOrBuilder
*
*
* string apply_label_transformer = 19;
+ *
+ * @return The bytes for applyLabelTransformer.
*/
com.google.protobuf.ByteString getApplyLabelTransformerBytes();
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java
index 291d17b033..c1943694c3 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -33,6 +33,8 @@ public interface RowOrBuilder
*
*
* bytes key = 1;
+ *
+ * @return The key.
*/
com.google.protobuf.ByteString getKey();
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
index 370c08cf20..64a517fa77 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private RowRange(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private RowRange() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RowRange();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private RowRange(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -122,7 +127,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int startKeyCase_ = 0;
private java.lang.Object startKey_;
- public enum StartKeyCase implements com.google.protobuf.Internal.EnumLite {
+ public enum StartKeyCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
START_KEY_CLOSED(1),
START_KEY_OPEN(2),
STARTKEY_NOT_SET(0);
@@ -131,7 +139,11 @@ public enum StartKeyCase implements com.google.protobuf.Internal.EnumLite {
private StartKeyCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static StartKeyCase valueOf(int value) {
return forNumber(value);
@@ -162,7 +174,10 @@ public StartKeyCase getStartKeyCase() {
private int endKeyCase_ = 0;
private java.lang.Object endKey_;
- public enum EndKeyCase implements com.google.protobuf.Internal.EnumLite {
+ public enum EndKeyCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
END_KEY_OPEN(3),
END_KEY_CLOSED(4),
ENDKEY_NOT_SET(0);
@@ -171,7 +186,11 @@ public enum EndKeyCase implements com.google.protobuf.Internal.EnumLite {
private EndKeyCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static EndKeyCase valueOf(int value) {
return forNumber(value);
@@ -208,6 +227,8 @@ public EndKeyCase getEndKeyCase() {
*
*
* bytes start_key_closed = 1;
+ *
+ * @return The startKeyClosed.
*/
public com.google.protobuf.ByteString getStartKeyClosed() {
if (startKeyCase_ == 1) {
@@ -225,6 +246,8 @@ public com.google.protobuf.ByteString getStartKeyClosed() {
*
*
* bytes start_key_open = 2;
+ *
+ * @return The startKeyOpen.
*/
public com.google.protobuf.ByteString getStartKeyOpen() {
if (startKeyCase_ == 2) {
@@ -242,6 +265,8 @@ public com.google.protobuf.ByteString getStartKeyOpen() {
*
*
* bytes end_key_open = 3;
+ *
+ * @return The endKeyOpen.
*/
public com.google.protobuf.ByteString getEndKeyOpen() {
if (endKeyCase_ == 3) {
@@ -259,6 +284,8 @@ public com.google.protobuf.ByteString getEndKeyOpen() {
*
*
* bytes end_key_closed = 4;
+ *
+ * @return The endKeyClosed.
*/
public com.google.protobuf.ByteString getEndKeyClosed() {
if (endKeyCase_ == 4) {
@@ -727,6 +754,8 @@ public Builder clearEndKey() {
*
*
* bytes start_key_closed = 1;
+ *
+ * @return The startKeyClosed.
*/
public com.google.protobuf.ByteString getStartKeyClosed() {
if (startKeyCase_ == 1) {
@@ -742,6 +771,9 @@ public com.google.protobuf.ByteString getStartKeyClosed() {
*
*
* bytes start_key_closed = 1;
+ *
+ * @param value The startKeyClosed to set.
+ * @return This builder for chaining.
*/
public Builder setStartKeyClosed(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -760,6 +792,8 @@ public Builder setStartKeyClosed(com.google.protobuf.ByteString value) {
*
*
* bytes start_key_closed = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStartKeyClosed() {
if (startKeyCase_ == 1) {
@@ -778,6 +812,8 @@ public Builder clearStartKeyClosed() {
*
*
* bytes start_key_open = 2;
+ *
+ * @return The startKeyOpen.
*/
public com.google.protobuf.ByteString getStartKeyOpen() {
if (startKeyCase_ == 2) {
@@ -793,6 +829,9 @@ public com.google.protobuf.ByteString getStartKeyOpen() {
*
*
* bytes start_key_open = 2;
+ *
+ * @param value The startKeyOpen to set.
+ * @return This builder for chaining.
*/
public Builder setStartKeyOpen(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -811,6 +850,8 @@ public Builder setStartKeyOpen(com.google.protobuf.ByteString value) {
*
*
* bytes start_key_open = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStartKeyOpen() {
if (startKeyCase_ == 2) {
@@ -829,6 +870,8 @@ public Builder clearStartKeyOpen() {
*
*
* bytes end_key_open = 3;
+ *
+ * @return The endKeyOpen.
*/
public com.google.protobuf.ByteString getEndKeyOpen() {
if (endKeyCase_ == 3) {
@@ -844,6 +887,9 @@ public com.google.protobuf.ByteString getEndKeyOpen() {
*
*
* bytes end_key_open = 3;
+ *
+ * @param value The endKeyOpen to set.
+ * @return This builder for chaining.
*/
public Builder setEndKeyOpen(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -862,6 +908,8 @@ public Builder setEndKeyOpen(com.google.protobuf.ByteString value) {
*
*
* bytes end_key_open = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEndKeyOpen() {
if (endKeyCase_ == 3) {
@@ -880,6 +928,8 @@ public Builder clearEndKeyOpen() {
*
*
* bytes end_key_closed = 4;
+ *
+ * @return The endKeyClosed.
*/
public com.google.protobuf.ByteString getEndKeyClosed() {
if (endKeyCase_ == 4) {
@@ -895,6 +945,9 @@ public com.google.protobuf.ByteString getEndKeyClosed() {
*
*
* bytes end_key_closed = 4;
+ *
+ * @param value The endKeyClosed to set.
+ * @return This builder for chaining.
*/
public Builder setEndKeyClosed(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -913,6 +966,8 @@ public Builder setEndKeyClosed(com.google.protobuf.ByteString value) {
*
*
* bytes end_key_closed = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEndKeyClosed() {
if (endKeyCase_ == 4) {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java
index c4d7738031..c7fd2cf99a 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface RowRangeOrBuilder
*
*
* bytes start_key_closed = 1;
+ *
+ * @return The startKeyClosed.
*/
com.google.protobuf.ByteString getStartKeyClosed();
@@ -42,6 +44,8 @@ public interface RowRangeOrBuilder
*
*
* bytes start_key_open = 2;
+ *
+ * @return The startKeyOpen.
*/
com.google.protobuf.ByteString getStartKeyOpen();
@@ -53,6 +57,8 @@ public interface RowRangeOrBuilder
*
*
* bytes end_key_open = 3;
+ *
+ * @return The endKeyOpen.
*/
com.google.protobuf.ByteString getEndKeyOpen();
@@ -64,6 +70,8 @@ public interface RowRangeOrBuilder
*
*
* bytes end_key_closed = 4;
+ *
+ * @return The endKeyClosed.
*/
com.google.protobuf.ByteString getEndKeyClosed();
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java
index b36ee49c6c..e05832a05f 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -42,6 +42,12 @@ private RowSet() {
rowRanges_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RowSet();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -133,6 +139,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* repeated bytes row_keys = 1;
+ *
+ * @return A list containing the rowKeys.
*/
public java.util.List getRowKeysList() {
return rowKeys_;
@@ -145,6 +153,8 @@ public java.util.List getRowKeysList() {
*
*
* repeated bytes row_keys = 1;
+ *
+ * @return The count of rowKeys.
*/
public int getRowKeysCount() {
return rowKeys_.size();
@@ -157,6 +167,9 @@ public int getRowKeysCount() {
*
*
* repeated bytes row_keys = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The rowKeys at the given index.
*/
public com.google.protobuf.ByteString getRowKeys(int index) {
return rowKeys_.get(index);
@@ -628,6 +641,8 @@ private void ensureRowKeysIsMutable() {
*
*
* repeated bytes row_keys = 1;
+ *
+ * @return A list containing the rowKeys.
*/
public java.util.List getRowKeysList() {
return ((bitField0_ & 0x00000001) != 0)
@@ -642,6 +657,8 @@ public java.util.List getRowKeysList() {
*
*
* repeated bytes row_keys = 1;
+ *
+ * @return The count of rowKeys.
*/
public int getRowKeysCount() {
return rowKeys_.size();
@@ -654,6 +671,9 @@ public int getRowKeysCount() {
*
*
* repeated bytes row_keys = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The rowKeys at the given index.
*/
public com.google.protobuf.ByteString getRowKeys(int index) {
return rowKeys_.get(index);
@@ -666,6 +686,10 @@ public com.google.protobuf.ByteString getRowKeys(int index) {
*
*
* repeated bytes row_keys = 1;
+ *
+ * @param index The index to set the value at.
+ * @param value The rowKeys to set.
+ * @return This builder for chaining.
*/
public Builder setRowKeys(int index, com.google.protobuf.ByteString value) {
if (value == null) {
@@ -684,6 +708,9 @@ public Builder setRowKeys(int index, com.google.protobuf.ByteString value) {
*
*
* repeated bytes row_keys = 1;
+ *
+ * @param value The rowKeys to add.
+ * @return This builder for chaining.
*/
public Builder addRowKeys(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -702,6 +729,9 @@ public Builder addRowKeys(com.google.protobuf.ByteString value) {
*
*
* repeated bytes row_keys = 1;
+ *
+ * @param values The rowKeys to add.
+ * @return This builder for chaining.
*/
public Builder addAllRowKeys(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
@@ -718,6 +748,8 @@ public Builder addAllRowKeys(
*
*
* repeated bytes row_keys = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowKeys() {
rowKeys_ = java.util.Collections.emptyList();
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java
index 012b79a513..31f8fb9677 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface RowSetOrBuilder
*
*
* repeated bytes row_keys = 1;
+ *
+ * @return A list containing the rowKeys.
*/
java.util.List getRowKeysList();
/**
@@ -41,6 +43,8 @@ public interface RowSetOrBuilder
*
*
* repeated bytes row_keys = 1;
+ *
+ * @return The count of rowKeys.
*/
int getRowKeysCount();
/**
@@ -51,6 +55,9 @@ public interface RowSetOrBuilder
*
*
* repeated bytes row_keys = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The rowKeys at the given index.
*/
com.google.protobuf.ByteString getRowKeys(int index);
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java
index 3f51474cc0..725cbc413a 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -42,6 +42,12 @@ private SampleRowKeysRequest() {
appProfileId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SampleRowKeysRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private SampleRowKeysRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -120,12 +125,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * The unique name of the table from which to sample row keys.
+ * Required. The unique name of the table from which to sample row keys.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
@@ -142,12 +151,16 @@ public java.lang.String getTableName() {
*
*
*
- * The unique name of the table from which to sample row keys.
+ * Required. The unique name of the table from which to sample row keys.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
public com.google.protobuf.ByteString getTableNameBytes() {
java.lang.Object ref = tableName_;
@@ -172,6 +185,8 @@ public com.google.protobuf.ByteString getTableNameBytes() {
*
*
* string app_profile_id = 2;
+ *
+ * @return The appProfileId.
*/
public java.lang.String getAppProfileId() {
java.lang.Object ref = appProfileId_;
@@ -193,6 +208,8 @@ public java.lang.String getAppProfileId() {
*
*
* string app_profile_id = 2;
+ *
+ * @return The bytes for appProfileId.
*/
public com.google.protobuf.ByteString getAppProfileIdBytes() {
java.lang.Object ref = appProfileId_;
@@ -543,12 +560,16 @@ public Builder mergeFrom(
*
*
*
- * The unique name of the table from which to sample row keys.
+ * Required. The unique name of the table from which to sample row keys.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
@@ -565,12 +586,16 @@ public java.lang.String getTableName() {
*
*
*
- * The unique name of the table from which to sample row keys.
+ * Required. The unique name of the table from which to sample row keys.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
public com.google.protobuf.ByteString getTableNameBytes() {
java.lang.Object ref = tableName_;
@@ -587,12 +612,17 @@ public com.google.protobuf.ByteString getTableNameBytes() {
*
*
*
- * The unique name of the table from which to sample row keys.
+ * Required. The unique name of the table from which to sample row keys.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The tableName to set.
+ * @return This builder for chaining.
*/
public Builder setTableName(java.lang.String value) {
if (value == null) {
@@ -607,12 +637,16 @@ public Builder setTableName(java.lang.String value) {
*
*
*
- * The unique name of the table from which to sample row keys.
+ * Required. The unique name of the table from which to sample row keys.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
*/
public Builder clearTableName() {
@@ -624,12 +658,17 @@ public Builder clearTableName() {
*
*
*
- * The unique name of the table from which to sample row keys.
+ * Required. The unique name of the table from which to sample row keys.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for tableName to set.
+ * @return This builder for chaining.
*/
public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -652,6 +691,8 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
*
*
* string app_profile_id = 2;
+ *
+ * @return The appProfileId.
*/
public java.lang.String getAppProfileId() {
java.lang.Object ref = appProfileId_;
@@ -673,6 +714,8 @@ public java.lang.String getAppProfileId() {
*
*
* string app_profile_id = 2;
+ *
+ * @return The bytes for appProfileId.
*/
public com.google.protobuf.ByteString getAppProfileIdBytes() {
java.lang.Object ref = appProfileId_;
@@ -694,6 +737,9 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
*
*
* string app_profile_id = 2;
+ *
+ * @param value The appProfileId to set.
+ * @return This builder for chaining.
*/
public Builder setAppProfileId(java.lang.String value) {
if (value == null) {
@@ -713,6 +759,8 @@ public Builder setAppProfileId(java.lang.String value) {
*
*
* string app_profile_id = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAppProfileId() {
@@ -729,6 +777,9 @@ public Builder clearAppProfileId() {
*
*
* string app_profile_id = 2;
+ *
+ * @param value The bytes for appProfileId to set.
+ * @return This builder for chaining.
*/
public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java
index 1a339b22c7..530f63e413 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -27,24 +27,32 @@ public interface SampleRowKeysRequestOrBuilder
*
*
*
- * The unique name of the table from which to sample row keys.
+ * Required. The unique name of the table from which to sample row keys.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tableName.
*/
java.lang.String getTableName();
/**
*
*
*
- * The unique name of the table from which to sample row keys.
+ * Required. The unique name of the table from which to sample row keys.
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>`.
*
*
- * string table_name = 1;
+ *
+ * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tableName.
*/
com.google.protobuf.ByteString getTableNameBytes();
@@ -57,6 +65,8 @@ public interface SampleRowKeysRequestOrBuilder
*
*
* string app_profile_id = 2;
+ *
+ * @return The appProfileId.
*/
java.lang.String getAppProfileId();
/**
@@ -68,6 +78,8 @@ public interface SampleRowKeysRequestOrBuilder
*
*
* string app_profile_id = 2;
+ *
+ * @return The bytes for appProfileId.
*/
com.google.protobuf.ByteString getAppProfileIdBytes();
}
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java
index 3e76ffb659..08f42af0f0 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -41,6 +41,12 @@ private SampleRowKeysResponse() {
rowKey_ = com.google.protobuf.ByteString.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SampleRowKeysResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private SampleRowKeysResponse(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -125,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bytes row_key = 1;
+ *
+ * @return The rowKey.
*/
public com.google.protobuf.ByteString getRowKey() {
return rowKey_;
@@ -143,6 +150,8 @@ public com.google.protobuf.ByteString getRowKey() {
*
*
* int64 offset_bytes = 2;
+ *
+ * @return The offsetBytes.
*/
public long getOffsetBytes() {
return offsetBytes_;
@@ -493,6 +502,8 @@ public Builder mergeFrom(
*
*
* bytes row_key = 1;
+ *
+ * @return The rowKey.
*/
public com.google.protobuf.ByteString getRowKey() {
return rowKey_;
@@ -511,6 +522,9 @@ public com.google.protobuf.ByteString getRowKey() {
*
*
* bytes row_key = 1;
+ *
+ * @param value The rowKey to set.
+ * @return This builder for chaining.
*/
public Builder setRowKey(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -535,6 +549,8 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
*
*
* bytes row_key = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowKey() {
@@ -555,6 +571,8 @@ public Builder clearRowKey() {
*
*
* int64 offset_bytes = 2;
+ *
+ * @return The offsetBytes.
*/
public long getOffsetBytes() {
return offsetBytes_;
@@ -570,6 +588,9 @@ public long getOffsetBytes() {
*
*
* int64 offset_bytes = 2;
+ *
+ * @param value The offsetBytes to set.
+ * @return This builder for chaining.
*/
public Builder setOffsetBytes(long value) {
@@ -588,6 +609,8 @@ public Builder setOffsetBytes(long value) {
*
*
* int64 offset_bytes = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearOffsetBytes() {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java
index c59a053453..a6dac71fbb 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -37,6 +37,8 @@ public interface SampleRowKeysResponseOrBuilder
*
*
* bytes row_key = 1;
+ *
+ * @return The rowKey.
*/
com.google.protobuf.ByteString getRowKey();
@@ -51,6 +53,8 @@ public interface SampleRowKeysResponseOrBuilder
*
*
* int64 offset_bytes = 2;
+ *
+ * @return The offsetBytes.
*/
long getOffsetBytes();
}
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java
index cb4051b1db..013bdf8eaf 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class TableName implements ResourceName {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
index 37f7cf1f63..c7012c6941 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private TimestampRange(com.google.protobuf.GeneratedMessageV3.Builder> builder
private TimestampRange() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TimestampRange();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private TimestampRange(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int64 start_timestamp_micros = 1;
+ *
+ * @return The startTimestampMicros.
*/
public long getStartTimestampMicros() {
return startTimestampMicros_;
@@ -132,6 +139,8 @@ public long getStartTimestampMicros() {
*
*
* int64 end_timestamp_micros = 2;
+ *
+ * @return The endTimestampMicros.
*/
public long getEndTimestampMicros() {
return endTimestampMicros_;
@@ -474,6 +483,8 @@ public Builder mergeFrom(
*
*
* int64 start_timestamp_micros = 1;
+ *
+ * @return The startTimestampMicros.
*/
public long getStartTimestampMicros() {
return startTimestampMicros_;
@@ -486,6 +497,9 @@ public long getStartTimestampMicros() {
*
*
* int64 start_timestamp_micros = 1;
+ *
+ * @param value The startTimestampMicros to set.
+ * @return This builder for chaining.
*/
public Builder setStartTimestampMicros(long value) {
@@ -501,6 +515,8 @@ public Builder setStartTimestampMicros(long value) {
*
*
* int64 start_timestamp_micros = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStartTimestampMicros() {
@@ -518,6 +534,8 @@ public Builder clearStartTimestampMicros() {
*
*
* int64 end_timestamp_micros = 2;
+ *
+ * @return The endTimestampMicros.
*/
public long getEndTimestampMicros() {
return endTimestampMicros_;
@@ -530,6 +548,9 @@ public long getEndTimestampMicros() {
*
*
* int64 end_timestamp_micros = 2;
+ *
+ * @param value The endTimestampMicros to set.
+ * @return This builder for chaining.
*/
public Builder setEndTimestampMicros(long value) {
@@ -545,6 +566,8 @@ public Builder setEndTimestampMicros(long value) {
*
*
* int64 end_timestamp_micros = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEndTimestampMicros() {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java
index 06ccd0ad0e..a531978ae1 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface TimestampRangeOrBuilder
*
*
* int64 start_timestamp_micros = 1;
+ *
+ * @return The startTimestampMicros.
*/
long getStartTimestampMicros();
@@ -42,6 +44,8 @@ public interface TimestampRangeOrBuilder
*
*
* int64 end_timestamp_micros = 2;
+ *
+ * @return The endTimestampMicros.
*/
long getEndTimestampMicros();
}
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java
index 4d193d5b2f..c76abad2cf 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -39,6 +39,12 @@ private ValueRange(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private ValueRange() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ValueRange();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private ValueRange(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -124,7 +129,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int startValueCase_ = 0;
private java.lang.Object startValue_;
- public enum StartValueCase implements com.google.protobuf.Internal.EnumLite {
+ public enum StartValueCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
START_VALUE_CLOSED(1),
START_VALUE_OPEN(2),
STARTVALUE_NOT_SET(0);
@@ -133,7 +141,11 @@ public enum StartValueCase implements com.google.protobuf.Internal.EnumLite {
private StartValueCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static StartValueCase valueOf(int value) {
return forNumber(value);
@@ -164,7 +176,10 @@ public StartValueCase getStartValueCase() {
private int endValueCase_ = 0;
private java.lang.Object endValue_;
- public enum EndValueCase implements com.google.protobuf.Internal.EnumLite {
+ public enum EndValueCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
END_VALUE_CLOSED(3),
END_VALUE_OPEN(4),
ENDVALUE_NOT_SET(0);
@@ -173,7 +188,11 @@ public enum EndValueCase implements com.google.protobuf.Internal.EnumLite {
private EndValueCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static EndValueCase valueOf(int value) {
return forNumber(value);
@@ -210,6 +229,8 @@ public EndValueCase getEndValueCase() {
*
*
* bytes start_value_closed = 1;
+ *
+ * @return The startValueClosed.
*/
public com.google.protobuf.ByteString getStartValueClosed() {
if (startValueCase_ == 1) {
@@ -227,6 +248,8 @@ public com.google.protobuf.ByteString getStartValueClosed() {
*
*
* bytes start_value_open = 2;
+ *
+ * @return The startValueOpen.
*/
public com.google.protobuf.ByteString getStartValueOpen() {
if (startValueCase_ == 2) {
@@ -244,6 +267,8 @@ public com.google.protobuf.ByteString getStartValueOpen() {
*
*
* bytes end_value_closed = 3;
+ *
+ * @return The endValueClosed.
*/
public com.google.protobuf.ByteString getEndValueClosed() {
if (endValueCase_ == 3) {
@@ -261,6 +286,8 @@ public com.google.protobuf.ByteString getEndValueClosed() {
*
*
* bytes end_value_open = 4;
+ *
+ * @return The endValueOpen.
*/
public com.google.protobuf.ByteString getEndValueOpen() {
if (endValueCase_ == 4) {
@@ -730,6 +757,8 @@ public Builder clearEndValue() {
*
*
* bytes start_value_closed = 1;
+ *
+ * @return The startValueClosed.
*/
public com.google.protobuf.ByteString getStartValueClosed() {
if (startValueCase_ == 1) {
@@ -745,6 +774,9 @@ public com.google.protobuf.ByteString getStartValueClosed() {
*
*
* bytes start_value_closed = 1;
+ *
+ * @param value The startValueClosed to set.
+ * @return This builder for chaining.
*/
public Builder setStartValueClosed(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -763,6 +795,8 @@ public Builder setStartValueClosed(com.google.protobuf.ByteString value) {
*
*
* bytes start_value_closed = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStartValueClosed() {
if (startValueCase_ == 1) {
@@ -781,6 +815,8 @@ public Builder clearStartValueClosed() {
*
*
* bytes start_value_open = 2;
+ *
+ * @return The startValueOpen.
*/
public com.google.protobuf.ByteString getStartValueOpen() {
if (startValueCase_ == 2) {
@@ -796,6 +832,9 @@ public com.google.protobuf.ByteString getStartValueOpen() {
*
*
* bytes start_value_open = 2;
+ *
+ * @param value The startValueOpen to set.
+ * @return This builder for chaining.
*/
public Builder setStartValueOpen(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -814,6 +853,8 @@ public Builder setStartValueOpen(com.google.protobuf.ByteString value) {
*
*
* bytes start_value_open = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStartValueOpen() {
if (startValueCase_ == 2) {
@@ -832,6 +873,8 @@ public Builder clearStartValueOpen() {
*
*
* bytes end_value_closed = 3;
+ *
+ * @return The endValueClosed.
*/
public com.google.protobuf.ByteString getEndValueClosed() {
if (endValueCase_ == 3) {
@@ -847,6 +890,9 @@ public com.google.protobuf.ByteString getEndValueClosed() {
*
*
* bytes end_value_closed = 3;
+ *
+ * @param value The endValueClosed to set.
+ * @return This builder for chaining.
*/
public Builder setEndValueClosed(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -865,6 +911,8 @@ public Builder setEndValueClosed(com.google.protobuf.ByteString value) {
*
*
* bytes end_value_closed = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEndValueClosed() {
if (endValueCase_ == 3) {
@@ -883,6 +931,8 @@ public Builder clearEndValueClosed() {
*
*
* bytes end_value_open = 4;
+ *
+ * @return The endValueOpen.
*/
public com.google.protobuf.ByteString getEndValueOpen() {
if (endValueCase_ == 4) {
@@ -898,6 +948,9 @@ public com.google.protobuf.ByteString getEndValueOpen() {
*
*
* bytes end_value_open = 4;
+ *
+ * @param value The endValueOpen to set.
+ * @return This builder for chaining.
*/
public Builder setEndValueOpen(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -916,6 +969,8 @@ public Builder setEndValueOpen(com.google.protobuf.ByteString value) {
*
*
* bytes end_value_open = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEndValueOpen() {
if (endValueCase_ == 4) {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java
index 30241195f8..f3b39c83dd 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * 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.
@@ -31,6 +31,8 @@ public interface ValueRangeOrBuilder
*
*
* bytes start_value_closed = 1;
+ *
+ * @return The startValueClosed.
*/
com.google.protobuf.ByteString getStartValueClosed();
@@ -42,6 +44,8 @@ public interface ValueRangeOrBuilder
*
*
* bytes start_value_open = 2;
+ *
+ * @return The startValueOpen.
*/
com.google.protobuf.ByteString getStartValueOpen();
@@ -53,6 +57,8 @@ public interface ValueRangeOrBuilder
*
*
* bytes end_value_closed = 3;
+ *
+ * @return The endValueClosed.
*/
com.google.protobuf.ByteString getEndValueClosed();
@@ -64,6 +70,8 @@ public interface ValueRangeOrBuilder
*
*
* bytes end_value_open = 4;
+ *
+ * @return The endValueOpen.
*/
com.google.protobuf.ByteString getEndValueOpen();
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 0ab763ba6e..c54225ed3f 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
@@ -1,4 +1,4 @@
-// Copyright 2018 Google Inc.
+// Copyright 2019 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,6 +17,9 @@ syntax = "proto3";
package google.bigtable.v2;
import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
import "google/bigtable/v2/data.proto";
import "google/protobuf/wrappers.proto";
import "google/rpc/status.proto";
@@ -27,9 +30,22 @@ option java_multiple_files = true;
option java_outer_classname = "BigtableProto";
option java_package = "com.google.bigtable.v2";
option php_namespace = "Google\\Cloud\\Bigtable\\V2";
+option (google.api.resource_definition) = {
+ type: "bigtable.googleapis.com/Table"
+ pattern: "projects/{project}/instances/{instance}/tables/{table}"
+};
// Service for reading from and writing to existing Bigtable tables.
service Bigtable {
+ option (google.api.default_host) = "bigtable.googleapis.com";
+ option (google.api.oauth_scopes) =
+ "https://www.googleapis.com/auth/bigtable.data,"
+ "https://www.googleapis.com/auth/bigtable.data.readonly,"
+ "https://www.googleapis.com/auth/cloud-bigtable.data,"
+ "https://www.googleapis.com/auth/cloud-bigtable.data.readonly,"
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/cloud-platform.read-only";
+
// Streams back the contents of all requested rows in key order, optionally
// applying the same Reader filter to each. Depending on their size,
// rows and cells may be broken up across multiple responses, but
@@ -40,17 +56,20 @@ service Bigtable {
post: "/v2/{table_name=projects/*/instances/*/tables/*}:readRows"
body: "*"
};
+ option (google.api.method_signature) = "table_name";
+ option (google.api.method_signature) = "table_name,app_profile_id";
}
// Returns a sample of row keys in the table. The returned row keys will
// 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"
};
+ option (google.api.method_signature) = "table_name";
+ option (google.api.method_signature) = "table_name,app_profile_id";
}
// Mutates a row atomically. Cells already present in the row are left
@@ -60,6 +79,8 @@ service Bigtable {
post: "/v2/{table_name=projects/*/instances/*/tables/*}:mutateRow"
body: "*"
};
+ option (google.api.method_signature) = "table_name,row_key,mutations";
+ option (google.api.method_signature) = "table_name,row_key,mutations,app_profile_id";
}
// Mutates multiple rows in a batch. Each individual row is mutated
@@ -70,15 +91,18 @@ service Bigtable {
post: "/v2/{table_name=projects/*/instances/*/tables/*}:mutateRows"
body: "*"
};
+ 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: "*"
};
+ 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";
}
// Modifies a row atomically on the server. The method reads the latest
@@ -86,21 +110,27 @@ 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: "*"
};
+ option (google.api.method_signature) = "table_name,row_key,rules";
+ option (google.api.method_signature) = "table_name,row_key,rules,app_profile_id";
}
}
// Request message for Bigtable.ReadRows.
message ReadRowsRequest {
- // The unique name of the table from which to read.
+ // Required. The unique name of the table from which to read.
// Values are of the form
// `projects//instances//tables/`.
- string table_name = 1;
+ string table_name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "bigtable.googleapis.com/Table"
+ }
+ ];
// This value specifies routing for replication. If not specified, the
// "default" application profile will be used.
@@ -172,6 +202,7 @@ message ReadRowsResponse {
// to pre-allocate memory to hold the full cell value.
int32 value_size = 7;
+ // Signals to the client concerning previous CellChunks received.
oneof row_status {
// Indicates that the client should drop all previous chunks for
// `row_key`, as it will be re-read from the beginning.
@@ -183,6 +214,7 @@ message ReadRowsResponse {
}
}
+ // A collection of a row's contents as part of the read request.
repeated CellChunk chunks = 1;
// Optionally the server might return the row key of the last row it
@@ -197,10 +229,15 @@ message ReadRowsResponse {
// Request message for Bigtable.SampleRowKeys.
message SampleRowKeysRequest {
- // The unique name of the table from which to sample row keys.
+ // Required. The unique name of the table from which to sample row keys.
// Values are of the form
// `projects//instances//tables/`.
- string table_name = 1;
+ string table_name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "bigtable.googleapis.com/Table"
+ }
+ ];
// This value specifies routing for replication. If not specified, the
// "default" application profile will be used.
@@ -227,57 +264,71 @@ message SampleRowKeysResponse {
// Request message for Bigtable.MutateRow.
message MutateRowRequest {
- // The unique name of the table to which the mutation should be applied.
+ // 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;
+ string table_name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "bigtable.googleapis.com/Table"
+ }
+ ];
// This value specifies routing for replication. If not specified, the
// "default" application profile will be used.
string app_profile_id = 4;
- // The key of the row to which the mutation should be applied.
- bytes row_key = 2;
+ // Required. The key of the row to which the mutation should be applied.
+ bytes row_key = 2 [(google.api.field_behavior) = REQUIRED];
- // Changes to be atomically applied to the specified row. Entries are applied
+ // 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;
+ 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 {
+ // A mutation for a given row.
message Entry {
// The key of the row to which the `mutations` should be applied.
bytes row_key = 1;
- // Changes to be atomically applied to the specified row. Mutations are
+ // 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;
+ repeated Mutation mutations = 2 [(google.api.field_behavior) = REQUIRED];
}
- // The unique name of the table to which the mutations should be applied.
- string table_name = 1;
+ // 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) = {
+ type: "bigtable.googleapis.com/Table"
+ }
+ ];
// This value specifies routing for replication. If not specified, the
// "default" application profile will be used.
string app_profile_id = 3;
- // The row keys and corresponding mutations to be applied in bulk.
+ // Required. The row keys and corresponding mutations to be applied in bulk.
// Each entry is applied as an atomic mutation, but the entries may be
// applied in arbitrary order (even between entries for the same row).
// At least one entry must be specified, and in total the entries can
// contain at most 100000 mutations.
- repeated Entry entries = 2;
+ repeated Entry entries = 2 [(google.api.field_behavior) = REQUIRED];
}
// Response message for BigtableService.MutateRows.
message MutateRowsResponse {
+ // The result of applying a passed mutation in the original request.
message Entry {
// The index into the original request's `entries` list of the Entry
// for which a result is being reported.
@@ -296,18 +347,23 @@ message MutateRowsResponse {
// Request message for Bigtable.CheckAndMutateRow.
message CheckAndMutateRowRequest {
- // The unique name of the table to which the conditional mutation should be
+ // 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;
+ string table_name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "bigtable.googleapis.com/Table"
+ }
+ ];
// This value specifies routing for replication. If not specified, the
// "default" application profile will be used.
string app_profile_id = 7;
- // The key of the row to which the conditional mutation should be applied.
- bytes row_key = 2;
+ // 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
// on whether or not any results are yielded, either `true_mutations` or
@@ -339,23 +395,28 @@ message CheckAndMutateRowResponse {
// Request message for Bigtable.ReadModifyWriteRow.
message ReadModifyWriteRowRequest {
- // The unique name of the table to which the read/modify/write rules should be
+ // 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;
+ string table_name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "bigtable.googleapis.com/Table"
+ }
+ ];
// This value specifies routing for replication. If not specified, the
// "default" application profile will be used.
string app_profile_id = 4;
- // The key of the row to which the read/modify/write rules should be applied.
- bytes row_key = 2;
+ // 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];
- // Rules specifying how the specified row's contents are to be transformed
+ // 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;
+ 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/data.proto b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto
index d0aab0b63f..8fd0c15cb3 100644
--- a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto
+++ b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto
@@ -1,4 +1,4 @@
-// Copyright 2018 Google Inc.
+// Copyright 2019 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -11,6 +11,7 @@
// 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.
+//
syntax = "proto3";
@@ -485,7 +486,9 @@ message Mutation {
}
// A Mutation which deletes all cells from the containing row.
- message DeleteFromRow {}
+ message DeleteFromRow {
+
+ }
// Which of the possible Mutation types to apply.
oneof mutation {
diff --git a/renovate.json b/renovate.json
index f3a70c9703..a5cdff45c3 100644
--- a/renovate.json
+++ b/renovate.json
@@ -58,6 +58,12 @@
"^com.google.cloud:google-cloud-"
],
"ignoreUnstable": false
+ },
+ {
+ "packagePatterns": [
+ "^com.fasterxml.jackson.core"
+ ],
+ "groupName": "jackson dependencies"
}
],
"semanticCommits": true
diff --git a/synth.metadata b/synth.metadata
index 3b7fe802cc..abd60ebb98 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -1,19 +1,20 @@
{
- "updateTime": "2019-10-26T07:53:02.643440Z",
+ "updateTime": "2020-01-23T08:37:14.998875Z",
"sources": [
{
"generator": {
"name": "artman",
- "version": "0.40.3",
- "dockerImage": "googleapis/artman@sha256:c805f50525f5f557886c94ab76f56eaa09cb1da58c3ee95111fd34259376621a"
+ "version": "0.44.1",
+ "dockerImage": "googleapis/artman@sha256:5599b61e56a372d21b671969ee915fbca0f6c3a0daaeb898d01f8f685f1bbc8b"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "d27a44798506d28e8e6d874bd128da43f45f74c4",
- "internalRef": "276716410"
+ "sha": "8d16f76de065f530d395a4c7eabbf766d6a120fd",
+ "internalRef": "291008516",
+ "log": "8d16f76de065f530d395a4c7eabbf766d6a120fd\nGenerate Memcache v1beta2 API protos and gRPC ServiceConfig files\n\nPiperOrigin-RevId: 291008516\n\n3af1dabd93df9a9f17bf3624d3b875c11235360b\ngrafeas: Add containeranalysis default_host to Grafeas service\n\nPiperOrigin-RevId: 290965849\n\nbe2663fa95e31cba67d0cd62611a6674db9f74b7\nfix(google/maps/roads): add missing opening bracket\n\nPiperOrigin-RevId: 290964086\n\nfacc26550a0af0696e0534bc9cae9df14275aa7c\nUpdating v2 protos with the latest inline documentation (in comments) and adding a per-service .yaml file.\n\nPiperOrigin-RevId: 290952261\n\ncda99c1f7dc5e4ca9b1caeae1dc330838cbc1461\nChange api_name to 'asset' for v1p1beta1\n\nPiperOrigin-RevId: 290800639\n\n94e9e90c303a820ce40643d9129e7f0d2054e8a1\nAdds Google Maps Road service\n\nPiperOrigin-RevId: 290795667\n\na3b23dcb2eaecce98c600c7d009451bdec52dbda\nrpc: new message ErrorInfo, other comment updates\n\nPiperOrigin-RevId: 290781668\n\n26420ef4e46c37f193c0fbe53d6ebac481de460e\nAdd proto definition for Org Policy v1.\n\nPiperOrigin-RevId: 290771923\n\n7f0dab8177cf371ae019a082e2512de7ac102888\nPublish Routes Preferred API v1 service definitions.\n\nPiperOrigin-RevId: 290326986\n\nad6e508d0728e1d1bca6e3f328cd562718cb772d\nFix: Qualify resource type references with \"jobs.googleapis.com/\"\n\nPiperOrigin-RevId: 290285762\n\n58e770d568a2b78168ddc19a874178fee8265a9d\ncts client library\n\nPiperOrigin-RevId: 290146169\n\naf9daa4c3b4c4a8b7133b81588dd9ffd37270af2\nAdd more programming language options to public proto\n\nPiperOrigin-RevId: 290144091\n\nd9f2bbf2df301ef84641d4cec7c828736a0bd907\ntalent: add missing resource.proto dep to Bazel build target\n\nPiperOrigin-RevId: 290143164\n\n3b3968237451d027b42471cd28884a5a1faed6c7\nAnnotate Talent API.\nAdd gRPC service config for retry.\nUpdate bazel file with google.api.resource dependency.\n\nPiperOrigin-RevId: 290125172\n\n"
}
},
{
@@ -45,5 +46,1372 @@
"config": "google/bigtable/admin/artman_bigtableadmin.yaml"
}
}
+ ],
+ "newFiles": [
+ {
+ "path": ".github/ISSUE_TEMPLATE/bug_report.md"
+ },
+ {
+ "path": ".github/ISSUE_TEMPLATE/feature_request.md"
+ },
+ {
+ "path": ".github/ISSUE_TEMPLATE/support_request.md"
+ },
+ {
+ "path": ".github/PULL_REQUEST_TEMPLATE.md"
+ },
+ {
+ "path": ".github/release-please.yml"
+ },
+ {
+ "path": ".gitignore"
+ },
+ {
+ "path": ".kokoro/build.bat"
+ },
+ {
+ "path": ".kokoro/build.sh"
+ },
+ {
+ "path": ".kokoro/coerce_logs.sh"
+ },
+ {
+ "path": ".kokoro/common.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/common.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/dependencies.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/integration.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/java11.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/java7.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/java8-osx.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/java8-win.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/java8.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/lint.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/propose_release.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/propose_release.sh"
+ },
+ {
+ "path": ".kokoro/continuous/samples.cfg"
+ },
+ {
+ "path": ".kokoro/dependencies.sh"
+ },
+ {
+ "path": ".kokoro/linkage-monitor.sh"
+ },
+ {
+ "path": ".kokoro/nightly/common.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/dependencies.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/integration.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/java11.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/java7.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/java8-osx.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/java8-win.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/java8.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/lint.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/samples.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/clirr.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/common.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/dependencies.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/integration.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/java11.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/java7.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/java8-osx.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/java8-win.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/java8.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/linkage-monitor.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/lint.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/samples.cfg"
+ },
+ {
+ "path": ".kokoro/release/bump_snapshot.cfg"
+ },
+ {
+ "path": ".kokoro/release/bump_snapshot.sh"
+ },
+ {
+ "path": ".kokoro/release/common.cfg"
+ },
+ {
+ "path": ".kokoro/release/common.sh"
+ },
+ {
+ "path": ".kokoro/release/drop.cfg"
+ },
+ {
+ "path": ".kokoro/release/drop.sh"
+ },
+ {
+ "path": ".kokoro/release/promote.cfg"
+ },
+ {
+ "path": ".kokoro/release/promote.sh"
+ },
+ {
+ "path": ".kokoro/release/publish_javadoc.cfg"
+ },
+ {
+ "path": ".kokoro/release/publish_javadoc.sh"
+ },
+ {
+ "path": ".kokoro/release/snapshot.cfg"
+ },
+ {
+ "path": ".kokoro/release/snapshot.sh"
+ },
+ {
+ "path": ".kokoro/release/stage.cfg"
+ },
+ {
+ "path": ".kokoro/release/stage.sh"
+ },
+ {
+ "path": ".kokoro/trampoline.sh"
+ },
+ {
+ "path": ".repo-metadata.json"
+ },
+ {
+ "path": "CHANGELOG.md"
+ },
+ {
+ "path": "CODE_OF_CONDUCT.md"
+ },
+ {
+ "path": "CONTRIBUTING.md"
+ },
+ {
+ "path": "DEVELOPING.md"
+ },
+ {
+ "path": "LICENSE"
+ },
+ {
+ "path": "README.md"
+ },
+ {
+ "path": "codecov.yaml"
+ },
+ {
+ "path": "google-cloud-bigtable-bom/pom.xml"
+ },
+ {
+ "path": "google-cloud-bigtable-deps-bom/README.md"
+ },
+ {
+ "path": "google-cloud-bigtable-deps-bom/pom.xml"
+ },
+ {
+ "path": "google-cloud-bigtable-emulator/README.md"
+ },
+ {
+ "path": "google-cloud-bigtable-emulator/pom.xml"
+ },
+ {
+ "path": "google-cloud-bigtable-emulator/src/main/java/com/google/cloud/bigtable/emulator/v2/BigtableEmulatorRule.java"
+ },
+ {
+ "path": "google-cloud-bigtable-emulator/src/main/java/com/google/cloud/bigtable/emulator/v2/Emulator.java"
+ },
+ {
+ "path": "google-cloud-bigtable-emulator/src/test/java/com/google/cloud/bigtable/emulator/v2/BigtableEmulatorRuleTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable-emulator/src/test/java/com/google/cloud/bigtable/emulator/v2/EmulatorTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/pom.xml"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminClient.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminSettings.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClient.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminSettings.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/internal/NameUtil.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/AppProfile.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/Cluster.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/ColumnFamily.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateAppProfileRequest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateClusterRequest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateInstanceRequest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateTableRequest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/GCRules.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/Instance.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/ModifyColumnFamiliesRequest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/PartialListClustersException.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/PartialListInstancesException.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/StorageType.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/Table.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/UpdateAppProfileRequest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/UpdateInstanceRequest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/AwaitReplicationCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/EnhancedBigtableTableAdminStub.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataClient.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataClientFactory.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataSettings.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/ByteStringComparator.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/NameUtil.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/RefreshChannel.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/RegexUtil.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/RequestContext.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/RowSetUtil.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/package-info.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/BulkMutation.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/ConditionalRowMutation.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapter.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Filters.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/KeyOffset.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/MutateRowsException.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Mutation.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/MutationApi.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Range.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/ReadModifyWriteRow.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Row.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/RowAdapter.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/RowCell.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/RowMutation.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/RowMutationEntry.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Validations.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/package-info.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableBatchingCallSettings.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableBulkReadRowsCallSettings.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/CheckAndMutateRowCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStub.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/MutateRowCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/ReadModifyWriteRowCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/SampleRowKeysCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/MeasuredMutateRowsCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/MeasuredReadRowsCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/MeasuredUnaryCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/RpcMeasureConstants.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/RpcViewConstants.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/RpcViews.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/Util.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/BulkMutateRowsUserFacingCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsBatchingDescriptor.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsRetryingCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsUserFacingCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/package-info.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/readrows/FilterMarkerRowsCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsBatchingDescriptor.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsFirstCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsResumptionStrategy.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsRetryCompletedCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsUserCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/readrows/RowMerger.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/readrows/RowMergingCallable.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/readrows/StateMachine.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/readrows/package-info.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/gaxx/package-info.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/gaxx/reframing/IncompleteStreamException.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/gaxx/reframing/Reframer.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/gaxx/reframing/ReframingResponseObserver.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/gaxx/reframing/package-info.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/gaxx/retrying/ApiResultRetryAlgorithm.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/gaxx/retrying/NonCancellableFuture.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/gaxx/tracing/WrappedTracerFactory.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminClientTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminSettingsTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClientTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminSettingsTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/HiddenGapicApiTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableInstanceAdminClientIT.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableTableAdminClientIT.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/AppProfileTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/ClusterTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/CreateAppProfileRequestTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/CreateClusterRequestTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/CreateTableRequestTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/GCRulesTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/InstanceTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/StorageTypeTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/TableAdminRequestsTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/TableTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/UpdateAppProfileRequestTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/UpdateInstanceRequestTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/stub/AwaitReplicationCallableTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BigtableDataClientFactoryTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BigtableDataClientTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/HiddenGapicApiTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/internal/ByteStringComparatorTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/internal/RefreshChannelTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/internal/RegexUtilTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/internal/RowSetUtilTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BulkReadIT.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/CheckAndMutateIT.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/DirectPathFallbackIT.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/LargeRowIT.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/MutateRowIT.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/ReadIT.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/ReadModifyWriteIT.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/RowMutationEntryBatcherIT.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/SampleRowsIT.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/BulkMutationTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/ConditionalRowMutationTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapterTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/FiltersTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/MutationTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/QueryTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/RangeTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/ReadModifyWriteRowTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/RowCellTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/RowMutationEntryTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/RowMutationTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/RowTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/BigtableBatchingCallSettingsTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/BigtableBulkReadRowsCallSettingsTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/CheckAndMutateRowCallableTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettingsTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/MutateRowCallableTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/ReadModifyWriteRowCallableTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/ResourceHeaderTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/SampleRowKeysCallableTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/metrics/MeasureMutateRowsCallableTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/metrics/MeasuredReadRowsCallableTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/metrics/MeasuredUnaryCallableTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/metrics/StatsTestUtils.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/metrics/UtilTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallableTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsBatchingDescriptorTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/readrows/FilterMarkerRowsCallableTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsBatchingDescriptorTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsFirstCallableTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsMergingAcceptanceTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsRetryTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsUserCallableTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/readrows/RowMergingCallableTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/gaxx/reframing/ReframingResponseObserverTest.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/gaxx/testing/FakeStatusCode.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/gaxx/testing/FakeStreamingApi.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/gaxx/testing/MockStreamingApi.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/gaxx/testing/package-info.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/misc_utilities/SimpleGceRawRead.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/misc_utilities/package-info.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/test_helpers/env/AbstractTestEnv.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/test_helpers/env/CloudEnv.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/test_helpers/env/EmulatorEnv.java"
+ },
+ {
+ "path": "google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/test_helpers/env/TestEnvRule.java"
+ },
+ {
+ "path": "grpc-google-cloud-bigtable-admin-v2/pom.xml"
+ },
+ {
+ "path": "grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java"
+ },
+ {
+ "path": "grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java"
+ },
+ {
+ "path": "grpc-google-cloud-bigtable-v2/pom.xml"
+ },
+ {
+ "path": "grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java"
+ },
+ {
+ "path": "java.header"
+ },
+ {
+ "path": "license-checks.xml"
+ },
+ {
+ "path": "pom.xml"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/pom.xml"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/pom.xml"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto"
+ },
+ {
+ "path": "proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto"
+ },
+ {
+ "path": "renovate.json"
+ },
+ {
+ "path": "scripts/setup-test-table.sh"
+ },
+ {
+ "path": "synth.metadata"
+ },
+ {
+ "path": "synth.py"
+ },
+ {
+ "path": "versions.txt"
+ }
]
}
\ No newline at end of file
diff --git a/versions.txt b/versions.txt
index cdeafd6fe6..34881de156 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,9 +1,9 @@
# Format:
# module:released-version:current-version
-google-cloud-bigtable:1.9.1:1.9.1
-grpc-google-cloud-bigtable-admin-v2:1.9.1:1.9.1
-grpc-google-cloud-bigtable-v2:1.9.1:1.9.1
-proto-google-cloud-bigtable-admin-v2:1.9.1:1.9.1
-proto-google-cloud-bigtable-v2:1.9.1:1.9.1
-google-cloud-bigtable-emulator:0.118.1:0.118.1
+google-cloud-bigtable:1.10.0:1.10.0
+grpc-google-cloud-bigtable-admin-v2:1.10.0:1.10.0
+grpc-google-cloud-bigtable-v2:1.10.0:1.10.0
+proto-google-cloud-bigtable-admin-v2:1.10.0:1.10.0
+proto-google-cloud-bigtable-v2:1.10.0:1.10.0
+google-cloud-bigtable-emulator:0.119.0:0.119.0