From d6275a7877d98f5794ec7d400c10b2dce89167f0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 13 Jan 2020 10:04:54 -0800 Subject: [PATCH] docs: synth updates to javadoc and kokoro build configs --- .github/release-please.yml | 1 + .kokoro/build.sh | 29 +- .kokoro/continuous/samples.cfg | 31 ++ .kokoro/dependencies.sh | 6 +- .kokoro/nightly/samples.cfg | 31 ++ .kokoro/presubmit/samples.cfg | 31 ++ .../v2/BaseBigtableTableAdminClient.java | 12 +- .../BaseBigtableInstanceAdminClientTest.java | 3 +- .../v2/BaseBigtableTableAdminClientTest.java | 3 +- .../admin/v2/BigtableTableAdminGrpc.java | 8 +- .../google/bigtable/admin/v2/AppProfile.java | 126 ++++- .../bigtable/admin/v2/AppProfileName.java | 2 +- .../admin/v2/AppProfileOrBuilder.java | 20 + .../admin/v2/BigtableInstanceAdminProto.java | 34 +- .../admin/v2/BigtableTableAdminProto.java | 34 +- .../admin/v2/CheckConsistencyRequest.java | 39 +- .../v2/CheckConsistencyRequestOrBuilder.java | 8 + .../admin/v2/CheckConsistencyResponse.java | 16 +- .../v2/CheckConsistencyResponseOrBuilder.java | 2 + .../com/google/bigtable/admin/v2/Cluster.java | 90 +++- .../google/bigtable/admin/v2/ClusterName.java | 2 +- .../bigtable/admin/v2/ClusterOrBuilder.java | 18 + .../bigtable/admin/v2/ColumnFamily.java | 15 +- .../admin/v2/ColumnFamilyOrBuilder.java | 4 + .../google/bigtable/admin/v2/CommonProto.java | 22 +- .../admin/v2/CreateAppProfileRequest.java | 56 +- .../v2/CreateAppProfileRequestOrBuilder.java | 14 + .../admin/v2/CreateClusterMetadata.java | 31 +- .../v2/CreateClusterMetadataOrBuilder.java | 12 + .../admin/v2/CreateClusterRequest.java | 47 +- .../v2/CreateClusterRequestOrBuilder.java | 12 + .../admin/v2/CreateInstanceMetadata.java | 31 +- .../v2/CreateInstanceMetadataOrBuilder.java | 12 + .../admin/v2/CreateInstanceRequest.java | 53 +- .../v2/CreateInstanceRequestOrBuilder.java | 12 + .../v2/CreateTableFromSnapshotMetadata.java | 31 +- ...ateTableFromSnapshotMetadataOrBuilder.java | 12 + .../v2/CreateTableFromSnapshotRequest.java | 55 +- ...eateTableFromSnapshotRequestOrBuilder.java | 12 + .../bigtable/admin/v2/CreateTableRequest.java | 91 +++- .../admin/v2/CreateTableRequestOrBuilder.java | 12 + .../admin/v2/DeleteAppProfileRequest.java | 32 +- .../v2/DeleteAppProfileRequestOrBuilder.java | 6 + .../admin/v2/DeleteClusterRequest.java | 23 +- .../v2/DeleteClusterRequestOrBuilder.java | 4 + .../admin/v2/DeleteInstanceRequest.java | 23 +- .../v2/DeleteInstanceRequestOrBuilder.java | 4 + .../admin/v2/DeleteSnapshotRequest.java | 23 +- .../v2/DeleteSnapshotRequestOrBuilder.java | 4 + .../bigtable/admin/v2/DeleteTableRequest.java | 23 +- .../admin/v2/DeleteTableRequestOrBuilder.java | 4 + .../admin/v2/DropRowRangeRequest.java | 52 +- .../v2/DropRowRangeRequestOrBuilder.java | 8 + .../com/google/bigtable/admin/v2/GcRule.java | 63 ++- .../bigtable/admin/v2/GcRuleOrBuilder.java | 14 + .../v2/GenerateConsistencyTokenRequest.java | 23 +- ...erateConsistencyTokenRequestOrBuilder.java | 4 + .../v2/GenerateConsistencyTokenResponse.java | 23 +- ...rateConsistencyTokenResponseOrBuilder.java | 4 + .../admin/v2/GetAppProfileRequest.java | 23 +- .../v2/GetAppProfileRequestOrBuilder.java | 4 + .../bigtable/admin/v2/GetClusterRequest.java | 23 +- .../admin/v2/GetClusterRequestOrBuilder.java | 4 + .../bigtable/admin/v2/GetInstanceRequest.java | 23 +- .../admin/v2/GetInstanceRequestOrBuilder.java | 4 + .../bigtable/admin/v2/GetSnapshotRequest.java | 23 +- .../admin/v2/GetSnapshotRequestOrBuilder.java | 4 + .../bigtable/admin/v2/GetTableRequest.java | 39 +- .../admin/v2/GetTableRequestOrBuilder.java | 8 + .../google/bigtable/admin/v2/Instance.java | 97 +++- .../bigtable/admin/v2/InstanceName.java | 2 +- .../bigtable/admin/v2/InstanceOrBuilder.java | 16 + .../bigtable/admin/v2/InstanceProto.java | 22 +- .../admin/v2/ListAppProfilesRequest.java | 48 +- .../v2/ListAppProfilesRequestOrBuilder.java | 10 + .../admin/v2/ListAppProfilesResponse.java | 80 ++- .../v2/ListAppProfilesResponseOrBuilder.java | 14 + .../admin/v2/ListClustersRequest.java | 39 +- .../v2/ListClustersRequestOrBuilder.java | 8 + .../admin/v2/ListClustersResponse.java | 60 ++- .../v2/ListClustersResponseOrBuilder.java | 14 + .../admin/v2/ListInstancesRequest.java | 39 +- .../v2/ListInstancesRequestOrBuilder.java | 8 + .../admin/v2/ListInstancesResponse.java | 60 ++- .../v2/ListInstancesResponseOrBuilder.java | 14 + .../admin/v2/ListSnapshotsRequest.java | 48 +- .../v2/ListSnapshotsRequestOrBuilder.java | 10 + .../admin/v2/ListSnapshotsResponse.java | 25 +- .../v2/ListSnapshotsResponseOrBuilder.java | 4 + .../bigtable/admin/v2/ListTablesRequest.java | 64 ++- .../admin/v2/ListTablesRequestOrBuilder.java | 14 + .../bigtable/admin/v2/ListTablesResponse.java | 25 +- .../admin/v2/ListTablesResponseOrBuilder.java | 4 + .../bigtable/admin/v2/LocationName.java | 2 +- .../admin/v2/ModifyColumnFamiliesRequest.java | 122 ++++- .../ModifyColumnFamiliesRequestOrBuilder.java | 4 + .../v2/PartialUpdateInstanceRequest.java | 23 +- ...PartialUpdateInstanceRequestOrBuilder.java | 8 + .../google/bigtable/admin/v2/ProjectName.java | 2 +- .../google/bigtable/admin/v2/Snapshot.java | 98 +++- .../bigtable/admin/v2/SnapshotName.java | 2 +- .../bigtable/admin/v2/SnapshotOrBuilder.java | 26 + .../admin/v2/SnapshotTableMetadata.java | 31 +- .../v2/SnapshotTableMetadataOrBuilder.java | 12 + .../admin/v2/SnapshotTableRequest.java | 79 ++- .../v2/SnapshotTableRequestOrBuilder.java | 20 + .../google/bigtable/admin/v2/StorageType.java | 10 +- .../com/google/bigtable/admin/v2/Table.java | 106 +++- .../google/bigtable/admin/v2/TableName.java | 2 +- .../bigtable/admin/v2/TableOrBuilder.java | 8 + .../google/bigtable/admin/v2/TableProto.java | 24 +- .../admin/v2/UpdateAppProfileMetadata.java | 6 + .../admin/v2/UpdateAppProfileRequest.java | 32 +- .../v2/UpdateAppProfileRequestOrBuilder.java | 10 + .../admin/v2/UpdateClusterMetadata.java | 31 +- .../v2/UpdateClusterMetadataOrBuilder.java | 12 + .../admin/v2/UpdateInstanceMetadata.java | 31 +- .../v2/UpdateInstanceMetadataOrBuilder.java | 12 + .../admin/v2/bigtable_table_admin.proto | 2 +- .../com/google/bigtable/v2/BigtableProto.java | 222 ++++---- .../java/com/google/bigtable/v2/Cell.java | 82 ++- .../com/google/bigtable/v2/CellOrBuilder.java | 14 + .../bigtable/v2/CheckAndMutateRowRequest.java | 164 ++++-- .../v2/CheckAndMutateRowRequestOrBuilder.java | 30 +- .../v2/CheckAndMutateRowResponse.java | 16 +- .../CheckAndMutateRowResponseOrBuilder.java | 2 + .../java/com/google/bigtable/v2/Column.java | 42 +- .../google/bigtable/v2/ColumnOrBuilder.java | 2 + .../com/google/bigtable/v2/ColumnRange.java | 81 ++- .../bigtable/v2/ColumnRangeOrBuilder.java | 12 + .../com/google/bigtable/v2/DataProto.java | 13 +- .../java/com/google/bigtable/v2/Family.java | 49 +- .../google/bigtable/v2/FamilyOrBuilder.java | 4 + .../google/bigtable/v2/MutateRowRequest.java | 270 +++++++--- .../v2/MutateRowRequestOrBuilder.java | 56 +- .../google/bigtable/v2/MutateRowResponse.java | 6 + .../google/bigtable/v2/MutateRowsRequest.java | 477 ++++++++++++------ .../v2/MutateRowsRequestOrBuilder.java | 50 +- .../bigtable/v2/MutateRowsResponse.java | 56 +- .../java/com/google/bigtable/v2/Mutation.java | 193 ++++++- .../google/bigtable/v2/MutationOrBuilder.java | 16 + .../v2/ReadModifyWriteRowRequest.java | 270 +++++++--- .../ReadModifyWriteRowRequestOrBuilder.java | 56 +- .../v2/ReadModifyWriteRowResponse.java | 15 +- .../ReadModifyWriteRowResponseOrBuilder.java | 4 + .../bigtable/v2/ReadModifyWriteRule.java | 61 ++- .../v2/ReadModifyWriteRuleOrBuilder.java | 10 + .../google/bigtable/v2/ReadRowsRequest.java | 106 +++- .../bigtable/v2/ReadRowsRequestOrBuilder.java | 30 +- .../google/bigtable/v2/ReadRowsResponse.java | 423 ++++++++++++++-- .../v2/ReadRowsResponseOrBuilder.java | 52 +- .../main/java/com/google/bigtable/v2/Row.java | 42 +- .../com/google/bigtable/v2/RowFilter.java | 252 ++++++++- .../bigtable/v2/RowFilterOrBuilder.java | 54 ++ .../com/google/bigtable/v2/RowOrBuilder.java | 2 + .../java/com/google/bigtable/v2/RowRange.java | 65 ++- .../google/bigtable/v2/RowRangeOrBuilder.java | 8 + .../java/com/google/bigtable/v2/RowSet.java | 32 ++ .../google/bigtable/v2/RowSetOrBuilder.java | 7 + .../bigtable/v2/SampleRowKeysRequest.java | 81 ++- .../v2/SampleRowKeysRequestOrBuilder.java | 20 +- .../bigtable/v2/SampleRowKeysResponse.java | 25 +- .../v2/SampleRowKeysResponseOrBuilder.java | 4 + .../com/google/bigtable/v2/TableName.java | 2 +- .../google/bigtable/v2/TimestampRange.java | 25 +- .../bigtable/v2/TimestampRangeOrBuilder.java | 4 + .../com/google/bigtable/v2/ValueRange.java | 65 ++- .../bigtable/v2/ValueRangeOrBuilder.java | 8 + .../proto/google/bigtable/v2/bigtable.proto | 129 +++-- .../main/proto/google/bigtable/v2/data.proto | 7 +- synth.metadata | 10 +- 171 files changed, 5757 insertions(+), 981 deletions(-) create mode 100644 .kokoro/continuous/samples.cfg create mode 100644 .kokoro/nightly/samples.cfg create mode 100644 .kokoro/presubmit/samples.cfg diff --git a/.github/release-please.yml b/.github/release-please.yml index 827446828..dce2c8450 100644 --- a/.github/release-please.yml +++ b/.github/release-please.yml @@ -1 +1,2 @@ releaseType: java-yoshi +bumpMinorPreMajor: true \ No newline at end of file diff --git a/.kokoro/build.sh b/.kokoro/build.sh index fa132f410..f1ae58408 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -27,6 +27,7 @@ echo ${JOB_TYPE} mvn install -B -V \ -DskipTests=true \ -Dclirr.skip=true \ + -Denforcer.skip=true \ -Dmaven.javadoc.skip=true \ -Dgcloud.download.skip=true \ -T 1C @@ -38,23 +39,41 @@ fi case ${JOB_TYPE} in test) - mvn test -B -Dclirr.skip=true + mvn test -B -Dclirr.skip=true -Denforcer.skip=true bash ${KOKORO_GFILE_DIR}/codecov.sh bash .kokoro/coerce_logs.sh ;; lint) - mvn com.coveo:fmt-maven-plugin:check + mvn \ + -Penable-samples \ + com.coveo:fmt-maven-plugin:check ;; javadoc) mvn javadoc:javadoc javadoc:test-javadoc ;; integration) - mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -Dclirr.skip=true -fae verify + mvn -B ${INTEGRATION_TEST_ARGS} \ + -Penable-integration-tests \ + -DtrimStackTrace=false \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -fae \ + verify + bash .kokoro/coerce_logs.sh + ;; +samples) + mvn -B \ + -Penable-samples \ + -DtrimStackTrace=false \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -fae \ + verify bash .kokoro/coerce_logs.sh ;; clirr) - mvn -B clirr:check + mvn -B -Denforcer.skip=true clirr:check ;; *) ;; -esac \ No newline at end of file +esac diff --git a/.kokoro/continuous/samples.cfg b/.kokoro/continuous/samples.cfg new file mode 100644 index 000000000..fa7b493d0 --- /dev/null +++ b/.kokoro/continuous/samples.cfg @@ -0,0 +1,31 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "samples" +} + +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index 5f0feed36..ee76b2357 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -23,5 +23,9 @@ echo $JOB_TYPE export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" -mvn install -DskipTests=true -B -V +# this should run maven enforcer +mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true + mvn -B dependency:analyze -DfailOnWarning=true diff --git a/.kokoro/nightly/samples.cfg b/.kokoro/nightly/samples.cfg new file mode 100644 index 000000000..9a9102490 --- /dev/null +++ b/.kokoro/nightly/samples.cfg @@ -0,0 +1,31 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "samples" +} + +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/.kokoro/presubmit/samples.cfg b/.kokoro/presubmit/samples.cfg new file mode 100644 index 000000000..fa7b493d0 --- /dev/null +++ b/.kokoro/presubmit/samples.cfg @@ -0,0 +1,31 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "samples" +} + +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java index 61dd3d7c3..c07ed45ad 100644 --- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java +++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java @@ -1154,8 +1154,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: * @@ -1178,8 +1178,8 @@ public final Policy getIamPolicy(String resource) { // 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 +1202,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: * 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 3f3a76d73..8a65995ee 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 @@ -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 69678c62e..3d554bbfb 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 @@ -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/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 a0a8f6170..723ccd67c 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/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 5bc46767d..559759228 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 @@ -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 9b5fa9c1d..ec391ae06 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 @@ -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 daad88826..78d210968 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 @@ -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 7c8c2a626..09bcc7aaf 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 @@ -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 c0c3846ac..1d1b42837 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 @@ -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 f27acaab9..e05d4ceef 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 @@ -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 5f951989f..e5067da02 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 @@ -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 2c6d69e04..4f80f998d 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 @@ -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 8c726aed1..58a5db931 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 @@ -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 59f244a14..a7ad0517a 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 @@ -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 d172839cd..4d1072542 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 @@ -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 5a30c018c..6767d77a0 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 @@ -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 164acb7e8..423367d33 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 @@ -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 d633822b9..d6dadd466 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 @@ -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 a88bb8b27..ef3acea73 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 @@ -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 179ebb1c0..2e0e2734f 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 @@ -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 5663c880c..9322cdb88 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 @@ -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 6196eb32b..68096fc0b 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 @@ -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 1b2d11af4..1d75a870c 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 @@ -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 108ac31e1..f113f630b 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 @@ -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 26b796d51..84c771711 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 @@ -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 6976ce72c..2104bc09c 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 @@ -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 13a66cfcc..93dbf2d4c 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 @@ -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 425844bd4..abf94403d 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 @@ -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 bcfdf78f9..b28e232e8 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 @@ -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 32b317efd..51b35abc3 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 @@ -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 94fbbe3b5..f15496241 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 @@ -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 6fcca387e..706592c8c 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 @@ -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 c9071abbd..ee6e0de7d 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 @@ -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 3f70c8c22..546c1f8a1 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 @@ -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 733ba19d0..792ba1526 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 @@ -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 c4350e639..a348c28ec 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 @@ -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 b8d68f000..7a03593cd 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 @@ -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 286d07694..a67d25048 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 @@ -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 91447aa69..7dd87d3d7 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 @@ -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 805f4fe23..3f0bfcb76 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 @@ -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 d9ceb8321..9a9bbaec3 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 @@ -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 e8a675a20..65d2380d1 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 @@ -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 38baa7230..26df97f59 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 @@ -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 6f326219a..cb8e1d260 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 @@ -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 9b996c492..3e040c2a5 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 @@ -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 b2e611579..726b16a0e 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 @@ -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 61df05ccc..e6d7b8ae9 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 @@ -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 4a13c479c..b9b27dda1 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 @@ -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 24a250100..71a410ca5 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 @@ -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 5e3f8b884..e24de62b0 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 @@ -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 eb6984bd6..8823de568 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 @@ -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 67efb2b4a..3af10f719 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 @@ -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 b84a87d08..d55458fde 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 @@ -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 f5c527679..2198c9452 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 @@ -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 66f08360a..1bf44140b 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 @@ -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 00940211d..a4eecabe8 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 @@ -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 923b21d6c..d7f78c79e 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 @@ -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 9d0959ce7..36054d957 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 @@ -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 7329cf3fc..79ada66b8 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 @@ -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 0507611c6..753fac6c1 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 @@ -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 66448a279..cd2628a86 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 @@ -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 2de240bed..c422257f3 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 @@ -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 aeddd99f1..39d7d70c1 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 @@ -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 75ac86a9d..c4a11532d 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 @@ -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 3fe27740f..bbc71c0cb 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 @@ -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 400f857c9..818924fc9 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 @@ -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 fbe50bf4b..5b968c4ec 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 @@ -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 d61dbeeaf..a8085fb00 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 @@ -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 4527f2595..774dd8755 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 @@ -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 1b126fb34..3a696dec3 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 @@ -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 5e62d2ab1..2201e4324 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 @@ -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 e4fcc79dc..db6bcdb9e 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 @@ -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 334a68dba..290b24246 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 @@ -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 845846db0..90e0b58ed 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 @@ -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 a234486f8..f9b1504f5 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 @@ -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 097480007..aefa0022a 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 @@ -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 9586c4434..e259705c2 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 @@ -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 bb5a54ae5..5c88d496b 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 @@ -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 f0acb8ca1..3027713e6 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 @@ -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 0b155bcd6..f9241c4a2 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 @@ -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 d5ed7d34d..701afd361 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 @@ -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 f369f4510..d1ada953b 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 @@ -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 32c268892..9e500e8eb 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 @@ -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 356379673..df68a1bc9 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 @@ -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 753c1d0cb..1637a1fda 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 @@ -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 f90b4f7a2..e0757044e 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 @@ -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 5c257e328..acffc67af 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 @@ -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 add7d6366..120ac708e 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 @@ -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 f51b622f4..2c4e2b4bb 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 @@ -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 8bae8ba11..7ad15e927 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 @@ -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 735be888a..c737110f6 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 @@ -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 bffa7001f..1c055e1c5 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 @@ -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 873da251f..718ab2f0e 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 @@ -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 985c6c3d6..c73005b31 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 @@ -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 31310a07c..da84d5c20 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 @@ -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 37a877ef7..4ebe0768b 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 @@ -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 ea8d68b1c..b281beb70 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 @@ -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 eaa96b4db..ce9f2a43c 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 @@ -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 e5dc4a256..86cb6f8c3 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 @@ -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 720f50917..41e8430bf 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 @@ -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 a136c0014..a32769bff 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 @@ -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 d783b4df9..f3b5949ba 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 @@ -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 2bc683b96..7a5f8def0 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 @@ -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 bd66bad1c..81ae3701b 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 @@ -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 589dace8c..88fbaa367 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 @@ -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 db50fd4b2..16ecc2e19 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 @@ -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/UpdateAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java index 11eb3d091..80a99bdee 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 @@ -39,6 +39,12 @@ private UpdateAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder * * .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 0713d247b..275aec8fd 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 @@ -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 7ef0ba73f..d146d9efa 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 @@ -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 33492e453..f9bb5cc1d 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 @@ -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 540cb3861..eb27cab48 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 @@ -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 377f90d1b..fddcc04a1 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 @@ -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 a3e2e7cca..812022295 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/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 9268c0aaa..580d0e395 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 @@ -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 770725e45..8dfd6c2a7 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 @@ -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 a65b93a89..7955e201a 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 @@ -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 baf3b9d86..7d2b1d156 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 @@ -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 6e61c7429..c80a22e37 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java @@ -27,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 1f3eb5a56..e6a3a6386 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 @@ -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 da01ada9e..88ebf89f9 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 @@ -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 87f3f9543..0dae25818 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 @@ -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 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 d52f42c80..32754570d 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 @@ -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 d8b94bc06..cbd3a6575 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 @@ -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 7d866b58f..0baaf3b66 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 @@ -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 0dd84c61f..65b21b249 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 @@ -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 17b558300..b3f4ef283 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 @@ -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 bd4954dd0..66004929e 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 @@ -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 5e53874ee..f8501d98b 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 @@ -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 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 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 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 4c9125d71..d458c71c0 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java @@ -27,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 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 bc3fc147e..ae94d94a2 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 @@ -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/MutateRowsRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java index 2cb1f029c..7e722c101 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 @@ -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 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 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 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 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 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 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 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 a1abc7aa0..aaadf7e9f 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java @@ -27,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 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 b8d7b8bf2..9a335aa70 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 @@ -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/Mutation.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java index 11fe49bc1..4791fd9f0 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 @@ -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 9d18ae648..4ff38b8ee 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 @@ -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 3f57c27f6..ca072af0c 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 @@ -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 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 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 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 de4c0f059..694e05398 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java @@ -27,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 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 65f2102f8..290e4945e 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 @@ -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 185a70b4d..0d9620731 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 @@ -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 a7cb61400..f1c6436ec 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 @@ -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 05eeb1dd6..503dbea95 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 @@ -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 b1f672387..e369a6747 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 @@ -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 22b769454..4e8e83a88 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 @@ -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 e9adf8b82..a491fec9b 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 @@ -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 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 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 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 dc6205e3f..522b5a54e 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 @@ -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 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 06a798db1..b3549e444 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 @@ -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 060ef005a..d4ba1c648 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 @@ -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 dc77ecb95..cfc29e4b2 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 @@ -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 291d17b03..77742c33f 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 @@ -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 370c08cf2..100fc7b2e 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 @@ -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 c4d773803..2c5cec84f 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 @@ -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 b36ee49c6..3283abc10 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 @@ -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 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 012b79a51..a39c838b5 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 @@ -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 3f51474cc..a695fe44b 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 @@ -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 1a339b22c..6a7eab96b 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 @@ -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 3e76ffb65..4946e094a 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 @@ -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 c59a05345..bbc590629 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 @@ -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 cb4051b1d..87b0dd332 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 @@ -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 37f7cf1f6..83a8141ce 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 @@ -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 06ccd0ad0..3caa5d1e7 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 @@ -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 4d193d5b2..511f8efef 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 @@ -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 30241195f..db8cdb027 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 @@ -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 0ab763ba6..c54225ed3 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 d0aab0b63..8fd0c15cb 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/synth.metadata b/synth.metadata index 3b7fe802c..a9eda9efb 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-10-26T07:53:02.643440Z", + "updateTime": "2020-01-11T08:40:05.723003Z", "sources": [ { "generator": { "name": "artman", - "version": "0.40.3", - "dockerImage": "googleapis/artman@sha256:c805f50525f5f557886c94ab76f56eaa09cb1da58c3ee95111fd34259376621a" + "version": "0.43.0", + "dockerImage": "googleapis/artman@sha256:264654a37596a44b0668b8ce6ac41082d713f6ee150b3fc6425fa78cc64e4f20" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "d27a44798506d28e8e6d874bd128da43f45f74c4", - "internalRef": "276716410" + "sha": "b08714b378e8e5b0c4ecdde73f92c36d6303b4b6", + "internalRef": "289189004" } }, {